Home Forums WoodMart support forum Problem with the YITH WOOCOMMERCE BADGE MANAGEMENT plugin

Problem with the YITH WOOCOMMERCE BADGE MANAGEMENT plugin

Viewing 30 posts - 1 through 30 (of 30 total)
  • Author
    Posts
  • #26861

    Pavel
    Participant

    I put the YITH WOOCOMMERCE BADGE MANAGEMENT plugin, but the badges in the product list are not displayed, only those that come with the woodmart theme are displayed

    Attachments:
    You must be logged in to view attached files.
    #26884

    Artem Temos
    Keymaster

    Hi,

    Could you please provide us your admin and FTP access so we can check it? Also, give us a link to the product with some badges added so we can see how they should work with default WordPress theme.

    Thank you

    #26908

    Pavel
    Participant

    In the attachment

    #26912

    Artem Temos
    Keymaster

    But what badge should be on this product? Could you please send a screenshot how it looks with default WordPress theme?

    #26915

    Pavel
    Participant

    In the attachment

    Attachments:
    You must be logged in to view attached files.
    #26918

    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

    #26941

    Pavel
    Participant

    did not work out

    Attachments:
    You must be logged in to view attached files.
    #26947

    newsprince
    Participant

    Can confirm. There is some problem with yith badge managment plugin. Doesn’t display the badges correctly

    #26952

    Artem Temos
    Keymaster

    Try to comment or remove the code from the file inc/woocommerce.php

    remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 );
    add_action( 'woocommerce_before_shop_loop_item_title', 'woodmart_template_loop_product_thumbnail', 10 );

    Regards

    #26957

    Pavel
    Participant

    inc/woocommerce.php
    where can I find this folder and file?
    In the directory I did not see it

    #26969

    Artem Temos
    Keymaster

    Hi,

    This folder inc/ is located in our theme folder. Find it in wp-content/themes/woodmart/inc/

    Regards

    #26992

    newsprince
    Participant

    Nop it half works. When you assign a badge for a category it doesn’t show the badge. Only when you assign badge for recent products or on sale it overlaps your theme badge.

    Do you want to send you the plugin to test it?

    Thanks.

    #27001

    Artem Temos
    Keymaster

    Yes, it may be possible that this plugin’s badges overlap our theme badges. You need to choose which one to use.

    #27009

    newsprince
    Participant

    The plug in has the option to disable default badge and use its own. The thing is that it halfs work. When you assign a badge for a specific category and go to that category the badge doesn’t even show.

    #27011

    Artem Temos
    Keymaster

    Could you please provide us some examples so we can check on your side?

    #27021

    newsprince
    Participant

    I can’t provide because it doesn’t work to show you something.

    Do you want to send the plug in so you can test it?

    #27042

    Artem Temos
    Keymaster

    In this case, just provide us a link to the page with badges and give us your admin access so we can test it with default WordPress theme.

    #27075

    newsprince
    Participant

    I’ll setup a test environment and send you the details.

    Thank you.

    #27076

    Pavel
    Participant

    Thank you

    #27079

    Pavel
    Participant

    last advice helped
    It is necessary to add a setting for disabling theme badges

    #27082

    newsprince
    Participant

    Credentials Sent

    #27088

    Artem Temos
    Keymaster

    Hi,

    @newprince, so where we should look at the problem, on the home page or on some particular category page?


    @Pavel
    , do you want us to provide you with a custom CSS code to disable our theme labels for now?

    Regards

    #27089

    newsprince
    Participant

    The problem is with your theme. When you assign a badge for some particular category etc. As you can see now i enable the badge for 2 of 3 default categories and is working with storefront theme.

    Shall i upload your theme in this development installation to test it?

    Thank you.

    #27090

    Artem Temos
    Keymaster

    Yes, please. Also, be sure that you have applied the changes in the code we described earlier.

    #27092

    newsprince
    Participant

    Can you check it now.

    Thanks.

    #27100

    Artem Temos
    Keymaster

    But now labels seems to be visible on your categories pages.

    #27102

    newsprince
    Participant

    Yeah you are right. I removed the two lines of code that you mentioned above and works. I guess something else is wrong in my main development environment.

    Only your sale badge doesn’t hide but i can remove it with some CSS.

    Thank you.

    #27103

    Artem Temos
    Keymaster

    Yes, use this CSS snippet to hide our labels completely

    .product-labels {
    	display: none!important;
    }

    Regards

    #27158

    Pavel
    Participant

    Thanks, it works

    #27169

    Artem Temos
    Keymaster

    You are welcome!

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