Show Barcode Number on product page with Testament theme

Hi, thank you all for your help. I need to show the barcode on the product page next to the SKU. I have found posts online, but they are only for the DAWN theme. I am using the Testament theme.

Thanks!

Hi,

First create a Barcode Metafield

Then you need to add barcode with SKU code ,

Example


  

SKU: {{ product.sku }}

  {% if product.metafields.custom.barcode %}
    

Barcode: {{ product.metafields.custom.barcode }}

  {% endif %}

Great, thank you so much. Can you please go a little more in depth on how to do what you explained? Beginner, thanks!