From 44314ccb99530dd4be71f3fe25dd662cdf69b7b6 Mon Sep 17 00:00:00 2001 From: Andrew Spinks Date: Wed, 11 Jul 2012 21:35:07 +1000 Subject: [PATCH] copied original spree confirmation mail --- .../spree/order_mailer/confirm_email.text.erb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 app/views/spree/order_mailer/confirm_email.text.erb diff --git a/app/views/spree/order_mailer/confirm_email.text.erb b/app/views/spree/order_mailer/confirm_email.text.erb new file mode 100644 index 0000000000..481f7e3378 --- /dev/null +++ b/app/views/spree/order_mailer/confirm_email.text.erb @@ -0,0 +1,19 @@ +Dear Customer, + +Please review and retain the following order information for your records. + +============================================================ +Order Summary +============================================================ +<% @order.line_items.each do |item| %> + <%= item.variant.sku %> <%= raw(item.variant.product.name) %> <%= raw(item.variant.options_text) -%> (<%=item.quantity%>) @ <%= number_to_currency item.price %> = <%= number_to_currency(item.price * item.quantity) %> +<% end %> +============================================================ +Subtotal: <%= number_to_currency @order.item_total %> +<% @order.adjustments.each do |adjustment| %> + <%= raw(adjustment.label) %> <%= number_to_currency(adjustment.amount) %> +<% end %> +Order Total: <%= number_to_currency(@order.total) %> + + +Thank you for your business.