File: /home4/cca63905/www/nueva/themes/probusiness/templates/customer/order-return.tpl
{*
* 2007-2022 ETS-Soft
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* 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 contact us for extra customization service at an affordable price
*
* @author ETS-Soft <etssoft.jsc@gmail.com>
* @copyright 2007-2022 ETS-Soft
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of ETS-Soft
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
<h1 class="h1">{l s='Return details' d='Shop.Theme.Actions'}</h1>
{/block}
{block name='page_content'}
{block name='order_return_infos'}
<div id="order-return-infos" class="card">
<div class="card-block">
<p>
<strong>{l
s='%number% on %date%'
d='Shop.Theme.Actions'
sprintf=['%number%' => $return.return_number, '%date%' => $return.return_date]}
</strong>
</p>
<p>{l s='We have logged your return request.' d='Shop.Theme.Actions'}</p>
<p>{l
s='Your package must be returned to us within %number% days of receiving your order.'
d='Shop.Theme.Actions'
sprintf=['%number%' => $configuration.number_of_days_for_return]}</p>
<p>
{* [1][/1] is for a HTML tag. *}
{l
s='The current status of your merchandise return is: [1] %status% [/1]'
d='Shop.Theme.Actions'
sprintf=[
'[1]' => '<strong>',
'[/1]' => '</strong>',
'%status%' => $return.state_name
]
}
</p>
<p>{l s='List of items to be returned:' d='Shop.Theme.Actions'}</p>
<table class="table table-striped table-bordered">
<thead class="thead-default">
<tr>
<th>{l s='Product' d='Shop.Theme.Catalog'}</th>
<th>{l s='Quantity' d='Shop.Theme.Checkout'}</th>
</tr>
</thead>
<tbody>
{foreach from=$products item=product}
<tr>
<td>
<strong>{$product.product_name|escape:'html':'UTF-8'}</strong>
{if $product.product_reference}
<br />
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference|escape:'html':'UTF-8'}
{/if}
{if $product.customizations}
{foreach from=$product.customizations item="customization"}
<div class="customization">
<a href="#" data-toggle="modal" data-target="#product-customizations-modal-{$customization.id_customization|escape:'html':'UTF-8'}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
</div>
<div class="modal fade customization-modal" id="product-customizations-modal-{$customization.id_customization|escape:'html':'UTF-8'}" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">{l s='Product customization' d='Shop.Theme.Catalog'}</h4>
</div>
<div class="modal-body">
{foreach from=$customization.fields item="field"}
<div class="product-customization-line row">
<div class="col-sm-3 col-xs-4 label">
{$field.label|escape:'html':'UTF-8'}
</div>
<div class="col-sm-9 col-xs-8 value">
{if $field.type == 'text'}
{if (int)$field.id_module}
{$field.text nofilter}
{else}
{$field.text|escape:'html':'UTF-8'}
{/if}
{elseif $field.type == 'image'}
<img src="{$field.image.small.url|escape:'html':'UTF-8'}">
{/if}
</div>
</div>
{/foreach}
</div>
</div>
</div>
</div>
{/foreach}
{/if}
</td>
<td>
{if $product.customizations}
{$product.product_quantity|escape:'html':'UTF-8'}
{else}
{foreach $product.customizations as $customization}
{$customization.quantity|escape:'html':'UTF-8'}
{/foreach}
{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/block}
{if $return.state == 2}
<section class="card">
<div class="card-block">
<h3 class="card-title h3">{l s='Reminder' d='Shop.Theme.Actions'}</h3>
<p class="card-text">
{l
s='All merchandise must be returned in its original packaging and in its original state.'
d='Shop.Theme.Actions'
}<br>
{* [1][/1] is for a HTML tag. *}
{l
s='Please print out the [1]returns form[/1] and include it with your package.'
d='Shop.Theme.Actions'
sprintf=[
'[1]' => '<a href="'|cat:$return.print_url|cat:'">',
'[/1]' => '</a>'
]
}
<br>
{* [1][/1] is for a HTML tag. *}
{l
s='Please check the [1]returns form[/1] for the correct address.'
d='Shop.Theme.Actions'
sprintf=[
'[1]' => '<a href="'|cat:$return.print_url|cat:'">',
'[/1]' => '</a>'
]
}
</p>
<p class="card-text">
{l
s='When we receive your package, we will notify you by email. We will then begin processing order reimbursement.'
d='Shop.Theme.Actions'
}<br>
<a href="{$urls.pages.contact|escape:'html':'UTF-8'}">
{l
s='Please let us know if you have any questions.'
d='Shop.Theme.Actions'
}
</a><br>
{l
s='If the conditions of return listed above are not respected, we reserve the right to refuse your package and/or reimbursement.'
d='Shop.Theme.Actions'
}
</p>
</div>
</section>
{/if}
{/block}