Hi there,
I am using a SEO tool on my shopify store with debut themen and somehow the tool says that on many pages there is an empty h3 tag with the class “cart-popup-item__title”. I looked it up in the cart-popup.liquid and indeed this tag is empty and there are no variables in it.
Can i somehow get rid of this SEO problem with empty headings?
Thanks a lot and kind regards
Lorenzo
Hi @lorenzopohl !
If you are 100% sure that the tags are empty in the liquid code - e.g.
, then there is no reason to keep it
Regards,
Wiktor
@wwisniewski thanks for the advice. The tag is empty exactly as in your example.
Hopefully it has no deeper function.
@wwisniewski I took a closer look again, and i can definitely not delete the tag because if a user put sth in the cart, this tag will show the titel of the item in the piop up cart
Sadly i have no solution how this can be SEO-optimized then.
Hello @lorenzopohl !
What I’ve meant was if the tag is empty in the liquid code (source) not the final output 
The solution here would be to check if cart is empty and then render that tag, e.g.:
{% if cart.item_count > 0 %}
{% endif %}
Regards,
Wiktor
Thanks a lot @wwisniewski , that sounds good!