Yith Badges are not displaying in Woodmart Theme Shop Page
-
The image below shows the badges not being displayed

The image below shows the badges being displayed in single product page.

How do i get to make yith display on the shop’s page.
Hello,
Thank you very much for choosing our theme and for contacting us.
We do not guarantee the compatibility of this plugin. Please contact the plugin support.
Please note our theme has badges: New, Hot you can configure them in the Theme Settings > Shop > Product labels
Best Regards
Hi Elise, thank you for your response. How could we develop a work around to achieve this, do you have any suggestions you can give because we would like to have our own custom badges which we can place on the products of the page.
The plugin support recommends that we integrate woocommerce hooks and functions attached in the images below.
Attachments:
You must be
logged in to view attached files.
Try to add the following code snippet to the functions.php file in the child theme to fix it
add_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 );
remove_action( 'woocommerce_before_shop_loop_item_title', 'woodmart_template_loop_product_thumbnail', 10 );
Regards
Hello Artem,
Thank you for your response, what are the drawbacks of adding the code into the function.php? will the changes be retained if & when we update the woodmart theme?
If you will not put it to the child theme, the changes will be overridden after the update.
The topic ‘Yith Badges are not displaying in Woodmart Theme Shop Page’ is closed to new replies.