Home Forums WoodMart support forum Yith Badges are not displaying in Woodmart Theme Shop Page

Yith Badges are not displaying in Woodmart Theme Shop Page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #112713

    Jamerson
    Participant

    The image below shows the badges not being displayed
    Theme shop page with no badges

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

    How do i get to make yith display on the shop’s page.

    #112720

    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

    #112741

    Jamerson
    Participant

    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.
    #112745

    Artem Temos
    Keymaster

    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

    #112751

    Jamerson
    Participant

    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?

    #112806

    Artem Temos
    Keymaster

    If you will not put it to the child theme, the changes will be overridden after the update.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Yith Badges are not displaying in Woodmart Theme Shop Page’ is closed to new replies.