Output the products SKU code

To output the products SKU code on the product page, find the product.liquid file within the Sections folder and copy paste the below code in the area you need.

{% assign current_variant = product.selected_or_first_available_variant %}

<span class="variant-sku">{{ current_variant.sku }}</span>

Leave a Reply

Your email address will not be published. Required fields are marked *

Get In Touch

Have a question? or perhaps spotted a problem?
Maybe you have something you would like to add. Drop us a line anytime!