How to target non-purchasable item
-
Hi there,
When an item is set as non-purchasable, I want to target the button on the single product page.
I know that I can use the
woocommerce_single_product_summary
action hook, but it is targeting ALL products. How can I set a conditional so that ONLY the non-purchasable items are affected?Thanks,
Matt
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to target non-purchasable item’ is closed to new replies.