[if field=date compare=not after=sale_end before_2=sale_start date_format=Ymd]
On Sale.
[else]
Price: $[field product_price]
On SALE until [content id=177 field=sale_end]
[/if]
[set calcA][calc][content id=177 field=sale_discount] / 100[/calc][/set]
[set calcB][calc][field product_price] * [get calcA][/calc][/set]
[calc]total = [field product_price] - [get calcB][/calc]
Total: [field product_price]
Percent: [content id=177 field=sale_discount]
Sale Price: [calc]total[/calc]