Support » Plugins » Woocommerce – Add action help

  • mattpitts74


    I’m trying to get a small line of extra text to show up on one particular product page. Using the add action I’m able to add the line to all products, but it only applies to one, so I have tried the if statement below, but its still just showing up on all the products.

    If anyone can help with this that would be amazing. Thanks

                    function text_before_bucket() {
                  if ( is_product_category( 'PYO' ) ) {
                    echo 'choose you picking date below';

    Here’s the page I working on

  • The topic ‘Woocommerce – Add action help’ is closed to new replies.