Home Forums WoodMart support forum Disable the badge of on sale of woodmart

Disable the badge of on sale of woodmart

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #136961

    mallethenao
    Participant

    I need to disable the on sale badge for default, i would use the next plugin:

    https://yithemes.com/themes/plugins/yith-woocommerce-badge-management/

    #137012

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .product-image-summary .product-images .labels-rounded .onsale{
    display: none;
    }
    body .labels-rounded .onsale {
    	display: none;
    }

    Best Regards

    #137749

    mallethenao
    Participant

    But excuse me, this does not guarantee that the plugin yith badge https://yithemes.com/themes/plugins/yith-woocommerce-badge-management/ works

    because right now it doesn’t work

    #137811

    Artem Temos
    Keymaster

    Hi,

    Please, describe to us your problems in a bit more details. Attach some screenshots and provide us with a list of steps on how to reproduce it on your website.

    Thank you in advance.

    #137979

    mallethenao
    Participant

    I installed the following plugin https://yithemes.com/themes/plugins/yith-woocommerce-badge-management/ to work with products with variations, but in my store this is not working, nor for carousel products, products in slideshow.

    #137997

    Artem Temos
    Keymaster

    Try to comment or remove the code from the file ‘inc/integrations/woocommerce/functions.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

    #138040

    mallethenao
    Participant

    Thank you, perfect!!

    #138049

    Artem Temos
    Keymaster

    You are welcome.

Tagged: ,

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

The topic ‘Disable the badge of on sale of woodmart’ is closed to new replies.