Display SKU on Product Page - Sense Theme

Hello!

Has anyone had success in displaying the sku using SENSE theme?

Thank you!

April

1 Like

@april_napier

Yes, You can display the Sku by the custom code,
You can check out this link:
https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-vintage-themes/show-sku

Let me know if you need any more help.

1 Like

Correct but there is not a {product.liquid} in sections.
I have made changes with other themes but can it find where to put the code for theme Sense.
Please advise.

1 Like

@april_napier

{%- assign current_variant = product.selected_or_first_available_variant -%}
{{ current_variant.sku }}

Kindly try out this code.

if you can’t able to add this code kindly hire a developer to show the Sku.
Thank you.

1 Like

Sense is a 2.0 theme for the online store.

So you could see if the code in the tutorial will work in a custom-liquid section or block.

Remember to wrap any javascript in a html tag

Hi @april_napier ,

Please follow the steps below:

  • Step 1: Go to Customize > Default product > Add block > Custom liquid.

  • Step 2: Add code in ‘Custom liquid’:

Code:


{{ product.selected_or_first_available_variant.sku }}

Hope it helps!