checking for inventory quantity in mini cart page

Solved
Davit_Azizyan
Tourist
7 1 0

Hi, I am developing a shopify theme, i have created mini cart page as shown in this image, my website is: https://codeinspire-dev2.myshopify.com/cart

Безымянный.png

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.

 

0 Likes
Davit_Azizyan
Tourist
7 1 0