Support » Plugin: WooCommerce » Add message to all products excluding one category

  • wpforumuser


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

  • You must be logged in to reply to this topic.