hydrogen icon indicating copy to clipboard operation
hydrogen copied to clipboard

Cart - Product quantities

Open joevingracien opened this issue 2 years ago • 1 comments

What is the location of your example repository?

demo store

Which package or tool is having this issue?

Hydrogen

What version of that package or tool are you using?

demostore 2.1.3

What version of Remix are you using?

demostore 2.1.3

Steps to Reproduce

https://github.com/Shopify/hydrogen/assets/104806938/95adbac0-0cac-476d-826a-3c6b796d6fb2

Expected Behavior

Quantity stays the same

Actual Behavior

Quantity is bugging

joevingracien avatar Sep 28 '23 20:09 joevingracien

I'm assuming there might not be enough stock, so it goes back to the max stock value. The number it goes back to is different from a product to another.

joevingracien avatar Sep 28 '23 21:09 joevingracien

I think this is resolved with the new useOptimisticCart()

blittle avatar Jun 21 '24 20:06 blittle