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]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
