• Resolved idompharm

    (@idompharm)


    hey,

    under woocommerce customisation settings for product catalogue, I cant seem to find an option to disable the sale bubble displaying on all my products on the product catalogue page? Also, is there a way to show the sale bubble only a select few products that I choose?

    any help greatly appreciated as always. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Hi there,

    Individual control over the sale bubble display is not a core feature. They will show for any product with a sale price.

    What you could do, is style them with CSS. e.g to hide them sitewide:

    
    .product span.onsale { display: none; }
    

    There are a few methods of adding custom CSS. This might help:
    https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/

    Depending on your theme, it might be possible to exclude this CSS from certain products if you know the product ID. For example, this would hide all sale badges except for the badge on product with ID 10:

    
    .product:not(.post-10) span.onsale { display: none; }
    

    This will however depend on whether or not the theme uses the same markup as WooCommerce core.

    I hope this helps.

    Thread Starter idompharm

    (@idompharm)

    hi,
    thanks very much for the response.

    i tried using :

    .product span.onsale { display: none; }

    But it just got rid of the on sale text from the bubble, and the bubble itself still remained visible. Also, where would i be able to find the product ID for the products on my site (they are alidropship imported products).

    Thanks very much

    Abiola Ogodo

    (@oaoyadeyi)

    @idompharm

    Can you share a live link to the site this is happening?

    I recommend going through the solutions available here: https://learnwoo.com/easily-remove-sale-badge-on-your-woocommerce-store/

    Hi @idompharm,

    Since we haven’t heard from you in a while, we’re hoping that means you were able to get this resolved. I’m going to close this thread out now.

    If you’re still having trouble, please open up a new topic and we’ll be happy to help out.

    Take care

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘disable sale bubble?’ is closed to new replies.