Replies: 1
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