Home Forums WoodMart – Premium Template How to hide "Sale" flag from auction items

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 3 days, 7 hours ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #345490

    reefables
    Customer

    I use Woodmart with WooCommerce Simple Auctions, and I want to disable the Sale flag any time an item is set to product type auction. Currently, if a product is set to auction and it also has simple product sale price data attached to it, the Sale flag appears on the loop thumbnail and product page images.

    https://gyazo.com/7b3af30e5727575e451d9876cbc1e3c3

    Private Content Hidden
    #345503

    Hello,

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

    body .labels-rectangular .onsale { 
    display:none;
    }

    Best Regards

    #345506

    reefables
    Customer

    Hi,

    Thank you, but this removes the sale flag from all products, including when they are simple products. I only want the flag removed if a product is set to the auction product type. When it is set to a simple product, I still want the flag to appear. Is that possible?

    Thanks

    #345665

    Hello,

    Please give the page URL and block where you want to remove this label and delete the code I have provided earlier.

    Best Regards

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

You must be logged in to reply to this topic.