I'm helping a friend with his Shopify page. The site has a strange h-tag structure. For example, the add to cart pop-up shows with an h2 tag 'Just added to your cart', which is the very first h-tag in the source code, followed by an empty h3 tag, and then the logos are set as h tags. Here's the h-tag structure:

I thought this was a problem with his site, but when I checked the debut demo site, it has the same problem.

We manually edited the source code, removing the h tags, but then the shop started to act strangely, so we had to revert back to the old setup. This h-tag structure isn't great for SEO and I'd love to correct it. Is there a way to correct the problem without breaking the page?
I'm helping a friend with his Shopify page. The site has a strange h-tag structure. For example, the add to cart pop-up shows with an h2 tag 'Just added to your cart', which is the very first h-tag in the source code, followed by an empty h3 tag, and then the logos are set as h tags. Here's the h-tag structure:

I thought this was a problem with his site, but when I checked the debut demo site, it has the same problem.

We manually edited the source code, removing the h tags, but then the shop started to act strangely, so we had to revert back to the old setup. This h-tag structure isn't great for SEO and I'd love to correct it. Is there a way to correct the problem without breaking the page?