Home / Forums / You Theme Support / Trying to update CSS to get rid of woocommerce sale badges

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • simon
    Participant

    Hey Guys,
    I have read some threads on how to get rid of these sale badges.
    I put this into your CSS box on the customize theme page:
    //Remove Sales Flash
    add_filter(‘woocommerce_sale_flash’, ‘woo_custom_hide_sales_flash’);
    function woo_custom_hide_sales_flash()
    {
    return false;
    }

    Nothing happened. Is this CSS page only for the theme?
    Any suggestions?
    Thanks.
    Simon


    simon
    Participant

    Thanks I figured this and added My Customs Functions plugin

    Glad to know you were able to figure this out, Simon.

    Please don’t hesitate to contact us if you see other issues.

    Regards,

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

You must be logged in to reply to this topic.