FROM CACHE - en_header

checking for inventory quantity in mini cart page

7 1 0

Hi, I am developing a shopify theme, i have created mini cart page as shown in this image, my website is:


I am using vue.js for controling this mini cart page data, i have called 

axios.get('/cart.js') for populating it with data, that call gives me cart object with all items on it, but there is no 
inventory_quantity property there. User can change quantity on mini cart page, but  i can't check if the product quantity on mini cart page gets bigger then it's inventory_quantity. How can i do that. Any help is appreciated.


Accepted Solution (1)
Reply 1 (1)