Suite à MAJ 2.3.4, il manquait des choses dans des templates
This commit is contained in:
@@ -1,52 +0,0 @@
|
||||
{default_translation_domain domain='email.default'}
|
||||
{loop name="order.invoice" type="order" id=$order_id customer="*"}
|
||||
{intl l="Hello"}
|
||||
|
||||
{intl l="A new order ref. %ref has been placed on %date. Here are the details :" ref={$REF} date={format_date date=$INVOICE_DATE}}
|
||||
{hook name="email-txt.order-notification.before-address" order=$order_id}
|
||||
|
||||
{intl l="* Delivery address"}
|
||||
{ifhook rel="email-txt.order-notification.delivery-address"}
|
||||
{hook name="email-txt.order-notification.delivery-address" module={$DELIVERY_MODULE} order=$order_id}
|
||||
{/ifhook}
|
||||
{elsehook rel="email-txt.order-notification.delivery-address"}
|
||||
{format_address order_address=$DELIVERY_ADDRESS locale=$locale html="0"}
|
||||
{/elsehook}
|
||||
|
||||
{intl l="* Billing address"}
|
||||
{format_address order_address=$INVOICE_ADDRESS locale=$locale html="0"}
|
||||
|
||||
{hook name="email-txt.order-notification.after-address" order=$order_id}
|
||||
|
||||
{intl l="* Items ordered:"}
|
||||
{hook name="email-txt.order-notification.before-products" order=$order_id}
|
||||
{loop type="order_product" name="order-products" order=$ID}
|
||||
{strip}
|
||||
{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}
|
||||
{/strip}
|
||||
{intl l="Item : %item" item=$TITLE}
|
||||
{ifloop rel="combinations"}
|
||||
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
|
||||
- {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
|
||||
{/loop}
|
||||
{/ifloop}
|
||||
{intl l="Quantity : %qty" qty=$QUANTITY}
|
||||
{intl l="Unit price : %amount" amount={format_money number=$realTaxedPrice currency_id=$CURRENCY}}
|
||||
{hook name="email-txt.order-notification.order-product" order="{$order_id}" order_product="{$ID}"}
|
||||
{/loop}
|
||||
-----------------------------------------
|
||||
{intl l="Items total : %amount" amount={format_money number={$TOTAL_TAXED_AMOUNT - $POSTAGE} currency_id=$CURRENCY}}
|
||||
{intl l="Shipping : %amount" amount={format_money number=$POSTAGE currency_id=$CURRENCY}}
|
||||
{intl l="Total due : %amount" amount={format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}}
|
||||
{hook name="email-txt.order-notification.after-products" order=$order_id}
|
||||
|
||||
{intl l="Have a nice day."}
|
||||
{/loop}
|
||||
Reference in New Issue
Block a user