How to get out of stock status when updating cart using AJAX API /cart/change.js

New Member
3 0 0

I am creating a Shopify store using a theme. I've made customization in that according to my requirements. I want to to get out of stock status when we change products in cart using +/- icons. When we do add to cart then its showing out of stock item error but not on update.

 

In short when we call /cart/add.js then its providing out of stock error but not on /cart/change.js.

 

Any help? :)

0 Likes