How can I remove unwanted code from my product page?

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

Thank you in advance for your time and help!

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


You might has miss closing quote(").

![hari1_prasad_0-1665594562889.png|1366x768](upload://5XxWCrE37lluwdDS5wT3k3mxNpS.png)
1 Like

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