diff --git a/local/modules/OrderStatusNotify/order_status_changed.html b/local/modules/OrderStatusNotify/order_status_changed.html new file mode 100644 index 00000000..4a304c6a --- /dev/null +++ b/local/modules/OrderStatusNotify/order_status_changed.html @@ -0,0 +1,114 @@ +{extends file="email-layout.tpl"} + +{* Do not provide a "Open in browser" link *} +{block name="browser"}{/block} +{* No big image header *} +{block name="image-header"}{/block} +{* No logo header *} +{block name="logo-header"}{/block} +{* No pre-header *} +{block name="pre-header"}{/block} + +{* Subject *} +{block name="email-subject"}{intl d="orderstatusnotify" l="Change on your order %ref on %store_name" ref={$order_ref} store_name={config key="store_name"}}{/block} + +{* Title *} +{block name="email-title"}{intl d="orderstatusnotify" l="Hello, your order has just changed to"}{$new_status}

{/block} + +{* Content *} +{block name="email-content"} + {loop name="order.invoice" type="order" id=$order_id customer="*"} + {loop name="currency.order" type="currency" id=$CURRENCY} + {assign var="orderCurrencyIsoCode" value=$ISOCODE} + {/loop} + + {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"} + {assign var="customerRef" value=$REF} + {/loop} + + {hook name="email-html.order-notification.before-address" order=$order_id} + + + + + + +
+ {intl l="Customer delivery address:"}
+ {ifhook rel="email-html.order-notification.delivery-address"} + {* delivery module can customize the delivery address *} + {hook name="email-html.order-notification.delivery-address" module={$DELIVERY_MODULE} order=$order_id} + {/ifhook} + {elsehook rel="email-html.order-notification.delivery-address"} + {format_address order_address=$DELIVERY_ADDRESS locale=$locale} + {/elsehook} +
+ {intl l="Customer billing address:"}
+ {format_address order_address=$INVOICE_ADDRESS locale=$locale} +
+ + {hook name="email-html.order-notification.after-address" order=$order_id} + +

+ {intl l="Order Total:"} {format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}
+ {intl l="Order Number:"} {$REF}
+ {intl l="Paid With:"} {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}
+ {intl l="Purchase Date:"} {format_date date=$CREATE_DATE output="datetime"}
+ {intl l="Delivery method:"} {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}
+

+ + {hook name="email-html.order-notification.before-products" order=$order_id} + + + + + + + {loop type="order_product" name="order-products" order=$ID} + {if $WAS_IN_PROMO == 1} + {assign "realPrice" $PROMO_PRICE} + {assign "realTax" $PROMO_PRICE_TAX} + {assign "realTaxedPrice" $TAXED_PROMO_PRICE} + {else} + {assign "realPrice" $PRICE} + {assign "realTax" $PRICE_TAX} + {assign "realTaxedPrice" $TAXED_PRICE} + {/if} + + + + + + {hook name="email-html.order-notification.order-product" order="{$order_id}" order_product="{$ID}"} + + {/loop} + + + + + + + + + + + + +
{intl l="What You Purchased"}{intl l="Price in"} {$orderCurrencyIsoCode}
+ {$TITLE} ({$REF}) + {ifloop rel="combinations"}
+ {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} + * {$ATTRIBUTE_TITLE}: {$ATTRIBUTE_AVAILABILITY_TITLE} + {/loop} + {/ifloop} +
+ {$QUANTITY} x {format_money number=$realTaxedPrice currency_id=$CURRENCY} +
{intl l="Total"}{format_money number={$TOTAL_TAXED_AMOUNT - $POSTAGE} currency_id=$CURRENCY}
{intl l="Shipping:"}{format_money number=$POSTAGE currency_id=$CURRENCY}
{intl l="Order Total"}{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}
+ {/loop} + + {hook name="email-html.order-notification.after-products" order=$order_id} + +
+ + {intl l="Have a nice day."}
+{/block}