How to fix a broken HTML in the theme's sections/main-product.liquid file?

Topic summary

A Shopify theme is displaying an HTML validation error in the sections/main-product.liquid file, indicating broken HTML with potentially missing or extra tags.

Current Status:

  • The error message appears in Shopify’s theme editor but doesn’t manifest as a visible issue on the live product pages
  • Store URL provided: www.hsjohnson.com
  • A screenshot was shared showing the error notification

Key Challenge:

  • The broken HTML isn’t producing obvious visual problems on the frontend, making it difficult to locate the specific markup issue
  • The error could involve unclosed tags, improperly nested elements, or extra closing tags within the Liquid template file

Resolution Status:

  • The issue remains unresolved with no concrete solution provided yet
  • The original poster is still seeking assistance to identify and fix the HTML syntax error
Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Hi all

I have this error showing in shopify but i’m lost in finding the error

HTML error found
Broken HTML has been detected in your theme’s sections/main-product.liquid file. Check that there are no missing or extra HTML tags present.

Please help ! :confused:

Hi @hsj_1

Please share your store URL and the screenshot of the issue

Best,

Daisy

Hi

Screenshot of issue ?

Regards

Can anyone help ? :confused:

Hi @hsj_1

I check but I can’t see the issue within the product page, please share with me the screenshot of the issue

Best,

Daisy

Hi Daisy

As in this ?

Hi

Was the screenshot ok ?

Regards

Can no one help :disappointed_face: