If available stock excedeed stop adding more to the cart how to

If available stock excedeed stop adding more to the cart how to

Gadgetopia2024
Visitor
2 0 0

Hello,

I'd like to know how to prevent adding items when the available stock is exceeded, as it currently allows adding items beyond the available stock. 
I am using refresh theme
Replies 2 (2)

PaulNewton
Shopify Partner
6756 610 1437

Hi @Gadgetopia2024 👋 Turn off "continue selling when sold out" if that's enabled

https://help.shopify.com/en/manual/products/inventory/getting-started-with-inventory/set-up-inventor... 

https://help.shopify.com/en/manual/products/inventory 

 

A theme may allow adding sold out quantities to the cart, but the shopify checkout should prevent any order from going through as long as tracking is setup properly.

 

It's an advanced theme customization to add logic to hide or change how quantity inputs behave, or carts to validate stock,  based on changing inventory.

 

If you need an advanced theme customization then contact me by my email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


Geist
Shopify Partner
77 7 8

When you add items to the cart, you have to hit shopify's cart api and they manage this. If you go to the checkout you should see a message there that there is an issue with the inventory.

- Shopify Headless Ecommerce Experts
- Site speed optimization
- Composable Commerce
Geist - Headless Shopify Ecommerce Expert