How Can I Add Live Variant Inventory to the quick order list section (Using Trade Theme)

How Can I Add Live Variant Inventory to the quick order list section (Using Trade Theme)

swts
Visitor
1 0 2

I have a quick order section on my website that lists variants available in a certain product. This is a b2b website so it is very important that ordering in bulk is very easy. The only issue with this section is that it does not display the live inventory of every variant I have online.


I have attached the most basic example of this. I have a pair of socks that come in Youth size and Adult size. The customer can see I have 34 TOTAL socks, but they do not know how much of each size I have (Example 20 Youth and 14 Adult). On top of this, it seems like it does not give any kind of error message to the customer until checkout, which means in my example, if they added 20 adult socks to their cart, they would not know we did not have enough stock until the very end of the order process.

 

Any help is appreciated

 

Sock example.png

 

Replies 3 (3)

Shadab_dev
Shopify Partner
1324 66 148

I cannot tell you about the error stuff as that is doable but a little more advanced. But showing the stock of individual variants is i would not say easy but little less advanced than the error one. Both of them do involve looking up code and adding/modifying code. 

Please reach out via mail for a convenient conversation and solution.

Thanks
Shadab Ali

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.

KennyKinetic
Visitor
1 0 0

I'm in the same scenario and need the same fixes (show variant inventory / warn the customer if selection is past available qty).

Did you guys manage to get this working with some custom code and if so is anyone able to share the solution? 🙏

Shadab_dev
Shopify Partner
1324 66 148

I was able to implement this showing quantity for each variant. We did not implement the functionality of warning the customer if selection is past quantity as that would require more effort and the guy was happy with just showing the inventory.

 

Please reach out via personal links below for a convenient conversation and collaboration.

 

Best

Shadab

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.