diff --git a/local/modules/MondialRelay/templates/email/default/mondial-relay-tracking-message.html b/local/modules/MondialRelay/templates/email/default/mondial-relay-tracking-message.html index 19182d50..185a1aa5 100644 --- a/local/modules/MondialRelay/templates/email/default/mondial-relay-tracking-message.html +++ b/local/modules/MondialRelay/templates/email/default/mondial-relay-tracking-message.html @@ -16,13 +16,13 @@ {* Content *} {block name="email-content"} {loop type="order" name="order" id=$order_id} - {loop type="customer" name="customer.order" current=false id=$CUSTOMER backend_context="1"} -
{intl l="Dear %first %last" last=$LASTNAME first=$FIRSTNAME},
- {/loop} - -{intl l="Your order %order_ref has just been shipped from our store. The tracking number for this order is %tracking_ref. Please click here to track the delivery." order_ref=$REF tracking_ref=$DELIVERY_REF}
-{intl l="Details about this order are available in your customer account." account_url={url path="/account"}}
-{intl l="See you soon at %store" url={navigate to='index'} store={config key="store_name"}}
-{intl l="The %store team." store={config key="store_name"}}
+{loop type="customer" name="customer.order" current=false id=$CUSTOMER backend_context="1"} +{intl l="Dear %first %last" last=$LASTNAME first=$FIRSTNAME},
{/loop} -{/block} + +{intl l="Your order %order_ref has just been shipped from our store. The tracking number for this order is %tracking_ref. Please click here to track the delivery." order_ref=$REF tracking_ref=$DELIVERY_REF}
+{intl l="Details about this order are available in your customer account." account_url={url path="/account"}}
+{intl l="See you soon at %store" url={navigate to='index'} store={config key="store_name"}}
+{intl l="The %store team." store={config key="store_name"}}
+{/loop} +{/block} \ No newline at end of file diff --git a/local/modules/MondialRelay/templates/email/default/mondial-relay-tracking-message.txt b/local/modules/MondialRelay/templates/email/default/mondial-relay-tracking-message.txt index 2ae098dc..22e46cd7 100644 --- a/local/modules/MondialRelay/templates/email/default/mondial-relay-tracking-message.txt +++ b/local/modules/MondialRelay/templates/email/default/mondial-relay-tracking-message.txt @@ -8,4 +8,4 @@ {intl l="Details about this order are available in your customer account: %account_url." account_url={url path="/account"}}{intl l="Dear %first %last" last=$LASTNAME first=$FIRSTNAME},
+ {/loop} -{loop type="order" name="order" customer="*" id=$order_id backend_context=true} - {loop type="customer" name="customer.order" current=false id=$CUSTOMER backend_context="1"} -{intl l="Dear %first %last" last=$LASTNAME first=$FIRSTNAME},
+{intl l="Your order %order_ref has just been shipped from our store. The tracking number for this order is %tracking_ref. Please click here to track the delivery." order_ref=$REF tracking_ref=$DELIVERY_REF}
+{intl l="Details about this order are available in your customer account." account_url={url path="/account"}}
+{intl l="See you soon at %store" url={navigate to='index'} store={config key="store_name"}}
+{intl l="The %store team." store={config key="store_name"}}
{/loop} - -{intl l="Your order %order_ref has just been shipped from our store. The tracking number for this order is %tracking_ref. Please click here to track the delivery." order_ref=$REF tracking_ref=$DELIVERY_REF}
-{intl l="Details about this order are available in your customer account." account_url={url path="/account"}}
-{intl l="See you soon at %store" url={navigate to='index'} store={config key="store_name"}}
-{intl l="The %store team." store={config key="store_name"}}
-{/loop} -{/block} +{/block} \ No newline at end of file diff --git a/local/modules/MondialRelay/templates/email/default2020/mondial-relay-tracking-message.txt b/local/modules/MondialRelay/templates/email/default2020/mondial-relay-tracking-message.txt index ceb27ef0..6eab6f08 100644 --- a/local/modules/MondialRelay/templates/email/default2020/mondial-relay-tracking-message.txt +++ b/local/modules/MondialRelay/templates/email/default2020/mondial-relay-tracking-message.txt @@ -1,6 +1,10 @@ {default_translation_domain domain='mondialrelay.email.default'} {default_locale locale={$locale}} +<<<<<<< HEAD +{loop type="order" name="order" id=$order_id} +======= {loop type="order" name="order" customer="*" id=$order_id} +>>>>>>> origin/master {loop type="customer" name="customer.order" current=false id=$CUSTOMER backend_context="1"} {intl l="Dear %first %last" last=$LASTNAME first=$FIRSTNAME},