FROM CACHE - en_header

How do I limit the total quantity per product that the customer can purchase?

JosephAMichael
Tourist
11 0 15

We have very low print run items in our shop.

 

I just need a fix to edit the liquid code for the various product variations that allows us to limit it to 1 or 2 TOTAL per customer, no matter which variants/option they pick.

 

Can we limit it at the global product level instead of having to go into the individual options?

 

Can we display text that says, limit x per customer?

 

Limit Quantity, Limit Total, Limited Edition

 

I want to hard code this and don't want to mess with a monthly app with more features.

 

Can someone help me out?

Replies 5 (5)
Zworthkey
Shopify Partner
5581 642 1512

@JosephAMichael 

Welcome to the Shopify community!
Thanks for your good question.

 

Please share your site URL,
I will check out the issue and provide you a solution here.

Dbuglabpvtltd
Shopify Partner
705 75 104

Hi @JosephAMichael 

you can do this by using some liquid code and jquery code.
when customer change the value match the value with maximum one if its low or equal to the maximum one add cart button will work otherwise not working.

- Was my reply helpful? Click Like to let me know! and Mark it as an Accepted Solution

- Feel free to contact me if you need any help and and have any issue.

-Hire Me | Whatsapp | Email: | dbuglab@gmail.com | Skype : dbuglab

Shopify Partner | PSD to Shopify | Shopify templates | Shopify themes | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing | Shopify Apps Website: | dbuglab.com
JosephAMichael
Tourist
11 0 15

Can you share or screenshot me what the code should be changed to?

Dbuglabpvtltd
Shopify Partner
705 75 104

Hi @JosephAMichael 
Have to write code according to your website.
It will take 3-5 Hours.

- Was my reply helpful? Click Like to let me know! and Mark it as an Accepted Solution

- Feel free to contact me if you need any help and and have any issue.

-Hire Me | Whatsapp | Email: | dbuglab@gmail.com | Skype : dbuglab

Shopify Partner | PSD to Shopify | Shopify templates | Shopify themes | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing | Shopify Apps Website: | dbuglab.com
JosephAMichael
Tourist
11 0 15

How much in usd will it cost and what is your turnaround to complete it?

 

Can you make sure that nothing else will break or change with the coding?