{* * 2007-2015 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Contact'}{/capture}

{l s='Customer service'} - {if isset($customerThread) && $customerThread}{l s='Your reply'}{else}{l s='Contact us'}{/if}

{if isset($confirmation)}

{l s='Your message has been successfully sent to our team.'}

{elseif isset($alreadySent)}

{l s='Your message has already been sent.'}

{else} {include file="$tpl_dir./errors.tpl"}

{l s='send a message'}

{if isset($customerThread.id_contact) && $customerThread.id_contact && $contacts|count} {assign var=flag value=true} {foreach from=$contacts item=contact} {if $contact.id_contact == $customerThread.id_contact} {$flag=false} {/if} {/foreach} {if $flag && isset($contacts.0.id_contact)} {/if}
{else}

 

{foreach from=$contacts item=contact}

{$contact.description|escape:'html':'UTF-8'}

{/foreach} {/if}

{if isset($customerThread.email)} {else} {/if}

{if !$PS_CATALOG_MODE} {if (!isset($customerThread.id_order) || $customerThread.id_order > 0)}
{if !isset($customerThread.id_order) && isset($is_logged) && $is_logged} {elseif !isset($customerThread.id_order) && empty($is_logged)} {elseif $customerThread.id_order|intval > 0} {/if}
{/if} {if isset($is_logged) && $is_logged}
{if !isset($customerThread.id_product)} {foreach from=$orderedProductList key=id_order item=products name=products} {/foreach} {elseif $customerThread.id_product > 0} {/if}
{/if} {/if} {if $fileupload == 1}

{/if}
{/if} {addJsDefL name='contact_fileDefaultHtml'}{l s='No file selected' js=1}{/addJsDefL} {addJsDefL name='contact_fileButtonHtml'}{l s='Choose File' js=1}{/addJsDefL}