New Landing How can we help? Atelier hide product badge

Viewing 3 posts - 1 through 3 (of 3 total)
  • Posted in: Atelier
  • #211085
    alemarengo
    Member
    Post count: 695

    Hi guys!
    I tried the regular snippet to hide badges:

    remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_show_product_loop_sale_flash', 10 );
    remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_sale_flash', 10 );

    It doesn’t work actually.

    I assume that there is <?php sf_woo_product_badge(); ?> that manages badges.
    How can I tweak it in order to hide badges instead of css display:none; option?
    I think it’s stored within sf-woocommerce.php file, right?

    #211087
    alemarengo
    Member
    Post count: 695

    I… simply copied the function `/* PRODUCT BADGE
    ================================================== */` within functions.php and it’s working.

    #211132
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Brilliant! I am glad 🙂 that you managed to resolve the issue.
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register