Features

Remove h4 tag from mini-cart

7mo agoCompleted

Hello,
For SEO optimization it would be best to remove the h4 tag from product titles in the mini-cart... otherwise we have to do some overriding or function in the child theme, which isn't very convenient when you update the theme. Thanks !

2 comments

  1. Anonymous7mo ago

    Hello @Enjin,
    Thanks for the idea !
    We will add next filter 'etheme_woocommerce_mini_cart_product_title_tag' in next theme update so you could add next code to your child-theme/functions.php
    add_filter('etheme_woocommerce_mini_cart_product_title_tag', function() {
    return 'div';
    });
    Result -> https://prnt.sc/gfL7I_Pk5v2T

    P.S. All changes you make in child theme will not be lost or rewritten with XStore theme update, don't worry.
    Kind regards, Jack Richardson

    1. Enjin7mo ago

      Awesome new ! Thank you :)