How can I successfully remove SKU from the product page?

How can I successfully remove SKU from the product page?

Greengoblin77
Visitor
1 0 0

I want to remove SKU from the product page. I tried solutions from other discussions on shopify but they are not working. 

 

Like this

1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss.liquid->paste below code in the bottom of the file

p.product-sku {
display: none!important;
}

Reply 1 (1)

rajaahmar1996
Shopify Partner
18 1 3

for this, go to theme>theme product-template. liquid > open the file>find this code {% if product.sku %}
<p>SKU: {{ product.sku }}</p>
{% endif %} and simply remove this code and save the file