How to display product barcode (NOT SKU) on front end (Dawn 2.0 theme)?

ace51
Tourist
5 0 1

I need a way to show the product barcode on the front end product pages of my website. I do not want to display my SKU numbers. 

 

Does anyone have any experience with this and where/how to edit the code?

 

 

Reply 1 (1)

ace51
Tourist
5 0 1

Here it is- just go to your normal theme editor (not code). 

 

go to product --> default product--> in the template section hit add block, select </> custom liquid. Enter the code {{ product.variants[0].barcode }}