I need to edit woocommmerce way of displaying price in a complicated way. I added an extra field to the products called ‘extra_price’ using custom fields mechanism. I want it to have a regular price set by a default price fields and an extra price set by corresponding custom field.
I want it to display normally when extra_price field is empty. But when an extra_price field has a value it should replace regular price in product page and another places where price is displayed. I achieve that if the product is a simple one. But when it’s a variated product it’s too complicated for me because I want to have extra_price visible before I select variations and regular price of specific variant when I select a variant.
Is it possible?
- The topic ‘Change the way of displaying variated product’ is closed to new replies.