If variation has no price – PHP needed
-
Hi all,
Using a filter I display all variations for variable product, also the ones that has no price.
No I want to display a message only when variation has no price, but I don’t know which PHP to use to make this IF statement. Can anybody help me with that?
function wsis_wholesale_warning_variations() { if(???variation has no price???){ echo '<div>Test message</div>'; } }
Kind regards,
Willem
- The topic ‘If variation has no price – PHP needed’ is closed to new replies.