Code Guides > Show remaining inventory of all variants combined for product

Show remaining inventory of all variants combined for product

Here is the code to show the inventory quantity of each product on a collection or product page, instead of just showing the first available variants. Note, this guide will only show if inventory is below 4.