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

Tourist
7 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. 

 

0 Likes
Shopify Expert
255 8 42

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 - we make Shopify sites faster.
Analyze your site at analyze.speedboostr.com.
I also build custom apps, systems, and automated solutions.
Enjoy the adventure!
1 Like
Highlighted
Tourist
7 0 1

tx 

0 Likes