Discussions

Show order amount in mail notification

Hello.

Is there a way to display the total order amount in the mail sent to the customer, after the order is complete?

regards
Rene

Posted: Nov 12, 2011

Comments

User2011 on November 12, 2011

Hi,

one solution is to display the var [commerce-order:commerce_order_total]

But the output is not very nice. There are no whitespaces between the labels and amounts. Can I render this layout?

Sum without VAT15,08 €
VAT2,87 €
Total17,95 €

Best regards
Alex

User2011 on January 31, 2012

I found no solution within drupalcommerce.

Instead of I created a separate php script with direct mysql-access to retrieve the current order information.

Advantage: Full control how the mails sent to customer look like.

Best regards
Rene