??
Anyway this remembered me that I found my templatetag was unneded. The
regular price (with tax, if Satchmo is configured to show tax, and
without if not) can be shown on templates using:
{{ product.discount_price:"" | currency }}
(note the "")
On Aug 3, 2:39 pm, Nirav Patel <[email protected]> wrote:
> On 7/27/09, Juanjo <[email protected]> wrote:
>
>
>
>
>
> > Hi,
>
> > I've enabled the "show prices with tax" option globally and the
> > default tax enabled for all products, but testing the sales feature
> > (global 50% discount price) I found than on the "cart.html" template
> > the "Regular Price" (cartitem.product.unit_price|currency) shows the
> > price without the tax included (wrong), but "Sale
> > Price" (cartitem.product|discount_price:sale|currency) shows the
> > discounted price with the tax included (correct.)
>
> > When there isn't any sale running the template code shows the
> > "cartitem.product|discount_price:sale|currency", so I can't use that
> > for the regular price column.
>
> > How can I, from the template, show the regular, non discounted, price
> > with tax included?
>
> > Another related problem I'm having with sales: if I go to checkout
> > then the confirmation page shows the total with tax but without the
> > discount and that total is what would get billed if I proceed.
>
> > Thanks and regards,
> > Juanjo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---