Personalized checkout and custom promotions with Shopify Scripts
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi Everyone,
I am using Shopify Plus and install 'Script Editor' app. Now i need to write script to restrict customers can't add more than 3 quantity of per product in One order.
I also know the 'Order Logic' app is available but i don't want this.
Example:
Product A have 10 quantities in a stock
Product B have 15 quantities in a stock.
One customer can only Buy/Add 3 quantity of Product A and 3 quantity of Product B in Shopping Cart Per Order including Variant as well if any product have variants. (Means to say only 3 variants can be added Per Product per order).
Please help to to fix this issue.
Thanks in Advanced.
Hello Muneeb1,
Diaplay only 1,2 and 3 on quantity dropdown.
So customer will not select more than that.
HI Oscprofessional,
Thanks for reply. Actually i don't have drop down and it will not apply to variants . Is there any other option available to apply this ?
Refer below link for more help:
https://github.com/carolineschnapp/limiter
https://mistershopify.com/apps/orderlogic/
I already check GitHub link but its not working in my Theme.
I am using Trubo 5.0.0 for Out of Sandbox company.
Do you have any idea to write this script in script editor ?
Did you find any solution yet? If not, you can check out the MultiVariants - Bulk Order app, which allows you to limit the product quantity order including variants. You can limit the minimum/maximum quantity per variant or total quantity in combination with multiple variants.
You can create multiple rule sets and apply different min/max quantities based on your products.
You can take a look at this demo product with the same variant quantity restrictions.
Min/Max quantity per variant and total (combination of variants)
Here's the link to the one I use and I love it!
https://apps.shopify.com/order-limits-minmaxify?search_id=f304c893-79e6-440b-877f-764877e29458&surfa...