New Landing How can we help? Themeforest Theme Support Dante Free Badge Showing in Catalog Mode

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #53659
    phukovsky
    Member
    Post count: 7

    I’ve set the theme to catalog mode, but it still shows a ‘Free’ badge on every one of my product’s thumbnail images. Is it supposed to do this? Is there a way to disable the free badge in admin, or is there code I can add to functions.php to disable this?

    #53800
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, you can use this custom css:

    .woocommerce .free-badge { display:none!important; }

    Cheers!

    #83214
    surco
    Member
    Post count: 1

    Thanks Melanie, really helpful 🙂

    #83364
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. I’m glad that issue resolved. Great Thanks Melanie :-).
    With Best Regards
    Swift Ideas

    #123885
    dikai
    Member
    Post count: 2

    Hi, I ran into the same issue here. I took a look at the product-image.php under woocommerce folder, and it’s taking precedence over the ‘New’ badge. I’m currently commenting out the conditional block so it still show ‘New’ badge when the product is new. Is there a proper way to do this? Could it become an option in settings?

    Attachments:
    You must be logged in to view attached files.
    #123890
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please add this code at functions.php of child theme.

    add_filter( 'woocommerce_variable_free_price_html',  'hide_free_price_notice' );
    add_filter( 'woocommerce_free_price_html','hide_free_price_notice' );
    add_filter( 'woocommerce_variation_free_price_html', 'hide_free_price_notice' );
    function hide_free_price_notice( $price ) {
     return '';
    }

    Thanks
    Mohammad

    #123897
    dikai
    Member
    Post count: 2

    That didn’t work for me. I have WP 4.0 with WooCommerce 2.2.7

    #123916
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am not getting your issue exactly. Please attach a marked screenshot to explain your issue.
    Thanks
    Mohammad

Viewing 8 posts - 1 through 8 (of 8 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