Formatted total price in Cart().AddProduct() response is wrong when adding the first item to the cart


#1

With an empty cart, if I add an item with a price of $599, the meta in the response has a display price which is wrong:

"meta":{"display_price":{"with_tax":{"amount":599,"currency":"USD","formatted":"5.99"}}}

If I add a second item to the cart with the same value, the response is now correct:

"meta":{"display_price":{"with_tax":{"amount":1198,"currency":"USD","formatted":"$1198"}}}

#2

Hi @damien

I picked this up a few days ago and it’s on our bug list. I’ll let you know as soon as a fix is out :slight_smile: