• Resolved wpforumuser

    (@wordpressforumhelp)


    Hey all…

    I would like to adapt this working script so that it still shows on every single product apart from 1 specific category.

    Is that possible?

    Thank you in advance…

    add_action( ‘woocommerce_single_product_summary’, ‘custom_text’, 15 );
    function custom_text() {
    print ‘<p class=”custom_text”>If not otherwise stated, our normal delivery lead time is 3 – 5 working days.</p>’;
    }

Viewing 1 replies (of 1 total)
  • Hi there,

    You can add this to your theme and see if it works, if it does not you can reach out to your theme provider or the developers at https://woocommerce.com/customizations for more assistance ??

    Due to the age of this thread, I will go ahead and close it. If you continue to have issues please open a new thread and let us know!

Viewing 1 replies (of 1 total)
  • The topic ‘Add message to all products excluding one category’ is closed to new replies.