lemonstand / lscloud-theme-meyer

An eCommerce theme built using Angular for LemonStand.
MIT License
2 stars 1 forks source link

Should not be able to add to cart when product is out of stock. #281

Closed jason-sasquatchstudio closed 6 years ago

jason-sasquatchstudio commented 6 years ago

I've split this issue out of the issue here: https://github.com/lemonstand/lscloud-theme-meyer/issues/213 It's separate from the other issue described there.

When inventory tracking is on and an item is out of stock but "hide when out of stock" is not checked and neither is "allow pre-order" attempts to add the product to the cart fail and the cart page loads and shows an empty cart. Seems like there should be some kind of warning that the item is out of stock and maybe the button for "add to cart" should be hidden/disabled in this situation.

jennbrewer commented 6 years ago

When out of stock and "hide when out of stock" is not checked, it shows:

screen shot 2017-11-23 at 3 22 28 pm