Support » Plugin: WooCommerce » Remove "SALE" from all pix in gallery

  • We use Woo Commerce for the gallery only and when I updated to 2.0.10, every picture has a “SALE” circle on it. I know I can change each product individually to “variable”, but that will take too long. Is there a way to do that in bulk?

    Should I revert to 2.0.9 instead and if so, how do I do it?

    Or, is there a code somewhere I can change or delete? Again, where is it? I looked for is_on_sale, but couldn’t find it anywhere.

    Any suggestions will be appreciated!

    Thank you!

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 7 replies - 1 through 7 (of 7 total)
  • You could try editing the HTML that is used to display the Sale message and set it to an empty string.

    The filter is called ‘woocommerce_sale_flash‘.

    Thank you for the suggestion, but I have no idea where to find that or how to change it. I’m not HTML literate! 🙂

    Plugin Author James Koster

    (@jameskoster)

    Hey,

    This is a known issue and will be fixed in the next update. If you want to remove the sale flashes entirely in the time being, add the following to your themes functions.php file;

    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 );

    Thanks

    OK – I would wait until the next update, but I really don’t like all those little green SALE circles on EVERYTHING!

    So, where do I place this code? Sorry, I’m not a HTML person!

    Thanks!

    That code inside your functions.php file. You can find your functions.php file inside the Theme’s folder.

    I have the same problem, which part of the theme-functions.ph file should i put the code please identify as follows:

    – Exclude categories from displaying on the “Blog” page template.
    – Exclude categories from displaying on the homepage.
    – Register WP Menus
    – Page navigation
    – Post Meta
    – Custom Post Type – Slides
    – Subscribe & Connect
    – Comment Form Fields
    – Comment Form Settings

    Thanks

    Hello,

    I added the code to the theme functions (functions.php) under the “you can add custom functions below” and it works.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove "SALE" from all pix in gallery’ is closed to new replies.