I was getting this error when I was using the Google Checkout module:

Error parsing XML; message from parser is: Invalid value for body of
quantity in checkout-shopping-cart/shopping-cart/items/item: Too many
decimal digits

The quantity was rendering as "1.000000".  I fixed this by adding a
filter to line 16 of the satchmo_store/shop/templates/shop/checkout/
google/cart.xml template:

        <quantity>{{ orderitem.quantity|floatformat }}</quantity>

I am not sure if this is an appropriate way to fix this error, but it
worked for me and I wanted to post it up so that others can find a
solution.

If this is something that I should contribute to the project, let me
know.  I am not too familiar with the underpinnings of satchmo (it
took me quite a while just to figure this out), so I didn't want to
jump to conclusions.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to