VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: carbon on July 04, 2013, 05:28:28 AM

Title: Small Bug - Discount Amount Display on checkout
Post by: carbon on July 04, 2013, 05:28:28 AM
Upgrade (on staging site) from 2.0.18a > 2.0.21g
Discount Amount Display on checkout (PricebillDiscountAmount) Is now displaying incorrect format in total line. -15.00 $ Should be $15.00 Other totals, Tax and Total are in correct format.
Live site 2.0.18a displays PricebillDiscountAmount correctly.

PHP 5.4.16
Joomla! 2.5.8
Title: Re: Small Bug - Discount Amount Display on checkout
Post by: AH on July 04, 2013, 10:07:05 AM
Please post an image of the checkout
Title: Re: Small Bug - Discount Amount Display on checkout
Post by: carbon on July 04, 2013, 12:13:42 PM
Checkout 2.0.21g
(http://carbonmediahosting.com/images/2.0.21g-lg.png)
Checkout 2.0.18a
(http://carbonmediahosting.com/images/2.0.18a.png)
Title: Re: Small Bug - Discount Amount Display on checkout
Post by: carbon on July 05, 2013, 01:37:00 AM
This is still a problem in 2.0.21h

Currency New Zealand Dollar
English (United Kingdom)
PHP 5.4.16
Joomla 2.5.11
Title: Re: Small Bug - Discount Amount Display on checkout
Post by: alatak on July 05, 2013, 14:24:59 PM
Hello
Yes it is due to your currency settings.
For New Zealand dollar , it is set as {sign}{number} {symbol}

you should change it to
{symbol}{sign}{number}

Go in Configuration > Currencies to change it.
Title: Re: Small Bug - Discount Amount Display on checkout
Post by: Milbo on July 05, 2013, 14:25:46 PM
Please check your currency settings. The original currency setting for NZD
positiv: {number} {symbol}
negativ: {sign}{number} {symbol}

The difference is that we display in vm2.0.22 the coupon as negative value.

For me it looks like you changed the format of the postive value display, but not the negative format. because you have atm {symbol}{number}

If the data for new NZD is wrong, then tell us
Title: Re: Small Bug - Discount Amount Display on checkout
Post by: Milbo on July 05, 2013, 14:26:03 PM
lol valerie
Title: Re: Small Bug - Discount Amount Display on checkout
Post by: alatak on July 05, 2013, 14:30:31 PM
Hello
The data was wrong for the New Zealand Dollar. I have fixed the installation sql table with {symbol}{sign}{number}
Tell us if it is the correct format.