{* Template: basket_mail.html Description: Email send x-hours after a basket has been abandoned. Author: 1260 A/S, @1260-digital Since: 2022-09-01 *}> <{* --------------- Currencies --------------- *}> <{if $settings.general.thousand == 'point'}> <{capture name='thousand'}>.<{/capture}> <{elseif $settings.general.thousand == 'comma'}> <{capture name='thousand'}>,<{/capture}> <{else}> <{capture name='thousand'}> <{/capture}> <{/if}> <{if $settings.general.decimal == 'point'}> <{capture name='decimal'}>.<{/capture}> <{elseif $settings.general.decimal == 'comma'}> <{capture name='decimal'}>,<{/capture}> <{else}> <{capture name='decimal'}> <{/capture}> <{/if}> <{if $settings.currency.display}> <{assign var="currency" value=$settings.currency.display}> <{else}> <{assign var="currency" value="kr."}> <{/if}> <{* html blocks *}> <{capture name="products_html"}> <{include file="mails/email.basket.products.html"}> <{/capture}> <{* variables *}> <{assign var="company_name" value=$settings.company.name}> <{assign var="company_phone" value=$settings.company.phone}> <{assign var="company_email" value=$settings.company.email}> <{assign var="basket_url" value=$basket_url|escape}> <{assign var="products_list" value=$smarty.capture.products_html}> <{capture name="email_subject"}> <{t}>Can we help? You did not complete the order<{/t}> <{/capture}> <{capture name="email_content"}>
<{t}>Hi,<{/t}>
<{t}>We noticed that you added products to your basket, but did not complete the order.<{/t}> <{t}>Go to your basket<{/t}>.
<{$smarty.capture.products_html}><{t}>Please get in touch if you have questions, or if we can help in any way.<{/t}>
<{t}>Best regards<{/t}>
<{$company_name}>
<{/capture}> <{assign var="email_subject" value=$settings.emails.inactive_cart_mail_subject|default:$smarty.capture.email_subject}> <{assign var="email_content" value=$settings.emails.inactive_cart_mail_content|default:$smarty.capture.email_content}> <{* find & replace *}> <{assign var="find" value='||'|explode:"[company_phone]||[company_email]||[basket_url]||[products_list]"}> <{assign var="repl" value='||'|explode:"$company_phone||$company_email||$basket_url||$products_list"}> <{* view *}> <{if $subject}> <{$email_subject|replace:$find:$repl}> <{else}> <{include file="mails/email.wrapper.start.html"}> <{$email_content|replace:$find:$repl}> <{include file="mails/email.wrapper.end.html"}> <{/if}>