How to rename SKU-Title from "SKU" to a different word

Hi guys

Does anyone know how I can adapt this code section (see below) on the product page so that the SKU-title says “Artikelnummer” instead of “SKU”?

Example page: https://highpowered.ch/collections/bodyweight-gymnastics/products/bear-komplex-black-diamond-gymnastics-grips

Thanks so much!

Best regards
Tobias

{% if settings.product_show_sku == true %}
        {% unless onboarding %}
          
            {{ 'product.general.sku_html' | t: sku: sku | strip_newlines }}
          

        {% endunless %}
      {% endif %}
    

This line you do something like this ,

{{ 'product.general.sku_html' | t: sku: sku | strip_newlines | replace: 'SKU', 'chicken' }}
1 Like

That’s perfect, thanks so much!

no problem