first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name="address_form"}
<div class="js-address-form">
{include file='_partials/form-errors.tpl' errors=$errors['']}
{block name="address_form_url"}
<form
method="POST"
action="{url entity='address' params=['id_address' => $id_address]}"
data-id-address="{$id_address}"
data-refresh-url="{url entity='address' params=['ajax' => 1, 'action' => 'addressForm']}"
>
{/block}
{block name="address_form_fields"}
<section class="form-fields">
{block name='form_fields'}
{foreach from=$formFields item="field"}
{block name='form_field'}
{form_field field=$field}
{/block}
{/foreach}
{/block}
</section>
{/block}
{block name="address_form_footer"}
<footer class="form-footer clearfix">
<input type="hidden" name="submitAddress" value="1">
{block name='form_buttons'}
<button class="btn btn-primary float-xs-right" type="submit" class="form-control-submit">
{l s='Save' d='Shop.Theme.Actions'}
</button>
{/block}
</footer>
{/block}
</form>
</div>
{/block}

View File

@@ -0,0 +1,47 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='address_block_item'}
<article id="address-{$address.id}" class="address" data-id-address="{$address.id}">
<div class="address-body">
<h4>{$address.alias}</h4>
<address>{$address.formatted nofilter}</address>
</div>
{block name='address_block_item_actions'}
<div class="address-footer">
<a href="{url entity=address id=$address.id}" data-link-action="edit-address" title="{l s='Update' d='Shop.Theme.Actions'}">
<img src="/themes/at_movic/assets/img/icons/pen-edit.svg" alt="">
{* <i class="material-icons">&#xE254;</i> *}
{* <span>{l s='Update' d='Shop.Theme.Actions'}</span> *}
</a>
<a href="{url entity=address id=$address.id params=['delete' => 1, 'token' => $token]}" data-link-action="delete-address" title="{l s='Delete' d='Shop.Theme.Actions'}">
<img src="/themes/at_movic/assets/img/icons/trash-can.svg" alt="">
{* <i class="material-icons">&#xE872;</i> *}
{* <span>{l s='Delete' d='Shop.Theme.Actions'}</span> *}
</a>
</div>
{/block}
</article>
{/block}

View File

@@ -0,0 +1,59 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='customer_form'}
{block name='customer_form_errors'}
{include file='_partials/form-errors.tpl' errors=$errors['']}
{/block}
<form action="{block name='customer_form_actionurl'}{$action}{/block}" id="customer-form" class="js-customer-form" method="post">
<section>
{block "form_fields"}
{foreach from=$formFields item="field"}
{block "form_field"}
{form_field field=$field}
{/block}
{/foreach}
{$hook_create_account_form nofilter}
{/block}
</section>
{block name='customer_form_footer'}
<footer class="form-footer clearfix">
<input type="hidden" name="submitCreate" value="1">
{block "form_buttons"}
<button class="btn btn-primary form-control-submit float-xs-right" data-link-action="save-customer" type="submit">
{l s='Save' d='Shop.Theme.Actions'}
</button>
{/block}
</footer>
{/block}
{block name='display_after_login_form'}
{hook h='displayCustomerLoginFormAfter'}
{/block}
</form>
{/block}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,65 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='login_form'}
{block name='login_form_errors'}
{include file='_partials/form-errors.tpl' errors=$errors['']}
{/block}
<form id="login-form" action="{block name='login_form_actionurl'}{$action}{/block}" method="post">
<section>
{block name='login_form_fields'}
{foreach from=$formFields item="field"}
{block name='form_field'}
{form_field field=$field}
{/block}
{/foreach}
{/block}
<div class="forgot-password">
<a href="{$urls.pages.password}" rel="nofollow">
{l s='Forgot your password?' d='Shop.Theme.Customeraccount'}
</a>
</div>
</section>
{block name='login_form_footer'}
<footer class="form-footer text-sm-center clearfix">
<input type="hidden" name="submitLogin" value="1">
{block name='form_buttons'}
<button id="submit-login" class="btn btn-primary" data-link-action="sign-in" type="submit" class="form-control-submit">
{l s='Sign in' d='Shop.Theme.Actions'}
</button>
{/block}
</footer>
{/block}
{block name='display_after_login_form'}
{hook h='displayCustomerLoginFormAfter'}
{/block}
</form>
{/block}

View File

@@ -0,0 +1,34 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='my_account_links'}
<a href="{$urls.pages.my_account}" class="account-link">
<i class="material-icons">&#xE5CB;</i>
<span>{l s='Back to your account' d='Shop.Theme.Customeraccount'}</span>
</a>
<a href="{$urls.pages.index}" class="account-link">
<i class="material-icons">&#xE88A;</i>
<span>{l s='Home' d='Shop.Theme.Global'}</span>
</a>
{/block}

View File

@@ -0,0 +1,175 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='order_products_table'}
<div class="box hidden-sm-down">
<table id="order-products" class="table table-bordered">
<thead class="thead-default">
<tr>
<th>{l s='Product' d='Shop.Theme.Catalog'}</th>
<th>{l s='Quantity' d='Shop.Theme.Catalog'}</th>
<th>{l s='Unit price' d='Shop.Theme.Catalog'}</th>
<th>{l s='Total price' d='Shop.Theme.Catalog'}</th>
</tr>
</thead>
{foreach from=$order.products item=product}
<tr>
<td>
<strong>
<a {if isset($product.download_link)}href="{$product.download_link}"{/if}>
{$product.name}
</a>
</strong><br/>
{if $product.reference}
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.reference}<br/>
{/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}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
</div>
<div id="_desktop_product_customization_modal_wrapper_{$customization.id_customization}">
<div class="modal fade customization-modal" id="product-customizations-modal-{$customization.id_customization}" 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">&times;</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}
</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}
{/if}
{elseif $field.type == 'image'}
<img class="lazy" data-src="{$field.image.small.url}">
{/if}
</div>
</div>
{/foreach}
</div>
</div>
</div>
</div>
</div>
{/foreach}
{/if}
</td>
<td>
{if $product.customizations}
{foreach $product.customizations as $customization}
{$customization.quantity}
{/foreach}
{else}
{$product.quantity}
{/if}
</td>
<td class="text-xs-right">{$product.price}</td>
<td class="text-xs-right">{$product.total}</td>
</tr>
{/foreach}
<tfoot>
{foreach $order.subtotals as $line}
{if $line.value}
<tr class="text-xs-right line-{$line.type}">
<td colspan="3">{$line.label}</td>
<td>{$line.value}</td>
</tr>
{/if}
{/foreach}
<tr class="text-xs-right line-{$order.totals.total.type}">
<td colspan="3">{$order.totals.total.label}</td>
<td>{$order.totals.total.value}</td>
</tr>
</tfoot>
</table>
</div>
<div class="order-items hidden-md-up box">
{foreach from=$order.products item=product}
<div class="order-item">
<div class="row">
<div class="col-sm-5 desc">
<div class="name">{$product.name}</div>
{if $product.reference}
<div class="ref">{l s='Reference' d='Shop.Theme.Catalog'}: {$product.reference}</div>
{/if}
{if $product.customizations}
{foreach $product.customizations as $customization}
<div class="customization">
<a href="#" data-toggle="modal" data-target="#product-customizations-modal-{$customization.id_customization}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
</div>
<div id="_mobile_product_customization_modal_wrapper_{$customization.id_customization}">
</div>
{/foreach}
{/if}
</div>
<div class="col-sm-7 qty">
<div class="row">
<div class="col-xs-4 text-sm-left text-xs-left">
{$product.price}
</div>
<div class="col-xs-4">
{if $product.customizations}
{foreach $product.customizations as $customization}
{$customization.quantity}
{/foreach}
{else}
{$product.quantity}
{/if}
</div>
<div class="col-xs-4 text-xs-right">
{$product.total}
</div>
</div>
</div>
</div>
</div>
{/foreach}
</div>
<div class="order-totals hidden-md-up box">
{foreach $order.subtotals as $line}
{if $line.value}
<div class="order-total row">
<div class="col-xs-8"><strong>{$line.label}</strong></div>
<div class="col-xs-4 text-xs-right">{$line.value}</div>
</div>
{/if}
{/foreach}
<div class="order-total row">
<div class="col-xs-8"><strong>{$order.totals.total.label}</strong></div>
<div class="col-xs-4 text-xs-right">{$order.totals.total.value}</div>
</div>
</div>
{/block}

View File

@@ -0,0 +1,253 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='order_products_table'}
<form id="order-return-form" action="{$urls.pages.order_follow}" method="post">
<div class="box hidden-sm-down">
<table id="order-products" class="table table-bordered return">
<thead class="thead-default">
<tr>
<th class="head-checkbox"><input type="checkbox"/></th>
<th>{l s='Product' d='Shop.Theme.Catalog'}</th>
<th>{l s='Quantity' d='Shop.Theme.Catalog'}</th>
<th>{l s='Returned' d='Shop.Theme.Customeraccount'}</th>
<th>{l s='Unit price' d='Shop.Theme.Catalog'}</th>
<th>{l s='Total price' d='Shop.Theme.Catalog'}</th>
</tr>
</thead>
{foreach from=$order.products item=product name=products}
<tr>
<td>
{if !$product.customizations}
<span id="_desktop_product_line_{$product.id_order_detail}">
<input type="checkbox" id="cb_{$product.id_order_detail}" name="ids_order_detail[{$product.id_order_detail}]" value="{$product.id_order_detail}">
</span>
{else}
{foreach $product.customizations as $customization}
<span id="_desktop_product_customization_line_{$product.id_order_detail}_{$customization.id_customization}">
<input type="checkbox" id="cb_{$product.id_order_detail}" name="customization_ids[{$product.id_order_detail}][]" value="{$customization.id_customization}">
</span>
{/foreach}
{/if}
</td>
<td>
<strong>{$product.name}</strong><br/>
{if $product.reference}
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.reference}<br/>
{/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}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
</div>
<div id="_desktop_product_customization_modal_wrapper_{$customization.id_customization}">
<div class="modal fade customization-modal" id="product-customizations-modal-{$customization.id_customization}" 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">&times;</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}
</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}
{/if}
{elseif $field.type == 'image'}
<img class="lazy" data-src="{$field.image.small.url}">
{/if}
</div>
</div>
{/foreach}
</div>
</div>
</div>
</div>
</div>
{/foreach}
{/if}
</td>
<td class="qty">
{if !$product.customizations}
<div class="current">
{$product.quantity}
</div>
{if $product.quantity > $product.qty_returned}
<div class="select" id="_desktop_return_qty_{$product.id_order_detail}">
<select name="order_qte_input[{$product.id_order_detail}]" class="form-control form-control-select">
{section name=quantity start=1 loop=$product.quantity+1-$product.qty_returned}
<option value="{$smarty.section.quantity.index}">{$smarty.section.quantity.index}</option>
{/section}
</select>
</div>
{/if}
{else}
{foreach $product.customizations as $customization}
<div class="current">
{$customization.quantity}
</div>
<div class="select" id="_desktop_return_qty_{$product.id_order_detail}_{$customization.id_customization}">
<select
name="customization_qty_input[{$customization.id_customization}]"
class="form-control form-control-select"
>
{section name=quantity start=1 loop=$customization.quantity+1}
<option value="{$smarty.section.quantity.index}">{$smarty.section.quantity.index}</option>
{/section}
</select>
</div>
{/foreach}
<div class="clearfix"></div>
{/if}
</td>
<td class="text-xs-right">{$product.qty_returned}</td>
<td class="text-xs-right">{$product.price}</td>
<td class="text-xs-right">{$product.total}</td>
</tr>
{/foreach}
<tfoot>
{foreach $order.subtotals as $line}
{if $line.value}
<tr class="text-xs-right line-{$line.type}">
<td colspan="5">{$line.label}</td>
<td colspan="2">{$line.value}</td>
</tr>
{/if}
{/foreach}
<tr class="text-xs-right line-{$order.totals.total.type}">
<td colspan="5">{$order.totals.total.label}</td>
<td colspan="2">{$order.totals.total.value}</td>
</tr>
</tfoot>
</table>
</div>
<div class="order-items hidden-md-up box">
{foreach from=$order.products item=product}
<div class="order-item">
<div class="row">
<div class="checkbox">
{if !$product.customizations}
<span id="_mobile_product_line_{$product.id_order_detail}"></span>
{else}
{foreach $product.customizations as $customization}
<span id="_mobile_product_customization_line_{$product.id_order_detail}_{$customization.id_customization}"></span>
{/foreach}
{/if}
</div>
<div class="content">
<div class="row">
<div class="col-sm-5 desc">
<div class="name">{$product.name}</div>
{if $product.reference}
<div class="ref">{l s='Reference' d='Shop.Theme.Catalog'}: {$product.reference}</div>
{/if}
{if $product.customizations}
{foreach $product.customizations as $customization}
<div class="customization">
<a href="#" data-toggle="modal" data-target="#product-customizations-modal-{$customization.id_customization}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
</div>
<div id="_mobile_product_customization_modal_wrapper_{$customization.id_customization}">
</div>
{/foreach}
{/if}
</div>
<div class="col-sm-7 qty">
<div class="row">
<div class="col-xs-4 text-sm-left text-xs-left">
{$product.price}
</div>
<div class="col-xs-4">
{if $product.customizations}
{foreach $product.customizations as $customization}
<div class="q">{l s='Quantity' d='Shop.Theme.Catalog'}: {$customization.quantity}</div>
<div class="s" id="_mobile_return_qty_{$product.id_order_detail}_{$customization.id_customization}"></div>
{/foreach}
{else}
<div class="q">{l s='Quantity' d='Shop.Theme.Catalog'}: {$product.quantity}</div>
{if $product.quantity > $product.qty_returned}
<div class="s" id="_mobile_return_qty_{$product.id_order_detail}"></div>
{/if}
{/if}
{if $product.qty_returned > 0}
<div>{l s='Returned' d='Shop.Theme.Customeraccount'}: {$product.qty_returned}</div>
{/if}
</div>
<div class="col-xs-4 text-xs-right">
{$product.total}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/foreach}
</div>
<div class="order-totals hidden-md-up box">
{foreach $order.subtotals as $line}
{if $line.value}
<div class="order-total row">
<div class="col-xs-8"><strong>{$line.label}</strong></div>
<div class="col-xs-4 text-xs-right">{$line.value}</div>
</div>
{/if}
{/foreach}
<div class="order-total row">
<div class="col-xs-8"><strong>{$order.totals.total.label}</strong></div>
<div class="col-xs-4 text-xs-right">{$order.totals.total.value}</div>
</div>
</div>
<div class="box">
<header>
<h3>{l s='Merchandise return' d='Shop.Theme.Customeraccount'}</h3>
<p>{l s='If you wish to return one or more products, please mark the corresponding boxes and provide an explanation for the return. When complete, click the button below.' d='Shop.Theme.Customeraccount'}</p>
</header>
<section class="form-fields">
<div class="form-group">
<textarea cols="67" rows="3" name="returnText" class="form-control"></textarea>
</div>
</section>
<footer class="form-footer">
<input type="hidden" name="id_order" value="{$order.details.id}">
<button class="form-control-submit btn btn-primary" type="submit" name="submitReturnMerchandise">
{l s='Request a return' d='Shop.Theme.Customeraccount'}
</button>
</footer>
</div>
</form>
{/block}

View File

@@ -0,0 +1,86 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='order_messages_table'}
{if $order.messages}
<div class="box messages">
<h3>{l s='Messages' d='Shop.Theme.Customeraccount'}</h3>
{foreach from=$order.messages item=message}
<div class="message row">
<div class="col-sm-12 message-title">
{$message.name}
<span>{$message.message_date}</span>
</div>
<div class="col-sm-12 message-text">
{$message.message nofilter}
</div>
</div>
{/foreach}
</div>
{/if}
{/block}
{block name='order_message_form'}
<section class="order-message-form box">
<form action="{$urls.pages.order_detail}" method="post">
<header>
<h3>{l s='Add a message' d='Shop.Theme.Customeraccount'}</h3>
<p>{l s='If you would like to add a comment about your order, please write it in the field below.' d='Shop.Theme.Customeraccount'}</p>
</header>
<section class="form-fields">
<h3>DODAJ KOMENTARZ DO SWOJEGO ZAMÓWIENIA:</h3>
<div class="form-group row">
<label class="col-xs-12 form-control-label">{l s='Product' d='Shop.Forms.Labels'}</label>
<div class="col-xs-12">
<select name="id_product" class="form-control form-control-select">
<option value="0">{l s='-- please choose --' d='Shop.Forms.Labels'}</option>
{foreach from=$order.products item=product}
<option value="{$product.id_product}">{$product.name}</option>
{/foreach}
</select>
</div>
</div>
<div class="form-group row">
<label class="col-xs-12 form-control-label">{l s='Message' d='Shop.Forms.Labels'}</label>
<div class="col-xs-12">
<textarea rows="3" name="msgText" class="form-control"></textarea>
</div>
</div>
</section>
<footer class="form-footer text-sm-center">
<input type="hidden" name="id_order" value="{$order.details.id}">
<button type="submit" name="submitMessage" class="btn btn-primary form-control-submit">
{l s='Add comments' d='Shop.Theme.Actions'}
{* {l s='Send' d='Shop.Theme.Actions'} *}
</button>
</footer>
</form>
</section>
{/block}

View File

@@ -0,0 +1,39 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
{if $editing}
{l s='Update your address' d='Shop.Theme.Customeraccount'}
{else}
{l s='New address' d='Shop.Theme.Customeraccount'}
{/if}
{/block}
{block name='page_content'}
<div class="address-form">
{render template="customer/_partials/address-form.tpl" ui=$address_form}
</div>
{/block}

View File

@@ -0,0 +1,53 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
{l s='Your addresses' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
<div class="row">
<div class="col-sm-12">
<h4>{l s='ZAPISANE ADRESY' d='Shop.Theme.Actions'}</h4>
</div>
</div>
<div class="row">
{foreach $customer.addresses as $address}
<div class="col-lg-4 col-md-6 col-sm-6">
{block name='customer_address'}
{include file='customer/_partials/block-address.tpl' address=$address}
{/block}
</div>
{/foreach}
</div>
<div class="clearfix"></div>
<div class="addresses-footer">
<a href="{$urls.pages.address}" data-link-action="add-address">
{* <i class="material-icons">&#xE145;</i> *}
{l s='Create new address' d='Shop.Theme.Actions'}
</a>
</div>
{/block}

View File

@@ -0,0 +1,43 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='page.tpl'}
{block name='page_title'}
{l s='Log in to your account' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
{block name='login_form_container'}
<section class="login-form">
{render file='customer/_partials/login-form.tpl' ui=$login_form}
</section>
<hr/>
<div class="no-account">
<a href="{$urls.pages.register}" data-link-action="display-register-form">
{l s='No account? Create one here' d='Shop.Theme.Customeraccount'}
</a>
</div>
{/block}
{/block}

View File

@@ -0,0 +1,96 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
{l s='Your vouchers' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
{if $cart_rules}
<table class="table table-striped table-bordered hidden-sm-down">
<thead class="thead-default">
<tr>
<th>{l s='Code' d='Shop.Theme.Checkout'}</th>
<th>{l s='Description' d='Shop.Theme.Checkout'}</th>
<th>{l s='Quantity' d='Shop.Theme.Checkout'}</th>
<th>{l s='Value' d='Shop.Theme.Checkout'}</th>
<th>{l s='Minimum' d='Shop.Theme.Checkout'}</th>
<th>{l s='Cumulative' d='Shop.Theme.Checkout'}</th>
<th>{l s='Expiration date' d='Shop.Theme.Checkout'}</th>
</tr>
</thead>
<tbody>
{foreach from=$cart_rules item=cart_rule}
<tr>
<th scope="row">{$cart_rule.code}</th>
<td>{$cart_rule.name}</td>
<td class="text-xs-right">{$cart_rule.quantity_for_user}</td>
<td>{$cart_rule.value}</td>
<td>{$cart_rule.voucher_minimal}</td>
<td>{$cart_rule.voucher_cumulable}</td>
<td>{$cart_rule.voucher_date}</td>
</tr>
{/foreach}
</tbody>
</table>
<div class="cart-rules hidden-md-up">
{foreach from=$cart_rules item=cart_rule}
<div class="cart-rule">
<ul>
<li>
<strong>{l s='Code' d='Shop.Theme.Checkout'}</strong>
{$cart_rule.code}
</li>
<li>
<strong>{l s='Description' d='Shop.Theme.Checkout'}</strong>
{$cart_rule.name}
</li>
<li>
<strong>{l s='Quantity' d='Shop.Theme.Checkout'}</strong>
{$cart_rule.quantity_for_user}
</li>
<li>
<strong>{l s='Value' d='Shop.Theme.Checkout'}</strong>
{$cart_rule.value}
</li>
<li>
<strong>{l s='Minimum' d='Shop.Theme.Checkout'}</strong>
{$cart_rule.voucher_minimal}
</li>
<li>
<strong>{l s='Cumulative' d='Shop.Theme.Checkout'}</strong>
{$cart_rule.voucher_cumulable}
</li>
<li>
<strong>{l s='Expiration date' d='Shop.Theme.Checkout'}</strong>
{$cart_rule.voucher_date}
</li>
</ul>
</div>
{/foreach}
</div>
{/if}
{/block}

View File

@@ -0,0 +1,79 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='page.tpl'}
{block name='page_title'}
{l s='Guest Order Tracking' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
<form id="guestOrderTrackingForm" action="{$urls.pages.guest_tracking}" method="get">
<header>
<p>{l s='To track your order, please enter the following information:' d='Shop.Theme.Customeraccount'}</p>
</header>
<section class="form-fields">
<div class="form-group row">
<label class="col-md-3 form-control-label required">
{l s='Order Reference:' d='Shop.Forms.Labels'}
</label>
<div class="col-md-6">
<input
class="form-control"
name="order_reference"
type="text"
size="8"
value="{if isset($smarty.request.order_reference)}{$smarty.request.order_reference}{/if}"
>
<div class="form-control-comment">
{l s='For example: QIIXJXNUI or QIIXJXNUI#1' d='Shop.Theme.Customeraccount'}
</div>
</div>
</div>
<div class="form-group row">
<label class="col-md-3 form-control-label required">
{l s='Email:' d='Shop.Forms.Labels'}
</label>
<div class="col-md-6">
<input
class="form-control"
name="email"
type="email"
value="{if isset($smarty.request.email)}{$smarty.request.email}{/if}"
>
</div>
</div>
</section>
<footer class="form-footer text-sm-center clearfix">
<button class="btn btn-primary" type="submit">
{l s='Send' d='Shop.Theme.Actions'}
</button>
</footer>
</form>
{/block}

View File

@@ -0,0 +1,70 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='customer/order-detail.tpl'}
{block name='page_title'}
{l s='Guest Tracking' d='Shop.Theme.Customeraccount'}
{/block}
{block name='order_detail'}
{include file='customer/_partials/order-detail-no-return.tpl'}
{/block}
{block name='order_messages'}
{/block}
{block name='page_content' append}
{block name='guest_to_customer'}
<form action="{$urls.pages.guest_tracking}" method="post">
<header>
<h1 class="h3">{l s='Transform your guest account into a customer account and enjoy:' d='Shop.Theme.Customeraccount'}</h1>
<ul>
<li> -{l s='Personalized and secure access' d='Shop.Theme.Customeraccount'}</li>
<li> -{l s='Fast and easy checkout' d='Shop.Theme.Customeraccount'}</li>
<li> -{l s='Easier merchandise return' d='Shop.Theme.Customeraccount'}</li>
</ul>
</header>
<section class="form-fields">
<label>
<span>{l s='Set your password:' d='Shop.Forms.Labels'}</span>
<input type="password" data-validate="isPasswd" name="password" value="">
</label>
</section>
<footer class="form-footer">
<input type="hidden" name="submitTransformGuestToCustomer" value="1">
<input type="hidden" name="id_order" value="{$order.details.id}">
<input type="hidden" name="order_reference" value="{$order.details.reference}">
<input type="hidden" name="email" value="{$guest_email}">
<button class="btn btn-primary" type="submit">{l s='Send' d='Shop.Theme.Actions'}</button>
</footer>
</form>
{/block}
{/block}

View File

@@ -0,0 +1,125 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
{l s='Order history' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
<h6>{l s='Here are the orders you\'ve placed since your account was created.' d='Shop.Theme.Customeraccount'}</h6>
{if $orders}
<div class="table-layout">
<table class="table table-striped table-bordered table-labeled hidden-sm-down">
<thead class="thead-default">
<tr>
<th>{l s='Order reference' d='Shop.Theme.Checkout'}</th>
<th>{l s='Date' d='Shop.Theme.Checkout'}</th>
<th>{l s='Total price' d='Shop.Theme.Checkout'}</th>
<th class="hidden-md-down">{l s='Payment' d='Shop.Theme.Checkout'}</th>
<th class="hidden-md-down">{l s='Status' d='Shop.Theme.Checkout'}</th>
<th>{l s='Invoice' d='Shop.Theme.Checkout'}</th>
<th>&nbsp;</th>
</tr>
</thead>
<tbody>
{foreach from=$orders item=order}
<tr>
<th scope="row">{$order.details.reference}</th>
<td>{$order.details.order_date}</td>
<td class="text-xs-right">{$order.totals.total.value}</td>
<td class="hidden-md-down">{$order.details.payment}</td>
<td>
{$order.history.current.ostate_name}
{* <span
class="label label-pill {$order.history.current.contrast}"
style="background-color:{$order.history.current.color}"
>
{$order.history.current.ostate_name}
</span> *}
</td>
<td class="text-sm-center hidden-md-down">
{if $order.details.invoice_url}
<a href="{$order.details.invoice_url}"><i class="material-icons">&#xE415;</i></a>
{else}
-
{/if}
</td>
<td class="text-sm-center order-actions">
<a class="btn btn1" href="{$order.details.details_url}" data-link-action="view-order-details">
{l s='Details' d='Shop.Theme.Customeraccount'}
</a>
{if $order.details.reorder_url}
<a class="btn btn2" href="{$order.details.reorder_url}">{l s='Reorder' d='Shop.Theme.Actions'}</a>
{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<div class="orders hidden-md-up">
{foreach from=$orders item=order}
<div class="order">
<div class="row">
<div class="col-xs-10">
<a href="{$order.details.details_url}"><h3>{$order.details.reference}</h3></a>
<div class="date">{$order.details.order_date}</div>
<div class="total">{$order.totals.total.value}</div>
<div class="status">
<span
class="label label-pill {$order.history.current.contrast}"
style="background-color:{$order.history.current.color}"
>
{$order.history.current.ostate_name}
</span>
</div>
</div>
<div class="col-xs-2 text-xs-right">
<div>
<a href="{$order.details.details_url}" data-link-action="view-order-details" title="{l s='Details' d='Shop.Theme.Customeraccount'}">
<i class="material-icons">&#xE8B6;</i>
</a>
</div>
{if $order.details.reorder_url}
<div>
<a href="{$order.details.reorder_url}" title="{l s='Reorder' d='Shop.Theme.Actions'}">
<i class="material-icons">&#xE863;</i>
</a>
</div>
{/if}
</div>
</div>
</div>
{/foreach}
</div>
{else}
<div class="products-not-found">
<span class="no-items">{l s='There are no more items in your cart' d='Shop.Theme.Checkout'}</span>
<img src="/themes/at_movic/assets/img/step.svg" alt="">
</div>
{/if}
{/block}

View File

@@ -0,0 +1,33 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends 'customer/page.tpl'}
{block name='page_title'}
{l s='Your personal information' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
{render file='customer/_partials/customer-form.tpl' ui=$customer_form}
{/block}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,116 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
{l s='Your account' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
<div class="row">
<div class="links">
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="identity-link" href="{$urls.pages.identity}">
<span class="link-item">
{* <i class="material-icons">&#xE853;</i> *}
<img src="/themes/at_movic/assets/img/icons/DANE OSOBOWE.svg" alt="">
{l s='Information' d='Shop.Theme.Customeraccount'}
</span>
</a>
{block name='display_customer_account'}
{hook h='displayCustomerAccount'}
{/block}
{if !$configuration.is_catalog}
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="history-link" href="{$urls.pages.history}">
<span class="link-item">
{* <i class="material-icons">&#xE916;</i> *}
<img src="/themes/at_movic/assets/img/icons/HISTORIA ZAMOWIEN.svg" alt="">
{l s='Order history and details' d='Shop.Theme.Customeraccount'}
</span>
</a>
{/if}
{if $customer.addresses|count}
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="addresses-link" href="{$urls.pages.addresses}">
<span class="link-item">
{* <i class="material-icons">&#xE56A;</i> *}
<img src="/themes/at_movic/assets/img/icons/ADRESY.svg" alt="">
{l s='Addresses' d='Shop.Theme.Customeraccount'}
</span>
</a>
{else}
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="address-link" href="{$urls.pages.address}">
<span class="link-item">
{* <i class="material-icons">&#xE567;</i> *}
<img src="/themes/at_movic/assets/img/icons/ADRESY.svg" alt="">
{l s='Add first address' d='Shop.Theme.Customeraccount'}
</span>
</a>
{/if}
{if !$configuration.is_catalog}
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="order-slips-link" href="{$urls.pages.order_slip}">
<span class="link-item">
<i class="material-icons">&#xE8B0;</i>
{l s='Credit slips' d='Shop.Theme.Customeraccount'}
</span>
</a>
{/if}
{if $configuration.voucher_enabled && !$configuration.is_catalog}
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="discounts-link" href="{$urls.pages.discount}">
<span class="link-item">
<i class="material-icons">&#xE54E;</i>
{l s='Vouchers' d='Shop.Theme.Customeraccount'}
</span>
</a>
{/if}
{if $configuration.return_enabled && !$configuration.is_catalog}
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="returns-link" href="{$urls.pages.order_follow}">
<span class="link-item">
<i class="material-icons">&#xE860;</i>
{l s='Merchandise returns' d='Shop.Theme.Customeraccount'}
</span>
</a>
{/if}
</div>
</div>
{/block}
{block name='page_footer'}
{block name='my_account_links'}
<div class="text-sm-center">
<a href="{$logout_url}" >
{l s='Sign out' d='Shop.Theme.Actions'}
</a>
</div>
{/block}
{/block}

View File

@@ -0,0 +1,220 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
{l s='Order details' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
{block name='order_infos'}
<div id="order-infos">
<div class="box box1">
<div class="row">
<div class="col-xs-{if $order.details.reorder_url}7{else}12{/if}">
<strong>
{l
s='Order Reference %reference% - placed on <span>%date%</span>'
d='Shop.Theme.Customeraccount'
sprintf=['%reference%' => $order.details.reference, '%date%' => $order.details.order_date]
}
</strong>
</div>
{if $order.details.reorder_url}
<div class="col-xs-5 text-xs-right">
<a href="{$order.details.reorder_url}" class="button-primary">{l s='Reorder' d='Shop.Theme.Actions'}</a>
</div>
{/if}
<div class="clearfix"></div>
</div>
</div>
<div class="box box2" >
<ul>
<li><strong>{l s='Carrier' d='Shop.Theme.Checkout'}:</strong> {$order.carrier.name}</li>
<li><strong>{l s='Payment method' d='Shop.Theme.Checkout'}:</strong> {$order.details.payment}</li>
{if $order.details.invoice_url}
<li>
<a href="{$order.details.invoice_url}">
{l s='Download your invoice as a PDF file.' d='Shop.Theme.Customeraccount'}
</a>
</li>
{/if}
{if $order.details.recyclable}
<li>
{l s='You have given permission to receive your order in recycled packaging.' d='Shop.Theme.Customeraccount'}
</li>
{/if}
{if $order.details.gift_message}
<li>{l s='You have requested gift wrapping for this order.' d='Shop.Theme.Customeraccount'}</li>
<li>{l s='Message' d='Shop.Theme.Customeraccount'} {$order.details.gift_message nofilter}</li>
{/if}
</ul>
</div>
</div>
{/block}
{block name='order_history'}
<section id="order-history" class="box">
<h3>{l s='Follow your order\'s status step-by-step' d='Shop.Theme.Customeraccount'}</h3>
<table class="table table-striped table-bordered table-labeled hidden-xs-down">
<thead class="thead-default">
<tr>
<th>{l s='Date' d='Shop.Theme.Global'}</th>
<th>{l s='Status' d='Shop.Theme.Global'}</th>
</tr>
</thead>
<tbody>
{foreach from=$order.history item=state}
<tr>
<td>{$state.history_date}</td>
<td>
{$state.ostate_name}
{* <span class="label label-pill {$state.contrast}" style="background-color:{$state.color}">
{$state.ostate_name}
</span> *}
</td>
</tr>
{/foreach}
</tbody>
</table>
<div class="hidden-sm-up history-lines">
{foreach from=$order.history item=state}
<div class="history-line">
<div class="date">{$state.history_date}</div>
<div class="state">
<span class="label label-pill {$state.contrast}" style="background-color:{$state.color}">
{$state.ostate_name}
</span>
</div>
</div>
{/foreach}
</div>
</section>
{/block}
{if $order.follow_up}
<div class="box">
<p>{l s='Click the following link to track the delivery of your order' d='Shop.Theme.Customeraccount'}</p>
<a href="{$order.follow_up}">{$order.follow_up}</a>
</div>
{/if}
{block name='addresses'}
<div class="addresses">
<div class="col-xs-12">
{if $order.addresses.delivery}
<div class="addresses-tile">
<h3 class="h2">{l s='Delivery address' d='Shop.Theme.Customeraccount'}:</h3>
<article id="delivery-address" class="box">
<h4>{$order.addresses.delivery.alias}</h4>
{* <h4>{l s='Delivery address %alias%' d='Shop.Theme.Checkout' sprintf=['%alias%' => $order.addresses.delivery.alias]}</h4> *}
<address>{$order.addresses.delivery.formatted nofilter}</address>
</article>
</div>
{/if}
<div class="addresses-tile">
<h3 class="h2">{l s='Invoice address' d='Shop.Theme.Customeraccount'}:</h3>
<article id="invoice-address" class="box">
<h4>{$order.addresses.invoice.alias}</h4>
{* <h4>{l s='Invoice address %alias%' d='Shop.Theme.Checkout' sprintf=['%alias%' => $order.addresses.invoice.alias]}</h4> *}
<address>{$order.addresses.invoice.formatted nofilter}</address>
</article>
</div>
</div>
<div class="clearfix"></div>
</div>
{/block}
{$HOOK_DISPLAYORDERDETAIL nofilter}
{block name='order_detail'}
{if $order.details.is_returnable}
{include file='customer/_partials/order-detail-return.tpl'}
{else}
{include file='customer/_partials/order-detail-no-return.tpl'}
{/if}
{/block}
{block name='order_carriers'}
{if $order.shipping}
<div class="box">
<table class="table table-striped table-bordered hidden-sm-down">
<thead class="thead-default">
<tr>
<th>{l s='Date' d='Shop.Theme.Global'}</th>
<th>{l s='Carrier' d='Shop.Theme.Checkout'}</th>
<th>{l s='Weight' d='Shop.Theme.Checkout'}</th>
<th>{l s='Shipping cost' d='Shop.Theme.Checkout'}</th>
<th>{l s='Tracking number' d='Shop.Theme.Checkout'}</th>
</tr>
</thead>
<tbody>
{foreach from=$order.shipping item=line}
<tr>
<td>{$line.shipping_date}</td>
<td>{$line.carrier_name}</td>
<td>{$line.shipping_weight}</td>
<td>{$line.shipping_cost}</td>
<td>{$line.tracking nofilter}</td>
</tr>
{/foreach}
</tbody>
</table>
<div class="hidden-md-up shipping-lines">
{foreach from=$order.shipping item=line}
<div class="shipping-line">
<ul>
<li>
<strong>{l s='Date' d='Shop.Theme.Global'}</strong> {$line.shipping_date}
</li>
<li>
<strong>{l s='Carrier' d='Shop.Theme.Checkout'}</strong> {$line.carrier_name}
</li>
<li>
<strong>{l s='Weight' d='Shop.Theme.Checkout'}</strong> {$line.shipping_weight}
</li>
<li>
<strong>{l s='Shipping cost' d='Shop.Theme.Checkout'}</strong> {$line.shipping_cost}
</li>
<li>
<strong>{l s='Tracking number' d='Shop.Theme.Checkout'}</strong> {$line.tracking nofilter}
</li>
</ul>
</div>
{/foreach}
</div>
</div>
{/if}
{/block}
{block name='order_messages'}
{include file='customer/_partials/order-messages.tpl'}
{/block}
{/block}

View File

@@ -0,0 +1,98 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
{l s='Merchandise returns' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
{if $ordersReturn && count($ordersReturn)}
<h6>{l s='Here is a list of pending merchandise returns' d='Shop.Theme.Customeraccount'}</h6>
<table class="table table-striped table-bordered hidden-sm-down">
<thead class="thead-default">
<tr>
<th>{l s='Order' d='Shop.Theme.Customeraccount'}</th>
<th>{l s='Return' d='Shop.Theme.Customeraccount'}</th>
<th>{l s='Package status' d='Shop.Theme.Customeraccount'}</th>
<th>{l s='Date issued' d='Shop.Theme.Customeraccount'}</th>
<th>{l s='Returns form' d='Shop.Theme.Customeraccount'}</th>
</tr>
</thead>
<tbody>
{foreach from=$ordersReturn item=return}
<tr>
<td><a href="{$return.details_url}">{$return.reference}</a></td>
<td><a href="{$return.return_url}">{$return.return_number}</a></td>
<td>{$return.state_name}</td>
<td>{$return.return_date}</td>
<td class="text-sm-center">
{if $return.print_url}
<a href="{$return.print_url}">{l s='Print out' d='Shop.Theme.Actions'}</a>
{else}
-
{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
<div class="order-returns hidden-md-up">
{foreach from=$ordersReturn item=return}
<div class="order-return">
<ul>
<li>
<strong>{l s='Order' d='Shop.Theme.Customeraccount'}</strong>
<a href="{$return.details_url}">{$return.reference}</a>
</li>
<li>
<strong>{l s='Return' d='Shop.Theme.Customeraccount'}</strong>
<a href="{$return.return_url}">{$return.return_number}</a>
</li>
<li>
<strong>{l s='Package status' d='Shop.Theme.Customeraccount'}</strong>
{$return.state_name}
</li>
<li>
<strong>{l s='Date issued' d='Shop.Theme.Customeraccount'}</strong>
{$return.return_date}
</li>
{if $return.print_url}
<li>
<strong>{l s='Returns form' d='Shop.Theme.Customeraccount'}</strong>
<a href="{$return.print_url}">{l s='Print out' d='Shop.Theme.Actions'}</a>
</li>
{/if}
</ul>
</div>
{/foreach}
</div>
{/if}
{/block}

View File

@@ -0,0 +1,158 @@
{*
* @Module Name: AP Page Builder
* @Website: apollotheme.com - prestashop template provider
* @author Apollotheme <apollotheme@gmail.com>
* @copyright Apollotheme
* @description: ApPageBuilder is module help you can build content for your shop
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
<h1 class="h1">{l s='Return details' d='Shop.Theme.Customeraccount'}</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.Customeraccount'
sprintf=['%number%' => $return.return_number, '%date%' => $return.return_date]}
</strong>
</p>
<p>{l s='We have logged your return request.' d='Shop.Theme.Customeraccount'}</p>
<p>{l
s='Your package must be returned to us within %number% days of receiving your order.'
d='Shop.Theme.Customeraccount'
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.Customeraccount'
sprintf=[
'[1]' => '<strong>',
'[/1]' => '</strong>',
'%status%' => $return.state_name
]
}
</p>
<p>{l s='List of items to be returned:' d='Shop.Theme.Customeraccount'}</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}</strong>
{if $product.product_reference}
<br />
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}
{/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}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
</div>
<div class="modal fade customization-modal" id="product-customizations-modal-{$customization.id_customization}" 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">&times;</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}
</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}
{/if}
{elseif $field.type == 'image'}
<img class="lazy" data-src="{$field.image.small.url}">
{/if}
</div>
</div>
{/foreach}
</div>
</div>
</div>
</div>
{/foreach}
{/if}
</td>
<td>
{$product.product_quantity}
</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.Customeraccount'}</h3>
<p class="card-text">
{l
s='All merchandise must be returned in its original packaging and in its original state.'
d='Shop.Theme.Customeraccount'
}<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.Customeraccount'
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.Customeraccount'
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.Customeraccount'
}<br>
<a href="{$urls.pages.contact}">
{l
s='Please let us know if you have any questions.'
d='Shop.Theme.Customeraccount'
}
</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.Customeraccount'
}
</p>
</div>
</section>
{/if}
{/block}

View File

@@ -0,0 +1,80 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='customer/page.tpl'}
{block name='page_title'}
{l s='Credit slips' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
<h6>{l s='Credit slips you have received after canceled orders.' d='Shop.Theme.Customeraccount'}</h6>
{if $credit_slips}
<table class="table table-striped table-bordered hidden-sm-down">
<thead class="thead-default">
<tr>
<th>{l s='Order' d='Shop.Theme.Customeraccount'}</th>
<th>{l s='Credit slip' d='Shop.Theme.Customeraccount'}</th>
<th>{l s='Date issued' d='Shop.Theme.Customeraccount'}</th>
<th>{l s='View credit slip' d='Shop.Theme.Customeraccount'}</th>
</tr>
</thead>
<tbody>
{foreach from=$credit_slips item=slip}
<tr>
<td><a href="{$slip.order_url_details}" data-link-action="view-order-details">{$slip.order_reference}</a></td>
<td scope="row">{$slip.credit_slip_number}</td>
<td>{$slip.credit_slip_date}</td>
<td class="text-sm-center">
<a href="{$slip.url}"><i class="material-icons">&#xE415;</i></a>
</td>
</tr>
{/foreach}
</tbody>
</table>
<div class="credit-slips hidden-md-up">
{foreach from=$credit_slips item=slip}
<div class="credit-slip">
<ul>
<li>
<strong>{l s='Order' d='Shop.Theme.Customeraccount'}</strong>
<a href="{$slip.order_url_details}" data-link-action="view-order-details">{$slip.order_reference}</a>
</li>
<li>
<strong>{l s='Credit slip' d='Shop.Theme.Customeraccount'}</strong>
{$slip.credit_slip_number}
</li>
<li>
<strong>{l s='Date issued' d='Shop.Theme.Customeraccount'}</strong>
{$slip.credit_slip_date}
</li>
<li>
<a href="{$slip.url}">{l s='View credit slip' d='Shop.Theme.Customeraccount'}</a>
</li>
</ul>
</div>
{/foreach}
</div>
{/if}
{/block}

View File

@@ -0,0 +1,46 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='page.tpl'}
{block name='notifications'}{/block}
{block name='page_content_container'}
<section id="content" class="page-content">
{block name='page_content_top'}
{block name='customer_notifications'}
{include file='_partials/notifications.tpl'}
{/block}
{/block}
{block name='page_content'}
<!-- Page content -->
{/block}
</section>
{/block}
{block name='page_footer'}
{block name='my_account_links'}
{include file='customer/_partials/my-account-links.tpl'}
{/block}
{/block}

View File

@@ -0,0 +1,74 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='page.tpl'}
{block name='page_title'}
{l s='Forgot your password?' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
<form action="{$urls.pages.password}" class="forgotten-password" method="post">
<ul class="ps-alert-error">
{foreach $errors as $error}
<li class="item">
<i>
<svg viewBox="0 0 24 24">
<path fill="#fff" d="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"></path>
</svg>
</i>
<p>{$error}</p>
</li>
{/foreach}
</ul>
<header>
<p class="send-renew-password-link">{l s='Please enter the email address you used to register. You will receive a temporary link to reset your password.' d='Shop.Theme.Customeraccount'}</p>
</header>
<section class="form-fields">
<div class="form-group center-email-fields row">
<label class="col-md-3 form-control-label required">{l s='Email address' d='Shop.Forms.Labels'}</label>
<div class="col-md-5 email">
<input type="email" name="email" id="email" value="{if isset($smarty.post.email)}{$smarty.post.email|stripslashes}{/if}" class="form-control" required>
</div>
<button class="form-control-submit btn btn-primary hidden-xs-down" name="submit" type="submit">
{l s='Send reset link' d='Shop.Theme.Actions'}
</button>
<button class="form-control-submit btn btn-primary hidden-sm-up" name="submit" type="submit">
{l s='Send' d='Shop.Theme.Actions'}
</button>
</div>
</section>
</form>
{/block}
{block name='page_footer'}
<a href="{$urls.pages.my_account}" class="account-link">
<i class="material-icons">&#xE5CB;</i>
<span>{l s='Back to Login' d='Shop.Theme.Actions'}</span>
</a>
{/block}

View File

@@ -0,0 +1,50 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='page.tpl'}
{block name='page_title'}
{l s='Forgot your password?' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
<ul class="ps-alert-success">
{foreach $successes as $success}
<li class="item">
<i>
<svg viewBox="0 0 24 24">
<path fill="#fff" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" />
</svg>
</i>
<p>{$success}</p>
</li>
{/foreach}
</ul>
{/block}
{block name='page_footer'}
<ul>
<li><a href="{$urls.pages.authentication}">{l s='Back to Login' d='Shop.Theme.Actions'}</a></li>
</ul>
{/block}

View File

@@ -0,0 +1,90 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='page.tpl'}
{block name='page_title'}
{l s='Reset your password' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
<form action="{$urls.pages.password}" method="post">
<ul class="ps-alert-error">
{foreach $errors as $error}
<li class="item">
<i>
<svg viewBox="0 0 24 24">
<path fill="#fff" d="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"></path>
</svg>
</i>
<p>{$error}</p>
</li>
{/foreach}
</ul>
<section class="form-fields renew-password">
<div class="email">
{l
s='Email address: %email%'
d='Shop.Theme.Customeraccount'
sprintf=['%email%' => $customer_email|stripslashes]}
</div>
<div class="container-fluid">
<div class="row form-group">
<label class="form-control-label col-md-3 offset-md-2">{l s='New password' d='Shop.Forms.Labels'}</label>
<div class="col-md-4">
<input class="form-control" type="password" data-validate="isPasswd" name="passwd" value="">
</div>
</div>
<div class="row form-group">
<label class="form-control-label col-md-3 offset-md-2">{l s='Confirmation' d='Shop.Forms.Labels'}</label>
<div class="col-md-4">
<input class="form-control" type="password" data-validate="isPasswd" name="confirmation" value="">
</div>
</div>
<input type="hidden" name="token" id="token" value="{$customer_token}">
<input type="hidden" name="id_customer" id="id_customer" value="{$id_customer}">
<input type="hidden" name="reset_token" id="reset_token" value="{$reset_token}">
<div class="row form-group">
<div class="offset-md-5">
<button class="btn btn-outline" type="submit" name="submit">
{l s='Change Password' d='Shop.Theme.Actions'}
</button>
</div>
</div>
</div>
</section>
</form>
{/block}
{block name='page_footer'}
<ul>
<li><a href="{$urls.pages.authentication}">{l s='Back to Login' d='Shop.Theme.Actions'}</a></li>
</ul>
{/block}

View File

@@ -0,0 +1,39 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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 <contact@prestashop.com>
* @copyright PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='page.tpl'}
{block name='page_title'}
{l s='Create an account' d='Shop.Theme.Customeraccount'}
{/block}
{block name='page_content'}
{block name='register_form_container'}
{$hook_create_account_top nofilter}
<section class="register-form">
<p>{l s='Already have an account?' d='Shop.Theme.Customeraccount'} <a href="{$urls.pages.authentication}">{l s='Log in instead!' d='Shop.Theme.Customeraccount'}</a></p>
{render file='customer/_partials/customer-form.tpl' ui=$register_form}
</section>
{/block}
{/block}