Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
Is there an easy way to show either the SKU or Barcode (preferrable barcode) on the collections page for each product?
Here is an example:
I changed the vendor to "MAP" pricing for our website but I was hoping the barcode to show right below the vendor slot. However, as long as it shows somewhere next to each product is what I need.
This is the barcode (or SKU) located on the product "page" where you insert the pictures, prices, etc.
Thank you in advance!
Solved! Go to the solution
This is an accepted solution.
Hi @ironquad
1: Online store > themes > Actions > Edit code > Snippets > product-grid-item.liquid
2: Insert it after your vendor code
{% if product.selected_or_first_available_variant.barcode %}
<p>{{ product.selected_or_first_available_variant.barcode }}</p>
{% endif %}
This is an accepted solution.
Hi @ironquad
1: Online store > themes > Actions > Edit code > Snippets > product-grid-item.liquid
2: Insert it after your vendor code
{% if product.selected_or_first_available_variant.barcode %}
<p>{{ product.selected_or_first_available_variant.barcode }}</p>
{% endif %}
Thank you so much!!!!
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025