• Resolved chrisplatt

    (@chrisplatt)


    I have installed the plugin and it works great. The only issue is it have used the below to change the sale text and it works on my standard product layout but not this product slide. How do I go about changing the SALE! text?

    Code used:
    ?php
    add_filter(‘woocommerce_sale_flash’, ‘woocommerce_custom_sale_text’, 10, 3);
    function woocommerce_custom_sale_text($text, $post, $_product)
    {
    return ‘<span class=”onsale”>Special Offer</span>’;
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor HT Plugins

    (@htplugins)

    Hello,

    When you install our plugin, Then you can see this option on your product edit tab.
    See Screenshot http://prntscr.com/njrjhj
    You can add your Custom Sale tag use this option.

    Thanks

    Thread Starter chrisplatt

    (@chrisplatt)

    Hello,

    Thanks for your response. Is there a way to bulk do this or even change the default text from ‘Sale’?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Changing Sale Text’ is closed to new replies.