How do I display SKU under product names?

Hello,

I was wondering how people get the SKU number listed under the product description.

Thank you for reading

Hello @darkthrone

It’s GemPages support team and glad to support you today.

Please use the following code:

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

Hope my solution can work and support you!

Kind & Best regards!

GemPages Support Team.

Where should i put this code?

@darkthrone

Each theme will have different code, so depending on the theme you use, put it in the appropriate place on the product page.