Will do.
On Oct 8, 8:17 pm, Chris Moffitt <[email protected]> wrote: > This is probably a bug. If you wouldn't mind opening a ticket, I'll take a > look at fixing it. > > Feel free to add a patch too. > > -Chris > > On Fri, Oct 8, 2010 at 6:13 PM, Ricko <[email protected]> wrote: > > Hi All, > > > I have modified my cart to use the AJAX url 'satchmo_cart_add_ajax', > > and noticed a feature that thought would be worth mentioning. > > The json object returned from the 'add' doesn't seem to truncate the > > cart total: > > > data['cart_total'] = str(cart.total) > > > but the count is truncated correctly: > > > data['cart_count'] = str(round_decimal(cart.numItems, 2)) > > > So the value I'm parsing in my .js file from 'json.cart_total' is > > '120.00000000000000', for example. > > > -- > > 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]<satchmo-users%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/satchmo-users?hl=en. > > -- 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.
