I want to add a new price field called Discount to a product. So now I have two price fields, Price and Discount.
Then with the help of the rule, I am interested in showing in the node page the price(with line-trough) and the discount.
Then when adding the product to the cart, the discount price will be added, instead of the normal price. How can I achieve this with rules?
I have found these instructions but I am not sure how to create the rule!
- Add another price field to your product type.
- Add a rule that applies the discount to the price on that product if the extra price field exists. Make sure you use the Discount price component when creating the rule.
- Use Extra Price Formatters to display the difference.