I don't claim to be an expert, or even a really competent programmer, but it seems like there is a huge potential for infinite loops in satchmo_discounts.py, with most taxed_whatever methods calling the generic whatever methods, which in turn call the taxed_whatever method if tax is set to be included. I'm running into a lot of loops now that I've enabled the "Show with tax included."
On Apr 23, 10:44 am, Daniel <[email protected]> wrote: > I'm running into a loop when I enable "Show with tax included." In > product/templatetags/satchmo_discounts.py (if I'm reading this right): > > discount_cart_total is called. If the show tax setting is enabled, > call taxed_discount_cart_total. If there's an applicable discount, > the cart total is calculated, but in my case discount_cart_total is > called again... which starts an infinite loop. > > Is this a bug? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
