On Oct 3, 12:39 am, "Bruce Kroeze" <[EMAIL PROTECTED]> wrote:
> 1) Make a templates directory for your store
> 2) Add it to your TEMPLATE_DIRS at the top of the list so that it will be
> first in the search order
> 3) Make a directory in your new templates dir: satchmo/templates/email/
> 4) Copy the file in there and edit to your desire.

Sorry, I think I wasn't clear in the way I phrase my question.

This is from email_complete.txt:

{% trans "Total" %}
-----
{% if order.discount %}
{% trans "Discount" %} - {{order.discount|currency}}
{% endif %}
{% if order.is_shippable %} {% trans "Shipping" %} +
{{order.shipping_sub_total|currency}} {% endif %}
{% if order.tax %}
{% trans "Tax" %} + {{order.tax|currency}}
{% endif %}
{% trans "Total" %} = {{order.total|currency}}

Even if there is no discount, the order is not shippable and there is
no tax, the email generated contains extra whitespace in lines 3 to 5
as seen here:

  http://dpaste.com/81945/

My question is whether it will be possible to remove those extra
whitespaces? I know I can simply remove the checks for discount,
shippable and tax from the template, but what if I do have a product
later on that has tax, discount and/or is shippable?


--~--~---------~--~----~------------~-------~--~----~
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