which works and the conditional ( if ( is_product() && has_term ( 'raffles', 'product_cat' ) ) ) works as expected.
The following works in that it removes the description tab and contents as expected, but the conditional ( if ( is_product() && has_term ( 'raffles', 'product_cat' ) ) ) does not. The description tab and contents are removed on other categories as well as the product_cat 'raffles'
I have, mainly from the Woocommerce help pages, (and an added conditional)
which works and the conditional (
if ( is_product() && has_term ( 'raffles', 'product_cat' ) )
) works as expectedand
which works and the conditional (
if ( is_product() && has_term ( 'raffles', 'product_cat' ) )
) works as expected.The following works in that it removes the description tab and contents as expected, but the conditional (
if ( is_product() && has_term ( 'raffles', 'product_cat' ) )
) does not. The description tab and contents are removed on other categories as well as theproduct_cat 'raffles'
Can you suggest a fix?
And after looking at this for a day, I fixed it straight after posting