Solved

Product page shows a part of a code.

Klodi
New Member
6 0 0

Hello there,

 

Please I am having a problem with the product page. When I check randomly 1 product on top of the image corner there is displayed a code as below:

 

data-section="template--16549962744034__main" >

 

I am trying to find a way and to remove it from there in order to not be shown and at the same time not affect page functionality but until now I couldn't find a solution.

 

Please can you check the link below and let me know if there is any solution about this problem.

https://brandiseshop.com/products/men-sweater-tommy-hilfiger?variant=43499982979298

 

Klodi_0-1665267208877.png

 

Thank you in advance for your time and help!

 

 

 

Accepted Solution (1)

gr_trading
Shopify Partner
1684 141 174

This is an accepted solution.

Hi @Klodi ,

 

To fix this issue please open file main-product.liquid in theme files and check there must be closing tag issue at line number 1.

 

line should be like below

<section id="MainProduct-{{ section.id }}" class="page-width section-{{ section.id }}-padding" data-section="{{ section.id }}">

 

You might has miss closing quote(").

hari1_prasad_0-1665594562889.png

 

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee

View solution in original post

Replies 2 (2)

gr_trading
Shopify Partner
1684 141 174

This is an accepted solution.

Hi @Klodi ,

 

To fix this issue please open file main-product.liquid in theme files and check there must be closing tag issue at line number 1.

 

line should be like below

<section id="MainProduct-{{ section.id }}" class="page-width section-{{ section.id }}-padding" data-section="{{ section.id }}">

 

You might has miss closing quote(").

hari1_prasad_0-1665594562889.png

 

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
Klodi
New Member
6 0 0

Hello @gr_trading 

 

Thank you very much for your help.

It worked and now that part of the code is gone from my page.

Very appreciated your support!

 

Best Regards,

Klodi