Remove section based on Upsell
-
Hi
I want to be able to add some custom HTML to the products based on a product if there an upsell.
i.e We have product A and Product C is a Linked Product (upsell). However Product B isn’t and doesn’t require the custom html. How do you do a if statement based around this. I have tried if ( is_product_category(‘c’) { html code }) however it doesn’t work.
Also is there any documentation which actually is helpful out there as there seems to be nothing.
The topic ‘Remove section based on Upsell’ is closed to new replies.