No content to show
User Activity
You'd have to play around with it but it might have something to do with the following: if (variantInventoryQuantity[id]) {
hide.style.display = 'block'
selector.innerHTML = variantInventoryQuantity[id];
}
else
hide.style.disp...
Yup; you can do it with any of the variant attributes shown in https://shopify.dev/api/liquid/objects/variant So just duplicate everything for eg. barcode, and change the word barcode to inventory_quantity. for the noobs: <div class="hideAll">
<p...
Well this needs bumping. Spent weeks trying to figure out how to add variant SKUs and Barcodes to product pages and this solves it. Added more detail below, to also include barcodes, basically still follows Alan15's post from https://community.shopi...