Hello,
I am using VM 2.0.26d and Joomla 2.5.17.
The function "round only display" is very important for us because of accurate VAT calculation.
But this function also causes a double price dislpay. (the baseprice is always displayed (as strikethrough))
I think it has something to do with rounding. A possible solution that will work for me is "show only crossed priced if discount is bigger than 0,01". I don't know how to put this function in my price templates.
Hope someone can help.
Thanks in advance.
Best regards,
Jeroen
if ($this->product->prices['discountAmount'] > 0.01) {
}
Many thanks kkmediaproduction. :)
This solution works, but a with a small modification.
The discountamount is a negative number e.g. -50.
Code must be:
if ($this->product->prices['discountAmount'] > - 0.01) {
}
Jeroen