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="See you soon at %store at the following address: %url" url={navigate to='index'} store={config key="store_name"}}
{intl l="The %store team." store={config key="store_name"}} -{/loop} +{/loop} \ No newline at end of file diff --git a/local/modules/MondialRelay/templates/email/default2020/mondial-relay-tracking-message.html b/local/modules/MondialRelay/templates/email/default2020/mondial-relay-tracking-message.html index 86928065..43522bd0 100644 --- a/local/modules/MondialRelay/templates/email/default2020/mondial-relay-tracking-message.html +++ b/local/modules/MondialRelay/templates/email/default2020/mondial-relay-tracking-message.html @@ -1,6 +1,6 @@ {extends file="email-layout.tpl"} -{default_translation_domain domain='mondialrelay.email.default'} +{default_translation_domain domain='mondialrelay.email.default2020'} {* Do not provide a "Open in browser" link *} {block name="browser"}{/block} @@ -15,15 +15,14 @@ {* Content *} {block name="email-content"} + {loop type="order" name="order" id=$order_id customer="*" 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},

+ {/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},
{/loop} @@ -8,4 +12,8 @@ {intl l="Details about this order are available in your customer account: %account_url." account_url={url path="/account"}}
{intl l="See you soon at %store at the following address: %url" url={navigate to='index'} store={config key="store_name"}}
{intl l="The %store team." store={config key="store_name"}} +<<<<<<< HEAD {/loop} +======= +{/loop} +>>>>>>> origin/master