Re: Limit number of each item in cart

Solved

How can I limit the quantity of each item in a cart?

ddenby
Excursionist
19 1 2

I am selling one-of-a-kind, original paintings on this website, https://newdawnart.com/. When I go to checkout, it allows me to select more than one of each item. I need all items to be set to "1" and not allow someone to put in more than that in their cart. I have "1" listed as quantity on hand but that is not preventing this situation. Can someone tell me what to turn on to limit how many of each can be added to cart?

Accepted Solution (1)

Small_Task_Help
Shopify Partner
489 15 34

This is an accepted solution.

Hi,

 

have you tried Deny orders at Inventory policy ?

Click here to Contact and Get Shopify Store Help
We are Shopify Experts   from Ecommerce Small Task Company.

View solution in original post

Replies 5 (5)

Angel95
Pathfinder
101 6 8

Hello,

The first thing that comes to mind for your requirements is the Order Limits (MinMaxify) app.

 

I know that this will allow you to set a maximum (as well as minimum) product quantity.

 

From your post here, it sounds like you also want to restrict which products a customer can purchase as well as limiting the quantity of that item to one per customer?

 

I'm not 100% certain, but it does sound from the app store page description that this app should also be able to limit:

 

* Number of items for a specific product
* Number of items within a group of products

If you still face any issues then please let me know 

banned
magecomp
Shopify Partner
272 21 32

Hello @ddenby 

You can try our app 

https://apps.shopify.com/purchase-limit?

Let me know how it goes

Helping voluntarily. Please like and accept the solution if it helps. Thanks!
Our Bestseller Shopify Apps    |      Mobile App Builder by MageComp    |      Limit Qty Purchase

Need a developer?  Just visit MageComp website

Guleria
Shopify Partner
3147 616 882

Hello @ddenby ,

 

You need to apply a custom solution for it. I don't think there is a default option available in your theme to manage it.
If you can code you can get idea from here:
1) On every click of atc check whether this product is in cart or not, If yes display a message to customer else add product to cart.
2) Hide the quantity selector from the product and cart page.  

Thanks

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me.
- Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder

Small_Task_Help
Shopify Partner
489 15 34

This is an accepted solution.

Hi,

 

have you tried Deny orders at Inventory policy ?

Click here to Contact and Get Shopify Store Help
We are Shopify Experts   from Ecommerce Small Task Company.

basilkhan
Shopify Partner
49 0 5

Hey @ddenby ,

If you want to make sure customers can only add one of each of your paintings to their cart, you can use the DC Order Limits app. Here’s how:

  1. Create a New Rule: Go to the DC Order Limits section in your Shopify admin and create a new rule.
  2. Set Maximum Quantity: Set the "Maximum Quantity" to 1. This makes sure they can only add one of each item.
  3. Grouping Options: Choose "Product Variant" so the limit applies to each unique painting.

basilkhan_0-1718502061797.png

 

This way, no one can add more than one of each painting to their cart. Let me know if this video demo is helpful.

Co-founder and Product Developer at Freshly Commerce ️ | Building Simple Bundles, Simple Discounts, and Freshly Inventory