bigcommerce / b2b-buyer-portal

B2B Buyer Portal - BigCommerce B2B Edition
MIT License
25 stars 19 forks source link

fix: add products to cart to verify maximum quantity #101

Closed BrianJiang2021 closed 2 weeks ago

BrianJiang2021 commented 2 weeks ago

Jira: BUN-2883

What/Why?

After setting the maximum or minimum purchase quantity of the product, no corresponding prompt is given

Solution: Get the maximum or minimum number of products to buy, and then get the same products in the cart and add them to determine whether the maximum number is greater or less than the minimum number

Rollout/Rollback

undo pr

Testing

https://github.com/user-attachments/assets/20f0e878-c720-4d2f-925f-83616f3f566d

https://github.com/user-attachments/assets/fe9847b6-0d7f-47b4-8dd9-5bbc996632a9

https://github.com/user-attachments/assets/f79b39e9-c7ea-413a-8990-2febfaf1f15e