How to set a limit to the order quantity of a product when someone is using a single use coupon

8 0 1

Is there a way to limit the quantity of an item that can be ordered with a coupon? Otherwise I can give a single use coupon to someone and they can order my complete inventory of that item. Amazon Seller accounts have this protection feature , but cant find it on Shopify. 


Shopify Expert
403 29 77

Any of these should work:


a) Limit the quantity allowable in your theme code. You can either do this by making the quantity field a select box instead of an input field (for example choose giving quantity select options of 1 - 10).


b) Implementing some javascript to prevent adding to cart if the quantity is higher than the number you want to limit.


c) If it's just for 1 product you can duplicate that product and direct traffic to your special product, and on that product page hide the quantity selector.


d) Set manual fulfill on products with the discount, so you can block any huge orders.... or if you're autofulfilling from a 3rd party vendor, you can create a custom app to auto-cancel any orders where quantity is greater than X.


Founder of Speed Boostr (Shopify optimization and dev agency).
Creator of Order Automator (app that auto fulfills orders, adds tags, emails).
Creator of Shopify Analyzer (free performance analysis tool).
I also build custom apps and automated solutions.
Enjoy the adventure!
1 Like
8 0 1