Hi, does anyone know how to add the sku to the product page on Expanse 2.0?
This is BSS Commerce - Full-service eCommerce Agency. We’d love to suggest you this solution:
-
From your Shopify admin, go to Online Store > Themes => Customize => Edit code.
-
Determine the product file liquid, often is
product.liquidorproduct-template.liquid, or main-product.liquid. -
Find the following Liquid tag:
{{ product.title }}
This is the code that renders your product titles on the product page. On a new line below the line of code that includes {{ product.title }}, paste the following code:
{% assign current_variant = product.selected_or_first_available_variant %}
{{ current_variant.sku }}
Click Save.
Hope this can help you.
Kind regards,