VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: John2400 on July 06, 2012, 00:56:49 AM

Title: Rounding - the little shopping cart is different from the big shopping cart
Post by: John2400 on July 06, 2012, 00:56:49 AM
The image shows the issue - almost rounded correctly - i know we have been through this before - .

[attachment cleanup by admin]
Title: Re: Rounding - the little shopping cart is different from the big shopping cart
Post by: John2400 on July 10, 2012, 13:38:54 PM
small update _

In purchasing a product tonight - the cost was $9.95  - the small shopping cart said $10.00 - the large shopping cart said $9.95 -  the order was put through paypal.

The order and invoice arrived (correctly) - from paypal - it said $9.95 cents - but VM2 - send the order as $10.00 both in the confirmed email and in the pdf invoice.

I  have set no rounding in my shop. 

so the large cart - to paypal is correct - but rounding is happening before or after the payment from? 
Title: Re: Rounding - the little shopping cart is different from the big shopping cart
Post by: John2400 on July 13, 2012, 02:17:43 AM
This was not fixed in the update - it was related to the settings in currency -  at some time I had positive 2 in the settings for decimals and now it was minus 2 - in the settings - so by turning it off or to positive two - rounding is fixed.  "i'll take that one on the chin"
Title: Re: Rounding - the little shopping cart is different from the big shopping cart
Post by: Milbo on July 17, 2012, 10:22:32 AM
When you use a negative rounding, then the rounding of your currency is used, but nice that you solved it.