How to remove SKU a...
 
Notifications
Clear all

[Solved] How to remove SKU and ISBN from Shopify product page?

6 Posts
3 Users
3 Reactions
3,414 Views
Alan Kane
(@alankane)
Eminent Member
Joined: 5 years ago
Posts: 0
Topic starter  

Hi,

I just installed the Plak V1.5 but I owuld like to remove the SKU and ISBN from the product page, could you tell me how to get rid of it please ?

Thanks
Alan

Owner of Iheadrest


   
Quote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 

Hi @alankane

Katrine here from Plak theme

In order to remove SKU & ISBN from Plak theme product page, please follow these steps :

  • From your Shopify dashboard, click Online store => Actions => Edit code
  • Open the file product-template.liquid
  • Find and remove the below code
  {% if current_variant.sku and current_variant.sku != '' %}
{{ section.settings.sku-txt }}
{{ current_variant.sku }}
{% endif %}
{% if current_variant.barcode and current_variant.barcode != '' %}
{{ section.settings.barcode-txt }}
{{ current_variant.barcode }}
{% endif %}
  • Then find and remove the below code too
 {
"type": "text",
"id": "sku-txt",
"label": {
"de": "SKU",
"en": "SKU",
"es": "SKU",
"fr": "SKU"
},
"default": "SKU:"
},
{
"type": "text",
"id": "barcode-txt",
"label": {
"de": "ISBN",
"en": "ISBN",
"es": "ISBN",
"fr": "ISBN"
},
"default": "ISBN:"
},

 

  • Click Save
  • Now open the file theme.scss.liquid
  • Find and remove the below code

 

.variant-sku{
font-weight : bold;
}
  • Click Save

 

Katrine| Plak theme support
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as a Solved Solution

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
Alan Kane reacted
ReplyQuote
Alan Kane
(@alankane)
Eminent Member
Joined: 5 years ago
Posts: 0
Topic starter  

Perfect ! Thank you so much Katrine

Owner of Iheadrest


   
plaktheme reacted
ReplyQuote
(@shaaba1)
Active Member
Joined: 4 years ago
Posts: 16
 

@plaktheme

Hello,

I currently have Plak Theme V1.8
I tried the instructions above to remove the SKU and ISBN numbers from my product pages.

On: file product-template.liquid
I was able to find the second code and delete it but NOT the first one. It's not there.

On: file theme.css.liquid 
I was NOT able to find the third code.
However, I was able to find it in a different file called theme.scss.liquid
The file has an S before the CSS.
Not sure if this is the correct one but i deleted it.

The SKU numbers are still showing.

Did I do something wrong?
How can I fix this and finish removing the SKU and ISBN numbers?

Thank you,
shaaba1 

This post was modified 4 years ago by Michael Gonzalez

   
ReplyQuote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 

Hi @shaaba1 here is the update for Plak 1.8 to remove the SKU and ISBN code number on product page :

 

  • Click Online store > Actions > Edit code
  • Open the file prod-template1.liquid ( you can remove the below code from prod-template2.liquid just if you are using the other product template)
  • Remove the following code
 {% if current_variant.sku and current_variant.sku != '' %}
<span class="variant-sku">{{ section.settings.sku-txt }}</span>
<span class="">{{ current_variant.sku }}</span>
{% endif %}
{% if current_variant.barcode and current_variant.barcode != '' %}
<span class="variant-sku">{{ section.settings.barcode-txt }}</span>
<span class="">{{ current_variant.barcode }}</span>
{% endif %}
  • Click Save

 

  • Now open the the file product-template.liquid
  • Remove the following code
 {
"type": "text",
"id": "sku-txt",
"label": {
"de": "SKU",
"en": "SKU",
"es": "SKU",
"fr": "SKU"
},
"default": "SKU:"
},
{
"type": "text",
"id": "barcode-txt",
"label": {
"de": "ISBN",
"en": "ISBN",
"es": "ISBN",
"fr": "ISBN"
},
"default": "ISBN:"
},
  • Click Save

  • Now open the file theme.scss.liquid ( I edited the above answer as I forgot the S 🙂 )
  • Remove the below code
.variant-sku{
font-weight : bold;
}
  • Click Save

 

This is all : I hope this may help you, don't hesitate to post again if you have any other modification to do

Kind regards,
Katrine

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
(@shaaba1)
Active Member
Joined: 4 years ago
Posts: 16
 

Thank you Katrine.

It worked beautifully.

and yeah those S's are pretty sneaky 😀 .


   
plaktheme reacted
ReplyQuote
Share:

Welcome to the Shopify Forum Community provided by Plak ThemeLLC, a place where you can discuss about eCommerce and Shopify, solve technical issues, get help with Shopify Design, Apps integration, Marketing, Facebooks ad, Google ads and more.

Before posting, we invite you to read and follow the forum rules | We also support any questions related to Free Shopify themes :Dawn, Express, Minimal, Brooklyn, Narrative, Supply, Debut, Venture, Boundless and Simple