{* * Since 2013 Ovidiu Cimpean * * Ovidiu Cimpean - Newsletter Pro © All rights reserved. * * DISCLAIMER * * Do not edit, modify or copy this file. * If you wish to customize it, contact us at addons4prestashop@gmail.com. * * @author Ovidiu Cimpean * @copyright Since 2013 Ovidiu Cimpean * @license Do not edit, modify or copy this file * @version Release: 4 *}

{ldelim}default_shop_url{rdelim} - {l s='Display the main url of your shop' mod='newsletterpro'}

{ldelim}shop_url{rdelim} - {l s='Display the main url of you shop or if the current user is registered on multistore it will display the multistore url' mod='newsletterpro'}

{ldelim}shop_logo_url{rdelim} - {l s='Display the link of the image logo of your default shop' mod='newsletterpro'}

{ldelim}shop_logo{rdelim} - {l s='Display the image logo of your shop or if the current user is registered on multistore it will display the current multistore logo' mod='newsletterpro'}

{ldelim}active{rdelim} - {l s='Return true if the current user is subscribed at the newsletter' mod='newsletterpro'}

*|SUBSCRIBED|* - {l s='Return true if the current user is subscribed at the newsletter' mod='newsletterpro'}

{ldelim}email{rdelim} - {l s='Display current user email address' mod='newsletterpro'}

*|EMAIL|* - {l s='Display current user email address' mod='newsletterpro'}

{ldelim}user_type{rdelim} - {l s='Return the type of the current user' mod='newsletterpro'}


{l s='The user_type it can have the values \'customer\', \'registred\', \'registred_np\', \'added\' or \'employee\'' mod='newsletterpro'}

{l s='Only customers have the {firstname} and {lastname} variables, if the current user that you send the newsletter dose not have those variables you can use a conditional statement like:' mod='newsletterpro'}

{ldelim}if user_type=='customer'{rdelim}{l s='Hi' mod='newsletterpro'} {ldelim}firstname{rdelim} {ldelim}lastname{rdelim} {ldelim}/if{rdelim}

{l s='or you can use:' mod='newsletterpro'}


{l s='If the forward feature is active and the recipient received the forwarded newsletter you can use this statement to inform him:' mod='newsletterpro'}

{ldelim}if isset(variable_name){rdelim} {l s='Hi' mod='newsletterpro'} {ldelim}variable_name{rdelim} {ldelim}/if{rdelim}

{ldelim}if is_forwarder==1{rdelim}{l s='Your friend with the email address {forwarder_email} has forwarded this newsletter! If you no loger want to receive this newsletter you can {unsubscribe}.' mod='newsletterpro'}{ldelim}/if{rdelim}


{ldelim}firstname{rdelim} - {l s='Display the current customer Firstname' mod='newsletterpro'}

*|FNAME|* - {l s='Display the current customer Firstname' mod='newsletterpro'}

{ldelim}lastname{rdelim} - {l s='Display the current customer Lastname' mod='newsletterpro'}

*|LNAME|* - {l s='Display the current customer Lastname' mod='newsletterpro'}

{ldelim}id{rdelim} - {l s='Return the id of the current customers' mod='newsletterpro'}

{ldelim}id_default_group{rdelim} - {l s='Return the default registration group id of the current user' mod='newsletterpro'}

{ldelim}id_lang{rdelim} - {l s='Return the language id of the current user ' mod='newsletterpro'}

{ldelim}id_shop{rdelim} - {l s='Return the shop id that current user is registered' mod='newsletterpro'}

{ldelim}shop_name{rdelim} - {l s='Display the shop name' mod='newsletterpro'}

*|SHOP|* - {l s='Display the shop name' mod='newsletterpro'}

{ldelim}img_path{rdelim} - {l s='Display the link of the current user language flag' mod='newsletterpro'}

{ldelim}ip{rdelim} - {l s='Display the current user newsletter registration ip' mod='newsletterpro'}

{ldelim}language{rdelim} - {l s='Display the name of the current user language' mod='newsletterpro'}

*|LANGUAGE|* - {l s='Display the name of the current user language' mod='newsletterpro'}

{ldelim}newsletter_date_add{rdelim} - {l s='Display the current user newsletter registration date' mod='newsletterpro'}

{ldelim}unsubscribe_link{rdelim} - {l s='Display the current user unsubscribe link (the link will unsubscribe the current user and then the page will display a message)' mod='newsletterpro'}

{ldelim}unsubscribe_link_redirect{rdelim} - {l s='Display the current user unsubscribe link (the link will unsubscribe the current user and then the page will redirect to the index shop url)' mod='newsletterpro'}

{ldelim}unsubscribe{rdelim} - {l s='Display the current user unsubscribe button (the button link will unsubscribe the current user and then the page will display a message) - the button can be renamed on the module translation panel' mod='newsletterpro'}

{ldelim}unsubscribe_redirect{rdelim} - {l s='Display the current user unsubscribe button (the button link will unsubscribe the current user and then the page will redirect to the index shop url) - the button can be renamed on the module translation panel' mod='newsletterpro'}

{ldelim}subscribe_link{rdelim} - {l s='Display the current user subscribe link. By clicking on the link the user can subscribe again to the newsletter.' mod='newsletterpro'}

{ldelim}subscribe{rdelim} - {l s='Display the current user subscribe button. By clicking on the link the user can subscribe again to the newsletter.' mod='newsletterpro'}

{ldelim}date{rdelim} - {l s='Display the current date' mod='newsletterpro'}

{ldelim}date_full{rdelim} - {l s='Display the current date with the current hour' mod='newsletterpro'}

{ldelim}view_in_browser_link{rdelim} - {l s='Display the link where the customers and visitors view the newsletter in browser.' mod='newsletterpro'}

{ldelim}view_in_browser{rdelim} - {l s='Display the button where the customers and visitors view the newsletter in browser.' mod='newsletterpro'}

{ldelim}view_in_browser_link_share{rdelim} - {l s='Display the link where the customers and visitors view the newsletter in browser.' mod='newsletterpro'} {l s='This link is urlencoded.' mod='newsletterpro'}

{ldelim}view_in_browser_share{rdelim} - {l s='Display the button where the customers and visitors view the newsletter in browser.' mod='newsletterpro'} {l s='This link is urlencoded.' mod='newsletterpro'}

{ldelim}forward_link{rdelim} - {l s='Display the link where the customers and visitors can manage their forward emails.' mod='newsletterpro'}

{ldelim}forward{rdelim} - {l s='Display the button where the customers and visitors can manage their forward emails.' mod='newsletterpro'}

{ldelim}is_forwarder{rdelim} - {l s='Dispaly 1 if the recipient received a forwarded newsletter, else the value will be 0.' mod='newsletterpro'}

{ldelim}page_index_link{rdelim}

{ldelim}page_contact_link{rdelim}

{ldelim}page_new_products{rdelim}

{ldelim}page_best_sales{rdelim}

{ldelim}page_sitemap{rdelim}

{ldelim}page_my_account{rdelim}

{ldelim}page_my_orders{rdelim}

{ldelim}page_my_order_slip{rdelim}

{ldelim}page_my_addresses{rdelim}

{ldelim}page_my_personal_info{rdelim}

{ldelim}page_my_vouchers{rdelim}

{ldelim}module_url{rdelim}

{ldelim}date_text{rdelim}

{ldelim}date_year{rdelim}

{ldelim}domain{rdelim}

{ldelim}domain_ssl{rdelim}

{ldelim}date_day{rdelim}

{ldelim}date_month_text{rdelim}

{ldelim}shop_email{rdelim}

{if isset($help_vars)} {foreach $help_vars as $var}

{$var|escape:'html':'UTF-8'}

{/foreach} {/if}

{l s='If you are a developer you can create new template variables (related to the current user) in the file' mod='newsletterpro'} 'newsletterpro\classes\NewsletterProExtendTemplateVars.php'