While improving our SEO, we noted that on all the product pages there is a H2 before H1.
That first H2 is for the text “added to the basket” (in French “Article ajouté au panier”) which is displayed when the customer just added the product to his basket. This is causing us bad SEO rating.
How could we change so that this text is not a title but a simple paragraph ?
why would I replace the h1 tag by a h2 ? In that case I would have no more h1, this is even worse in terms of SEO I think. Or did I misunderstand your solution ?
Bonjour,
Looking at the source of that notification code, it doesn’t matter where it is, so you can try to move all that is inside to the bottom of the page below your H1 tag
Also you can just change that tag from
Indeed I think your solution would work by replacing h2 with span (as suggested by @LDI too, thanks @LDI too!)
But where should I change this ? I have looked for a product.liquid but didn’t find one in the Dawn template. I found a “cart-notification-product.liquid” but it has no h2.