Re: Limit product order quantity

Limit product order quantity

Pair_of_Squares
Excursionist
12 0 4

Hi, I'm relatively new to using Shopify, I've looked through a lot of previous community discussions for answers and I'm surprised that the basic issue I have, has been asked about so many times without a solution from Shopify. I can't find out how to limit the quantity of one product that a customer can add to cart per transaction, without buying another app. Before signing up with Shopify, it did not disclose anywhere that many aspects of building your website required additional paid apps to do basic things that you assumed were included in the cost of Shopify. I've seen many posts with examples of code, but I'm not familiar with coding at all, and most solutions don't explain exactly where to add them. Also many posts date back to 2020, the examples I've tried don't seem to work any more? Can anyone give an update on this basic functionality? Is there a up to date working code that will solve this? I'm using the Dawn theme. No suggestions of paid app subscriptions please! Thanks for any input

Replies 8 (8)

gr_trading
Shopify Partner
1935 146 202

Hi @Pair_of_Squares ,

 

your requirement can be achieved with custom code in the theme.

 

Please refer to the below link to see it in action 

 

https://youtu.be/kb63Qz48jr4?si=iui9AinYbxAh2EiP

 

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
Pair_of_Squares
Excursionist
12 0 4

 

Your video shows a more comlex issue than mine, involving stock from two different factory locations. I just want a simple solution to set a maxium order limit for one product.

gr_trading
Shopify Partner
1935 146 202

Hi @Pair_of_Squares ,

 

If you want to implement simple amount limit please refer my previous answer to implement the same.

 

https://community.shopify.com/c/shopify-design/setting-a-minimum-purchase-price/m-p/2259141/highligh...

 

Hope this will help...

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
Pair_of_Squares
Excursionist
12 0 4

This solution is still not applicable to my requirement, your code is for a minimum order requirement of any products. I want to limit (maximum of 5) of just one product

gr_trading
Shopify Partner
1935 146 202

Your requirement needs more specific code, You should hire someone to implement the same. Let me know if we can help.

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
Pair_of_Squares
Excursionist
12 0 4

I will wait to see if anyone else can comment on my post with a solution, thanks

Brooke_A
Tourist
4 0 1

I'd like to see this as well. We want to offer our customers a one time sample of our product, which feels like a very basic option. I don't want to have to buy an App, which means sharing all our customers private data, for this one function. 

gr_trading
Shopify Partner
1935 146 202

We can configure this code in the theme, let me know if interested?

 

 

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee