first commit
This commit is contained in:
57
themes/at_movic/templates/_partials/BK-javascript.tpl
Normal file
57
themes/at_movic/templates/_partials/BK-javascript.tpl
Normal file
@@ -0,0 +1,57 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
{foreach $javascript.external as $js}
|
||||
<script type="text/javascript" src="{$js.uri}" {$js.attribute}></script>
|
||||
{/foreach}
|
||||
|
||||
{foreach $javascript.inline as $js}
|
||||
<script type="text/javascript">
|
||||
{$js.content nofilter}
|
||||
</script>
|
||||
{/foreach}
|
||||
|
||||
{if isset($vars) && $vars|@count}
|
||||
<script type="text/javascript">
|
||||
{foreach from=$vars key=var_name item=var_value}
|
||||
var {$var_name} = {$var_value|json_encode nofilter};
|
||||
{/foreach}
|
||||
</script>
|
||||
{/if}
|
||||
<script type="text/javascript">
|
||||
var choosefile_text = "{l s='Choose file' d='Shop.Theme.Actions'}";
|
||||
var turnoff_popup_text = "{l s='Do not show this popup again' d='Shop.Theme.Actions'}";
|
||||
|
||||
var size_item_quickview = 82;
|
||||
var style_scroll_quickview = 'vertical';
|
||||
|
||||
var size_item_page = 113;
|
||||
var style_scroll_page = 'horizontal';
|
||||
|
||||
var size_item_quickview_attr = 101;
|
||||
var style_scroll_quickview_attr = 'vertical';
|
||||
|
||||
var size_item_popup = 160;
|
||||
var style_scroll_popup = 'vertical';
|
||||
</script>
|
||||
80
themes/at_movic/templates/_partials/breadcrumb.tpl
Normal file
80
themes/at_movic/templates/_partials/breadcrumb.tpl
Normal 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
|
||||
*}
|
||||
|
||||
{assign var="leobrbg" value={hook h="pagebuilderConfig" configName="leobrbg"}}
|
||||
{assign var="leobrcolor" value={hook h="pagebuilderConfig" configName="leobrcolor"}}
|
||||
{assign var="leobgfull" value={hook h="pagebuilderConfig" configName="leobgfull"}}
|
||||
{assign var="leobgheight" value={hook h="pagebuilderConfig" configName="leobgheight"}}
|
||||
{assign var="leobrtext" value={hook h="pagebuilderConfig" configName="leobrtext"}}
|
||||
|
||||
{if $leobrbg || $leobrcolor}
|
||||
<div class="breadcrumb-bg {$leobrtext} {if $leobgfull}breadcrumb-full{/if}" style="{if $leobrbg}background-image: {if $leobrbg}url({if $page.page_name == 'category' && $leobrbg == 'catimg' && $category.image.large.url != ''}{$category.image.large.url}{else}{$leobrbg}{/if}){/if};{/if}{if $leobrcolor} background-color:{$leobrcolor};{/if}{if $leobgheight} min-height:{$leobgheight};{/if} ">
|
||||
{if isset($leobgfull) && $leobgfull}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<nav data-depth="{$breadcrumb.count}" class="breadcrumb hidden-sm-down">
|
||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
{block name='breadcrumb'}
|
||||
{foreach from=$breadcrumb.links item=path name=breadcrumb}
|
||||
{block name='breadcrumb_item'}
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<a itemprop="item" href="{$path.url}">
|
||||
<span itemprop="name">{$path.title}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="{$smarty.foreach.breadcrumb.iteration}">
|
||||
</li>
|
||||
{/block}
|
||||
{/foreach}
|
||||
{/block}
|
||||
</ol>
|
||||
</nav>
|
||||
{if isset($leobgfull) && $leobgfull}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{else}
|
||||
<nav data-depth="{$breadcrumb.count}" class="breadcrumb hidden-sm-down">
|
||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
{block name='breadcrumb'}
|
||||
{foreach from=$breadcrumb.links item=path name=breadcrumb}
|
||||
{block name='breadcrumb_item'}
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
{if $smarty.foreach.breadcrumb.iteration == "1"}
|
||||
<a itemprop="item" href="{$path.url}">
|
||||
<img src="/themes/at_movic/assets/img/modules/appagebuilder/images/home_icon.svg" alt="name">
|
||||
</a>
|
||||
{else}
|
||||
<a itemprop="item" href="{$path.url}">
|
||||
<span itemprop="name">{$path.title}</span>
|
||||
</a>
|
||||
{/if}
|
||||
<meta itemprop="position" content="{$smarty.foreach.breadcrumb.iteration}">
|
||||
</li>
|
||||
{/block}
|
||||
{/foreach}
|
||||
{/block}
|
||||
</ol>
|
||||
</nav>
|
||||
{/if}
|
||||
40
themes/at_movic/templates/_partials/breadcrumb_old.tpl
Normal file
40
themes/at_movic/templates/_partials/breadcrumb_old.tpl
Normal file
@@ -0,0 +1,40 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<nav data-depth="{$breadcrumb.count}" class="breadcrumb hidden-sm-down">
|
||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
{block name='breadcrumb'}
|
||||
{foreach from=$breadcrumb.links item=path name=breadcrumb}
|
||||
{block name='breadcrumb_item'}
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<a itemprop="item" href="{$path.url}">
|
||||
<span itemprop="name">{$path.title}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="{$smarty.foreach.breadcrumb.iteration}">
|
||||
</li>
|
||||
{/block}
|
||||
{/foreach}
|
||||
{/block}
|
||||
</ol>
|
||||
</nav>
|
||||
60
themes/at_movic/templates/_partials/footer.tpl
Normal file
60
themes/at_movic/templates/_partials/footer.tpl
Normal file
@@ -0,0 +1,60 @@
|
||||
{**
|
||||
* 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='hook_footer_before'}
|
||||
<div class="footer-top">
|
||||
{if isset($fullwidth_hook.displayFooterBefore) AND $fullwidth_hook.displayFooterBefore == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooterBefore'}</div>
|
||||
{if isset($fullwidth_hook.displayFooterBefore) AND $fullwidth_hook.displayFooterBefore == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
{block name='hook_footer'}
|
||||
<div class="footer-center">
|
||||
{if isset($fullwidth_hook.displayFooter) AND $fullwidth_hook.displayFooter == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooter'}</div>
|
||||
{if isset($fullwidth_hook.displayFooter) AND $fullwidth_hook.displayFooter == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
{block name='hook_footer_after'}
|
||||
<div class="footer-bottom">
|
||||
{if isset($fullwidth_hook.displayFooterAfter) AND $fullwidth_hook.displayFooterAfter == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooterAfter'}</div>
|
||||
{if isset($fullwidth_hook.displayFooterAfter) AND $fullwidth_hook.displayFooterAfter == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
<script src="/themes/at_movic/assets/plugins/splide/splide.js"></script>
|
||||
<script src="/themes/at_movic/assets/plugins/splide/splide-auto-scroll.js"></script>
|
||||
35
themes/at_movic/templates/_partials/form-errors.tpl
Normal file
35
themes/at_movic/templates/_partials/form-errors.tpl
Normal file
@@ -0,0 +1,35 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
{if $errors|count}
|
||||
<div class="help-block">
|
||||
{block name='form_errors'}
|
||||
<ul>
|
||||
{foreach $errors as $error}
|
||||
<li class="alert alert-danger">{$error|nl2br nofilter}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
</div>
|
||||
{/if}
|
||||
192
themes/at_movic/templates/_partials/form-fields.tpl
Normal file
192
themes/at_movic/templates/_partials/form-fields.tpl
Normal file
@@ -0,0 +1,192 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
{if $field.type == 'hidden'}
|
||||
|
||||
{block name='form_field_item_hidden'}
|
||||
<input type="hidden" name="{$field.name}" value="{$field.value}">
|
||||
{/block}
|
||||
|
||||
{else}
|
||||
|
||||
<div class="form-group row {$field.type} {if !empty($field.errors)}has-error{/if}">
|
||||
<label
|
||||
class="col-md-12 form-control-label {if $field.required and $field.type !== 'checkbox'} required{/if}"
|
||||
{if isset($field.availableValues.comment)}title="{$field.availableValues.comment} "{/if}
|
||||
>
|
||||
|
||||
{if $field.type !== 'checkbox'}
|
||||
{$field.label}
|
||||
|
||||
{block name='form_field_comment'}
|
||||
{if (!$field.required && !in_array($field.type, ['radio-buttons', 'checkbox']))}
|
||||
<p class="form-control-comment">({l s='Optional' d='Shop.Forms.Labels'})</p>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{/if}
|
||||
</label>
|
||||
<div class="col-md-12{if ($field.type === 'radio-buttons')} form-control-valign{/if}">
|
||||
|
||||
{if $field.type === 'select'}
|
||||
|
||||
{block name='form_field_item_select'}
|
||||
<select class="form-control form-control-select" name="{$field.name}" {if $field.required}required{/if}>
|
||||
<option value disabled selected>{l s='-- please choose --' d='Shop.Forms.Labels'}</option>
|
||||
{foreach from=$field.availableValues item="label" key="value"}
|
||||
<option value="{$value}" {if $value eq $field.value} selected {/if}>{$label}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'countrySelect'}
|
||||
|
||||
{block name='form_field_item_country'}
|
||||
<select
|
||||
class="form-control form-control-select js-country"
|
||||
name="{$field.name}"
|
||||
{if $field.required}required{/if}
|
||||
>
|
||||
<option value disabled selected>{l s='-- please choose --' d='Shop.Forms.Labels'}</option>
|
||||
{foreach from=$field.availableValues item="label" key="value"}
|
||||
<option value="{$value}" {if $value eq $field.value} selected {/if}>{$label}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'radio-buttons'}
|
||||
|
||||
{block name='form_field_item_radio'}
|
||||
{foreach from=$field.availableValues item="label" key="value"}
|
||||
<label class="radio-inline">
|
||||
<span class="custom-radio">
|
||||
<input
|
||||
name="{$field.name}"
|
||||
type="radio"
|
||||
value="{$value}"
|
||||
{if $field.required}required{/if}
|
||||
{if $value eq $field.value} checked {/if}
|
||||
>
|
||||
<span></span>
|
||||
</span>
|
||||
{$label}
|
||||
</label>
|
||||
{/foreach}
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'checkbox'}
|
||||
|
||||
{block name='form_field_item_checkbox'}
|
||||
<span class="custom-checkbox">
|
||||
<label>
|
||||
<input name="{$field.name}" type="checkbox" value="1" {if $field.value}checked="checked"{/if} {if $field.required}required{/if}>
|
||||
<span><i class="material-icons rtl-no-flip checkbox-checked"></i></span>
|
||||
{$field.label nofilter}
|
||||
</label>
|
||||
</span>
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'date'}
|
||||
|
||||
{block name='form_field_item_date'}
|
||||
<input name="{$field.name}" class="form-control" type="date" value="{$field.value}" placeholder="{if isset($field.availableValues.placeholder)}{$field.availableValues.placeholder}{/if}">
|
||||
{if isset($field.availableValues.comment)}
|
||||
<span class="form-control-comment">
|
||||
{$field.availableValues.comment}
|
||||
</span>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'birthday'}
|
||||
|
||||
{block name='form_field_item_birthday'}
|
||||
<div class="js-parent-focus">
|
||||
{html_select_date
|
||||
field_order=DMY
|
||||
time={$field.value}
|
||||
field_array={$field.name}
|
||||
prefix=false
|
||||
reverse_years=true
|
||||
field_separator='<br>'
|
||||
day_extra='class="form-control form-control-select"'
|
||||
month_extra='class="form-control form-control-select"'
|
||||
year_extra='class="form-control form-control-select"'
|
||||
day_empty={l s='-- day --' d='Shop.Forms.Labels'}
|
||||
month_empty={l s='-- month --' d='Shop.Forms.Labels'}
|
||||
year_empty={l s='-- year --' d='Shop.Forms.Labels'}
|
||||
start_year={'Y'|date}-100 end_year={'Y'|date}
|
||||
}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'password'}
|
||||
|
||||
{block name='form_field_item_password'}
|
||||
<div class="input-group js-parent-focus {if $field.type === 'password'}form-group-password{/if}">
|
||||
<input
|
||||
class="form-control js-child-focus js-visible-password form-group-password"
|
||||
name="{$field.name}"
|
||||
title="{l s='At least 5 characters long' d='Shop.Forms.Help'}"
|
||||
type="password"
|
||||
value=""
|
||||
pattern=".{literal}{{/literal}5,{literal}}{/literal}"
|
||||
{if $field.required}required{/if}
|
||||
>
|
||||
{* <span class="input-group-btn">
|
||||
<button
|
||||
class="btn btn-outline"
|
||||
type="button"
|
||||
data-action="show-password"
|
||||
data-text-show="{l s='Show' d='Shop.Theme.Actions'}"
|
||||
data-text-hide="{l s='Hide' d='Shop.Theme.Actions'}"
|
||||
>
|
||||
{l s='Show' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
</span> *}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{else}
|
||||
|
||||
{block name='form_field_item_other'}
|
||||
<input
|
||||
class="form-control"
|
||||
name="{$field.name}"
|
||||
type="{$field.type}"
|
||||
value="{$field.value}"
|
||||
{if isset($field.availableValues.placeholder)}placeholder="{$field.availableValues.placeholder}"{/if}
|
||||
{if $field.maxLength}maxlength="{$field.maxLength}"{/if}
|
||||
{if $field.required}required{/if}
|
||||
>
|
||||
{/block}
|
||||
|
||||
{/if}
|
||||
|
||||
{block name='form_field_errors'}
|
||||
{include file='_partials/form-errors.tpl' errors=$field.errors}
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
117
themes/at_movic/templates/_partials/head.tpl
Normal file
117
themes/at_movic/templates/_partials/head.tpl
Normal file
@@ -0,0 +1,117 @@
|
||||
{**
|
||||
* 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='head_charset'}
|
||||
<meta charset="utf-8">
|
||||
{/block}
|
||||
{block name='head_ie_compatibility'}
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
{/block}
|
||||
|
||||
{block name='head_seo'}
|
||||
<title>{block name='head_seo_title'}{$page.meta.title}{/block}</title>
|
||||
<meta name="description" content="{block name='head_seo_description'}{$page.meta.description}{/block}">
|
||||
<meta name="keywords" content="{block name='head_seo_keywords'}{$page.meta.keywords}{/block}">
|
||||
{if $page.meta.robots !== 'index'}
|
||||
<meta name="robots" content="{$page.meta.robots}">
|
||||
{/if}
|
||||
{if $page.canonical}
|
||||
<link rel="canonical" href="{$page.canonical}">
|
||||
{/if}
|
||||
{block name='head_hreflang'}
|
||||
{foreach from=$urls.alternative_langs item=pageUrl key=code}
|
||||
<link rel="alternate" href="{$pageUrl}" hreflang="{$code}">
|
||||
{/foreach}
|
||||
{/block}
|
||||
{/block}
|
||||
|
||||
{block name='head_viewport'}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{/block}
|
||||
|
||||
{block name='head_icons'}
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="{$shop.favicon}?{$shop.favicon_update_time}">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{$shop.favicon}?{$shop.favicon_update_time}">
|
||||
{/block}
|
||||
{block name="setting"}
|
||||
{include file="layouts/setting.tpl"}
|
||||
{/block}
|
||||
{block name='stylesheets'}
|
||||
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
|
||||
{/block}
|
||||
|
||||
{* LEO - Load Css With Prestashop Standard *}
|
||||
{if isset($LOAD_CSS_TYPE) && !$LOAD_CSS_TYPE}
|
||||
|
||||
{if isset($LEO_CSS)}
|
||||
{foreach from=$LEO_CSS key=css_uri item=media}
|
||||
<link rel="stylesheet" href="{$css_uri}" type="text/css" media="{$media}" />
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{if isset($LEO_SKIN_CSS)}
|
||||
{foreach from=$LEO_SKIN_CSS item=linkCss}
|
||||
{$linkCss nofilter}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/if}
|
||||
{* LEO LAYOUT *}
|
||||
{if isset($LAYOUT_WIDTH)}
|
||||
{$LAYOUT_WIDTH nofilter}
|
||||
{/if}
|
||||
|
||||
{block name='javascript_head'}
|
||||
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}
|
||||
{/block}
|
||||
|
||||
{block name='hook_header'}
|
||||
{$HOOK_HEADER nofilter}
|
||||
{/block}
|
||||
|
||||
{block name='hook_extra'}{/block}
|
||||
<link href="/themes/at_movic/assets/plugins/splide/splide.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://kalsport.pl/themes/at_movic/modules/appagebuilder/views/css/styles.css?cache={php}echo time();{/php}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="https://kalsport.pl/themes/at_movic/assets/css/custom.css?cache={php}echo time();{/php}" type="text/css" media="all">
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
(function(c,l,a,r,i,t,y){
|
||||
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
|
||||
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
|
||||
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
|
||||
})(window, document, "clarity", "script", "gxumjuwioh");
|
||||
</script>
|
||||
{/literal}
|
||||
{literal}
|
||||
<!-- Hotjar Tracking Code for https://kalsport.pl/ -->
|
||||
<script>
|
||||
(function(h,o,t,j,a,r){
|
||||
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
|
||||
h._hjSettings={hjid:3571793,hjsv:6};
|
||||
a=o.getElementsByTagName('head')[0];
|
||||
r=o.createElement('script');r.async=1;
|
||||
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
|
||||
a.appendChild(r);
|
||||
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
|
||||
</script>
|
||||
{/literal}
|
||||
71
themes/at_movic/templates/_partials/header.tpl
Normal file
71
themes/at_movic/templates/_partials/header.tpl
Normal file
@@ -0,0 +1,71 @@
|
||||
{**
|
||||
* 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='header_banner'}
|
||||
<div class="header-banner">
|
||||
{if isset($fullwidth_hook.displayBanner) AND $fullwidth_hook.displayBanner == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayBanner'}</div>
|
||||
{if isset($fullwidth_hook.displayBanner) AND $fullwidth_hook.displayBanner == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='header_nav'}
|
||||
<nav class="header-nav">
|
||||
<div class="topnav">
|
||||
{if isset($fullwidth_hook.displayNav1) AND $fullwidth_hook.displayNav1 == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayNav1'}</div>
|
||||
{if isset($fullwidth_hook.displayNav1) AND $fullwidth_hook.displayNav1 == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="bottomnav">
|
||||
{if isset($fullwidth_hook.displayNav2) AND $fullwidth_hook.displayNav2 == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayNav2'}</div>
|
||||
{if isset($fullwidth_hook.displayNav2) AND $fullwidth_hook.displayNav2 == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</nav>
|
||||
{/block}
|
||||
|
||||
{block name='header_top'}
|
||||
<div class="header-top">
|
||||
{if isset($fullwidth_hook.displayTop) AND $fullwidth_hook.displayTop == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayTop'}</div>
|
||||
{if isset($fullwidth_hook.displayTop) AND $fullwidth_hook.displayTop == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{hook h='displayNavFullWidth'}
|
||||
{/block}
|
||||
35
themes/at_movic/templates/_partials/index.php
Normal file
35
themes/at_movic/templates/_partials/index.php
Normal 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;
|
||||
64
themes/at_movic/templates/_partials/javascript.tpl
Normal file
64
themes/at_movic/templates/_partials/javascript.tpl
Normal file
@@ -0,0 +1,64 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
{if $javascript.external|@count == 1}
|
||||
{foreach $javascript.external as $js}
|
||||
<script async type="text/javascript" src="{$js.uri}" {$js.attribute}></script>
|
||||
{/foreach}
|
||||
{else}
|
||||
{foreach $javascript.external as $js}
|
||||
<script type="text/javascript" src="{$js.uri}" {$js.attribute}></script>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
|
||||
{foreach $javascript.inline as $js}
|
||||
<script type="text/javascript">
|
||||
{$js.content nofilter}
|
||||
</script>
|
||||
{/foreach}
|
||||
|
||||
{if isset($vars) && $vars|@count}
|
||||
<script type="text/javascript">
|
||||
{foreach from=$vars key=var_name item=var_value}
|
||||
var {$var_name} = {$var_value|json_encode nofilter};
|
||||
{/foreach}
|
||||
</script>
|
||||
{/if}
|
||||
<script type="text/javascript">
|
||||
var choosefile_text = "{l s='Choose file' d='Shop.Theme.Actions'}";
|
||||
var turnoff_popup_text = "{l s='Do not show this popup again' d='Shop.Theme.Actions'}";
|
||||
|
||||
var size_item_quickview = 82;
|
||||
var style_scroll_quickview = 'vertical';
|
||||
|
||||
var size_item_page = 113;
|
||||
var style_scroll_page = 'horizontal';
|
||||
|
||||
var size_item_quickview_attr = 101;
|
||||
var style_scroll_quickview_attr = 'vertical';
|
||||
|
||||
var size_item_popup = 160;
|
||||
var style_scroll_popup = 'vertical';
|
||||
</script>
|
||||
78
themes/at_movic/templates/_partials/notifications.tpl
Normal file
78
themes/at_movic/templates/_partials/notifications.tpl
Normal file
@@ -0,0 +1,78 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
|
||||
{if isset($notifications)}
|
||||
<aside id="notifications">
|
||||
<div class="container">
|
||||
{if $notifications.error}
|
||||
{block name='notifications_error'}
|
||||
<article class="alert alert-danger" role="alert" data-alert="danger">
|
||||
<ul>
|
||||
{foreach $notifications.error as $notif}
|
||||
<li>{$notif nofilter}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</article>
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
{if $notifications.warning}
|
||||
{block name='notifications_warning'}
|
||||
<article class="alert alert-warning" role="alert" data-alert="warning">
|
||||
<ul>
|
||||
{foreach $notifications.warning as $notif}
|
||||
<li>{$notif nofilter}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</article>
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
{if $notifications.success}
|
||||
{block name='notifications_success'}
|
||||
<article class="alert alert-success" role="alert" data-alert="success">
|
||||
<ul>
|
||||
{foreach $notifications.success as $notif}
|
||||
<li>{$notif nofilter}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</article>
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
{if $notifications.info}
|
||||
{block name='notifications_info'}
|
||||
<article class="alert alert-info" role="alert" data-alert="info">
|
||||
<ul>
|
||||
{foreach $notifications.info as $notif}
|
||||
<li>{$notif nofilter}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</article>
|
||||
{/block}
|
||||
{/if}
|
||||
</div>
|
||||
</aside>
|
||||
{/if}
|
||||
62
themes/at_movic/templates/_partials/pagination.tpl
Normal file
62
themes/at_movic/templates/_partials/pagination.tpl
Normal file
@@ -0,0 +1,62 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<nav class="pagination">
|
||||
<div class="col-xs-12 col-md-6 col-lg-4 text-md-left text-xs-center">
|
||||
{block name='pagination_summary'}
|
||||
{l s='Showing %from%-%to% of %total% item(s)' d='Shop.Theme.Catalog' sprintf=['%from%' => $pagination.items_shown_from ,'%to%' => $pagination.items_shown_to, '%total%' => $pagination.total_items]}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6 col-lg-8">
|
||||
{block name='pagination_page_list'}
|
||||
{if $pagination.should_be_displayed}
|
||||
<ul class="page-list clearfix text-md-right text-xs-center">
|
||||
{foreach from=$pagination.pages item="page"}
|
||||
<li {if $page.current} class="current" {/if}>
|
||||
{if $page.type === 'spacer'}
|
||||
<span class="spacer">…</span>
|
||||
{else}
|
||||
<a
|
||||
rel="{if $page.type === 'previous'}prev{elseif $page.type === 'next'}next{else}nofollow{/if}"
|
||||
href="{$page.url}"
|
||||
class="{if $page.type === 'previous'}previous {elseif $page.type === 'next'}next {/if}{['disabled' => !$page.clickable, 'js-search-link' => true]|classnames}"
|
||||
>
|
||||
{if $page.type === 'previous'}
|
||||
<i class="fa fa-long-arrow-left"></i><span>{l s='Previous' d='Shop.Theme.Actions'}</span>
|
||||
{elseif $page.type === 'next'}
|
||||
<span>{l s='Next' d='Shop.Theme.Actions'}</span><i class="fa fa-long-arrow-right"></i>
|
||||
{else}
|
||||
{$page.page}
|
||||
{/if}
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
33
themes/at_movic/templates/_partials/stylesheets.tpl
Normal file
33
themes/at_movic/templates/_partials/stylesheets.tpl
Normal 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
|
||||
*}
|
||||
{foreach $stylesheets.external as $stylesheet}
|
||||
<link rel="stylesheet" href="{$stylesheet.uri}" type="text/css" media="{$stylesheet.media}">
|
||||
{/foreach}
|
||||
|
||||
{foreach $stylesheets.inline as $stylesheet}
|
||||
<style>
|
||||
{$stylesheet.content}
|
||||
</style>
|
||||
{/foreach}
|
||||
@@ -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
|
||||
*}
|
||||
<section id="js-active-search-filters" class="{if $activeFilters|count}active_filters{else}hide{/if}">
|
||||
{block name='active_filters_title'}
|
||||
<h1 class="h6 {if $activeFilters|count}active-filter-title{else}hidden-xs-up{/if}">{l s='Active filters' d='Shop.Theme.Global'}</h1>
|
||||
{/block}
|
||||
|
||||
{if $activeFilters|count}
|
||||
<ul>
|
||||
{foreach from=$activeFilters item="filter"}
|
||||
{block name='active_filters_item'}
|
||||
<li class="filter-block">
|
||||
{l s='%1$s: ' d='Shop.Theme.Catalog' sprintf=[$filter.facetLabel]}
|
||||
{$filter.label}
|
||||
<a class="js-search-link" href="{$filter.nextEncodedFacetsURL}"><i class="material-icons close"></i></a>
|
||||
</li>
|
||||
{/block}
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</section>
|
||||
@@ -0,0 +1,38 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<div id="js-product-list-header">
|
||||
{if $listing.pagination.items_shown_from == 1}
|
||||
<div class="block-category card card-block">
|
||||
<h1 class="h1">{$category.name}</h1>
|
||||
<div class="block-category-inner">
|
||||
{if $category.image.large.url}
|
||||
<div class="category-cover">
|
||||
<img class="lazy" data-src="{$category.image.large.url}" alt="{if !empty($category.image.legend)}{$category.image.legend}{else}{$category.name}{/if}">
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
168
themes/at_movic/templates/catalog/_partials/facets.tpl
Normal file
168
themes/at_movic/templates/catalog/_partials/facets.tpl
Normal file
@@ -0,0 +1,168 @@
|
||||
{**
|
||||
* PrestaShop and Contributors
|
||||
*
|
||||
* 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 https://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{if $facets|count}
|
||||
<div id="search_filters">
|
||||
{block name='facets_title'}
|
||||
<p class="text-uppercase h6 hidden-sm-down">{l s='Filter By' d='Shop.Theme.Actions'}</p>
|
||||
{/block}
|
||||
|
||||
{block name='facets_clearall_button'}
|
||||
{if $activeFilters|count}
|
||||
<div id="_desktop_search_filters_clear_all" class="hidden-sm-down clear-all-wrapper">
|
||||
<button data-search-url="{$clear_all_link}" class="btn btn-tertiary js-search-filters-clear-all">
|
||||
<i class="material-icons"></i>
|
||||
{l s='Clear all' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{foreach from=$facets item="facet"}
|
||||
{if !$facet.displayed}
|
||||
{continue}
|
||||
{/if}
|
||||
|
||||
<section class="facet clearfix">
|
||||
<p class="h6 facet-title hidden-sm-down">{$facet.label}</p>
|
||||
{assign var=_expand_id value=10|mt_rand:100000}
|
||||
{assign var=_collapse value=true}
|
||||
{foreach from=$facet.filters item="filter"}
|
||||
{if $filter.active}{assign var=_collapse value=false}{/if}
|
||||
{/foreach}
|
||||
|
||||
<div class="title hidden-md-up" data-target="#facet_{$_expand_id}" data-toggle="collapse"{if !$_collapse} aria-expanded="true"{/if}>
|
||||
<p class="h6 facet-title">{$facet.label}</p>
|
||||
<span class="float-xs-right">
|
||||
<span class="navbar-toggler collapse-icons">
|
||||
<i class="material-icons add"></i>
|
||||
<i class="material-icons remove"></i>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{if $facet.widgetType !== 'dropdown'}
|
||||
{block name='facet_item_other'}
|
||||
<ul id="facet_{$_expand_id}" class="collapse{if !$_collapse} in{/if}">
|
||||
{foreach from=$facet.filters key=filter_key item="filter"}
|
||||
{if !$filter.displayed}
|
||||
{continue}
|
||||
{/if}
|
||||
|
||||
<li>
|
||||
<label class="facet-label{if $filter.active} active {/if}" for="facet_input_{$_expand_id}_{$filter_key}">
|
||||
{if $facet.multipleSelectionAllowed}
|
||||
<span class="custom-checkbox">
|
||||
<input
|
||||
id="facet_input_{$_expand_id}_{$filter_key}"
|
||||
data-search-url="{$filter.nextEncodedFacetsURL}"
|
||||
type="checkbox"
|
||||
{if $filter.active }checked{/if}
|
||||
>
|
||||
{if isset($filter.properties.color)}
|
||||
<span class="color" style="background-color:{$filter.properties.color}"></span>
|
||||
{elseif isset($filter.properties.texture)}
|
||||
<span class="color texture" style="background-image:url({$filter.properties.texture})"></span>
|
||||
{else}
|
||||
<span {if !$js_enabled} class="ps-shown-by-js" {/if}><i class="material-icons rtl-no-flip checkbox-checked"></i></span>
|
||||
{/if}
|
||||
</span>
|
||||
{else}
|
||||
<span class="custom-radio">
|
||||
<input
|
||||
id="facet_input_{$_expand_id}_{$filter_key}"
|
||||
data-search-url="{$filter.nextEncodedFacetsURL}"
|
||||
type="radio"
|
||||
name="filter {$facet.label}"
|
||||
{if $filter.active }checked{/if}
|
||||
>
|
||||
<span {if !$js_enabled} class="ps-shown-by-js" {/if}></span>
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
<a
|
||||
href="{$filter.nextEncodedFacetsURL}"
|
||||
class="_gray-darker search-link js-search-link"
|
||||
rel="nofollow"
|
||||
>
|
||||
{$filter.label}
|
||||
{if $filter.magnitude}
|
||||
<span class="magnitude">({$filter.magnitude})</span>
|
||||
{/if}
|
||||
</a>
|
||||
</label>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
|
||||
{else}
|
||||
|
||||
{block name='facet_item_dropdown'}
|
||||
<ul id="facet_{$_expand_id}" class="collapse{if !$_collapse} in{/if}">
|
||||
<li>
|
||||
<div class="col-sm-12 col-xs-12 col-md-12 facet-dropdown dropdown">
|
||||
<a class="select-title" rel="nofollow" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
{$active_found = false}
|
||||
<span>
|
||||
{foreach from=$facet.filters item="filter"}
|
||||
{if $filter.active}
|
||||
{$filter.label}
|
||||
{if $filter.magnitude}
|
||||
({$filter.magnitude})
|
||||
{/if}
|
||||
{$active_found = true}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if !$active_found}
|
||||
{l s='(no filter)' d='Shop.Theme.Global'}
|
||||
{/if}
|
||||
</span>
|
||||
<i class="material-icons float-xs-right"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
{foreach from=$facet.filters item="filter"}
|
||||
{if !$filter.active}
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="{$filter.nextEncodedFacetsURL}"
|
||||
class="select-list"
|
||||
>
|
||||
{$filter.label}
|
||||
{if $filter.magnitude}
|
||||
({$filter.magnitude})
|
||||
{/if}
|
||||
</a>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
{/block}
|
||||
{/if}
|
||||
</section>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
35
themes/at_movic/templates/catalog/_partials/index.php
Normal file
35
themes/at_movic/templates/catalog/_partials/index.php
Normal 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;
|
||||
@@ -0,0 +1,37 @@
|
||||
{**
|
||||
* 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='brand_miniature_item'}
|
||||
<li class="brand">
|
||||
<div class="brand-img col-xl-3 col-lg-3 col-xs-12"><a href="{$brand.url}"><img class="lazy" data-src="{$brand.image}" alt="{$brand.name}"></a></div>
|
||||
<div class="brand-infos col-xl-4 col-lg-4 col-xs-12">
|
||||
<p><a href="{$brand.url}">{$brand.name}</a></p>
|
||||
{$brand.text nofilter}
|
||||
</div>
|
||||
<div class="brand-products col-xl-5 col-lg-5 col-xs-12">
|
||||
<a href="{$brand.url}">{$brand.nb_products}</a>
|
||||
<a href="{$brand.url}" class="btn btn-outline float-md-right text-xs-center">{l s='View products' d='Shop.Theme.Actions'}</a>
|
||||
</div>
|
||||
</li>
|
||||
{/block}
|
||||
@@ -0,0 +1,37 @@
|
||||
{**
|
||||
* 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='category_miniature_item'}
|
||||
<section class="category-miniature">
|
||||
<a href="{$category.url}">
|
||||
<img class="lazy" data-src="{$category.image.medium.url}" alt="{$category.image.legend}">
|
||||
</a>
|
||||
|
||||
<h1 class="h2">
|
||||
<a href="{$category.url}">{$category.name}</a>
|
||||
</h1>
|
||||
|
||||
<div class="category-description">{$category.description nofilter}</div>
|
||||
</section>
|
||||
{/block}
|
||||
@@ -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;
|
||||
@@ -0,0 +1,91 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{if !isset($LISTING_GRID_MODE) || !isset($LISTING_PRODUCT_COLUMN) || !isset($LISTING_PRODUCT_COLUMN_MODULE) || !isset($LISTING_PRODUCT_TABLET) || !isset($LISTING_PRODUCT_SMALLDEVICE) || !isset($LISTING_PRODUCT_EXTRASMALLDEVICE) || !isset($LISTING_PRODUCT_MOBILE)}
|
||||
{block name="setting"}
|
||||
{include file="layouts/setting.tpl"}
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
{if !isset($productClassWidget)}
|
||||
{assign var="productClassWidget" value={hook h="pagebuilderConfig" configName="productClass"}}
|
||||
{/if}
|
||||
{if !isset($productProfileDefault)}
|
||||
{assign var="productProfileDefault" value={hook h="pagebuilderConfig" configName="productKey"}}
|
||||
{/if}
|
||||
|
||||
{*define numbers of product per line in other page for desktop*}
|
||||
{if (isset($page.page_name) && $page.page_name == 'category') || (isset($leo_page) && $leo_page=='category')}
|
||||
{assign var='nbItemsPerLine' value=$LISTING_PRODUCT_COLUMN}
|
||||
|
||||
{if $LISTING_PRODUCT_COLUMN=="5"} {assign var="col_cat_product_xl" value="col-xl-2-4"}{else}{assign var="col_cat_product_xl" value="col-xl-{12/$LISTING_PRODUCT_COLUMN}"}{/if}
|
||||
{if $LISTING_PRODUCT_LARGEDEVICE=="5"} {assign var="col_cat_product_lg" value="col-lg-2-4"}{else}{assign var="col_cat_product_lg" value="col-lg-{12/$LISTING_PRODUCT_LARGEDEVICE}"}{/if}
|
||||
{assign var="colValue" value="col-sp-{12/$LISTING_PRODUCT_MOBILE} col-xs-{12/$LISTING_PRODUCT_EXTRASMALLDEVICE} col-sm-{12/$LISTING_PRODUCT_SMALLDEVICE} col-md-{12/$LISTING_PRODUCT_TABLET} {$col_cat_product_lg} {$col_cat_product_xl}" scope="global"}
|
||||
{else}
|
||||
{assign var='nbItemsPerLine' value=$LISTING_PRODUCT_COLUMN_MODULE}
|
||||
|
||||
{if $LISTING_PRODUCT_COLUMN_MODULE=="5"}{assign var="col_cat_product_xl" value="col-xl-2-4"}{else}{assign var="col_cat_product_xl" value="col-xl-{12/$LISTING_PRODUCT_COLUMN_MODULE}"}{/if}
|
||||
{if $LISTING_PRODUCT_LARGEDEVICE=="5"} {assign var="col_cat_product_lg" value="col-lg-2-4"}{else}{assign var="col_cat_product_lg" value="col-lg-{12/$LISTING_PRODUCT_LARGEDEVICE}"}{/if}
|
||||
|
||||
{assign var="colValue" value="col-sp-{12/$LISTING_PRODUCT_MOBILE} col-xs-{12/$LISTING_PRODUCT_EXTRASMALLDEVICE} col-sm-{12/$LISTING_PRODUCT_SMALLDEVICE} col-md-{12/$LISTING_PRODUCT_TABLET} {$col_cat_product_lg} {$col_cat_product_xl}" scope="global"}
|
||||
{/if}
|
||||
|
||||
{assign var='nbItemsPerLineTablet' value=$LISTING_PRODUCT_TABLET}
|
||||
{assign var='nbItemsPerLineMobile' value=$LISTING_PRODUCT_EXTRASMALLDEVICE}
|
||||
{*define numbers of product per line in other page for tablet*}
|
||||
{assign var='nbLi' value=$products|count}
|
||||
{math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines}
|
||||
{math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet}
|
||||
<!-- Products list -->
|
||||
|
||||
{assign var="categoryLayout" value={hook h="pagebuilderConfig" configName="categoryLayout"}}
|
||||
{assign var="classCategoryLayout" value={hook h="pagebuilderConfig" configName="classCategoryLayout"}}
|
||||
|
||||
<div {if isset($id) && $id} id="{$id}"{/if} class="product_list {if isset($leo_page) && $leo_page=='category'}{$LISTING_GRID_MODE}{/if} {if isset($classCategoryLayout) && $classCategoryLayout != ""}{$classCategoryLayout} {elseif isset($productClassWidget)} {$productClassWidget}{/if} ">
|
||||
<div class="row">
|
||||
{foreach from=$products item=product name=products}
|
||||
{math equation="(total%perLine)" total=$products|count perLine=$nbItemsPerLine assign=totModulo}
|
||||
{math equation="(total%perLineT)" total=$products|count perLineT=$nbItemsPerLineTablet assign=totModuloTablet}
|
||||
{math equation="(total%perLineT)" total=$products|count perLineT=$nbItemsPerLineMobile assign=totModuloMobile}
|
||||
{if $totModulo == 0}{assign var='totModulo' value=$nbItemsPerLine}{/if}
|
||||
{if $totModuloTablet == 0}{assign var='totModuloTablet' value=$nbItemsPerLineTablet}{/if}
|
||||
{if $totModuloMobile == 0}{assign var='totModuloMobile' value=$nbItemsPerLineMobile}{/if}
|
||||
<div class="ajax_block_product {$colValue}
|
||||
{if $smarty.foreach.products.iteration%$nbItemsPerLine == 0} last-in-line
|
||||
{elseif $smarty.foreach.products.iteration%$nbItemsPerLine == 1} first-in-line{/if}
|
||||
{if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModulo)} last-line{/if}
|
||||
{if $smarty.foreach.products.iteration%$nbItemsPerLineTablet == 0} last-item-of-tablet-line
|
||||
{elseif $smarty.foreach.products.iteration%$nbItemsPerLineTablet == 1} first-item-of-tablet-line{/if}
|
||||
{if $smarty.foreach.products.iteration%$nbItemsPerLineMobile == 0} last-item-of-mobile-line
|
||||
{elseif $smarty.foreach.products.iteration%$nbItemsPerLineMobile == 1} first-item-of-mobile-line{/if}
|
||||
{if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModuloMobile)} last-mobile-line{/if}
|
||||
">
|
||||
{block name='product_miniature'}
|
||||
{if isset($productProfileDefault) && $productProfileDefault}
|
||||
{* exits THEME_NAME/profiles/profile_name.tpl -> load template*}
|
||||
{if isset($categoryLayout) && $categoryLayout != ""}
|
||||
{hook h='displayLeoProfileProduct' product=$product profile=$categoryLayout}
|
||||
{else}
|
||||
{hook h='displayLeoProfileProduct' product=$product profile=$productProfileDefault}
|
||||
{/if}
|
||||
{else}
|
||||
{include file='catalog/_partials/miniatures/product.tpl' product=$product}
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
if (window.jQuery) {
|
||||
$(document).ready(function(){
|
||||
if (prestashop.page.page_name == 'category'){
|
||||
setDefaultListGrid();
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,54 @@
|
||||
{**
|
||||
* 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='pack_miniature_item'}
|
||||
<article>
|
||||
<div class="card">
|
||||
<div class="pack-product-container">
|
||||
<div class="thumb-mask">
|
||||
<div class="mask">
|
||||
<a href="{$product.url}" title="{$product.name}">
|
||||
<img class="lazy"
|
||||
data-src="{$product.cover.medium.url}"
|
||||
alt="{$product.cover.legend}"
|
||||
data-full-size-image-url="{$product.cover.large.url}"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pack-product-name">
|
||||
<a href="{$product.url}" title="{$product.name}">
|
||||
{$product.name}
|
||||
</a>
|
||||
</div>
|
||||
<div class="pack-product-price">
|
||||
<strong>{$product.price}</strong>
|
||||
</div>
|
||||
<div class="pack-product-quantity">
|
||||
<span>x {$product.pack_quantity}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{/block}
|
||||
@@ -0,0 +1,126 @@
|
||||
{**
|
||||
* 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='product_miniature_item'}
|
||||
<article class="plist-dsimple product-miniature js-product-miniature" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}">
|
||||
<div class="thumbnail-container">
|
||||
<div class="product-image">
|
||||
{block name='product_thumbnail'}
|
||||
{if isset($cfg_product_list_image) && $cfg_product_list_image}
|
||||
<div class="leo-more-info" data-idproduct="{$product.id_product}"></div>
|
||||
{/if}
|
||||
{if $product.cover}
|
||||
<a href="{$product.canonical_url}" class="thumbnail product-thumbnail">
|
||||
<img
|
||||
class="lazy img-fluid"
|
||||
data-src = "{$product.cover.bySize.home_default.url}"
|
||||
alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
|
||||
data-full-size-image-url = "{$product.cover.large.url}"
|
||||
/>
|
||||
{if isset($cfg_product_one_img) && $cfg_product_one_img}
|
||||
<span class="product-additional" data-idproduct="{$product.id_product}"></span>
|
||||
{/if}
|
||||
</a>
|
||||
{else}
|
||||
<a href="{$product.canonical_url}" class="thumbnail product-thumbnail">
|
||||
<img class="lazy" data-src = "{$urls.no_picture_image.bySize.home_default.url}" />
|
||||
{if isset($cfg_product_one_img) && $cfg_product_one_img}
|
||||
<span class="product-additional" data-idproduct="{$product.id_product}"></span>
|
||||
{/if}
|
||||
</a>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
<!-- @todo: use include file='catalog/_partials/product-flags.tpl'} -->
|
||||
{block name='product_flags'}
|
||||
<ul class="product-flags">
|
||||
{foreach from=$product.flags item=flag}
|
||||
<li class="product-flag {$flag.type}">{$flag.label}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
<div class="pro3-btn">
|
||||
{block name='quick_view'}
|
||||
<div class="quickview hidden-sm-down">
|
||||
<a
|
||||
href="#"
|
||||
class="quick-view"
|
||||
data-link-action="quickview"
|
||||
title=""
|
||||
>
|
||||
<span class="leo-quickview-bt-loading cssload-speeding-wheel"></span>
|
||||
<span class="leo-quickview-bt-content">
|
||||
<i class="material-icons search">search</i>
|
||||
<span class="name-btn-product">{l s='Quick view' d='Shop.Theme.Actions'}</span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
{/block}
|
||||
{hook h='displayLeoCartButton' product=$product}
|
||||
{hook h='displayLeoCompareButton' product=$product}
|
||||
{hook h='displayLeoWishlistButton' product=$product}
|
||||
</div>
|
||||
</div>
|
||||
<div class="product-meta">
|
||||
|
||||
{hook h='displayLeoCartAttribute' product=$product}
|
||||
{hook h='displayLeoCartQuantity' product=$product}
|
||||
|
||||
{block name='product_name'}
|
||||
<h3 class="h3 product-title"><a href="{$product.canonical_url}">{$product.name}</a></h3>
|
||||
{/block}
|
||||
|
||||
{block name='product_price_and_shipping'}
|
||||
{if $product.show_price}
|
||||
<div class="product-price-and-shipping">
|
||||
{if $product.has_discount}
|
||||
{hook h='displayProductPriceBlock' product=$product type="old_price"}
|
||||
<span class="sr-only">{l s='Regular price' d='Shop.Theme.Catalog'}</span>
|
||||
<span class="regular-price">{$product.regular_price}</span>
|
||||
{if $product.discount_type === 'percentage'}
|
||||
<span class="discount-percentage discount-product">{$product.discount_percentage}</span>
|
||||
{elseif $product.discount_type === 'amount'}
|
||||
<span class="discount-amount discount-product">{$product.discount_amount_to_display}</span>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{hook h='displayProductPriceBlock' product=$product type="before_price"}
|
||||
|
||||
<span class="sr-only">{l s='Price' d='Shop.Theme.Catalog'}</span>
|
||||
<span class="price">{$product.price}</span>
|
||||
|
||||
{hook h='displayProductPriceBlock' product=$product type='unit_price'}
|
||||
|
||||
{hook h='displayProductPriceBlock' product=$product type='weight'}
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_description_short'}
|
||||
<div class="product-description-short">{$product.description_short|strip_tags|truncate:150:'...' nofilter}</div>
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{/block}
|
||||
@@ -0,0 +1,38 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
{if $page.admin_notifications}
|
||||
<div class="alert alert-warning row" role="alert">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{foreach $page.admin_notifications as $notif}
|
||||
<div class="col-sm-12">
|
||||
<i class="material-icons float-xs-left"></i>
|
||||
<p class="alert-text">{$notif.message}</p>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -0,0 +1,68 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<div class="product-add-to-cart">
|
||||
{if !$configuration.is_catalog}
|
||||
{block name='product_quantity'}
|
||||
<div class="product-quantity clearfix">
|
||||
|
||||
<div class="p-cartwapper">
|
||||
<div class="qty clearfix">
|
||||
<span class="control-label">{l s='Quantity' d='Shop.Theme.Catalog'}</span>
|
||||
<input type="number" name="qty" id="quantity_wanted" value="{$product.quantity_wanted}" class="input-group"
|
||||
min="{$product.minimal_quantity}" aria-label="{l s='Quantity' d='Shop.Theme.Actions'}">
|
||||
</div>
|
||||
|
||||
<div class="add">
|
||||
<button class="btn btn-primary add-to-cart" data-button-action="add-to-cart" type="submit"
|
||||
{if !$product.add_to_cart_url} disabled {/if}>
|
||||
<i class="icon-bag"></i>
|
||||
{l s='Add to cart' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
</div>
|
||||
<div class="leo-compare-wishlist-button">
|
||||
{hook h='displayLeoWishlistButton' product=$product}
|
||||
{hook h='displayLeoCompareButton' product=$product}
|
||||
</div>
|
||||
|
||||
{hook h='displayProductActions' product=$product}
|
||||
|
||||
</div>
|
||||
|
||||
{block name='product_minimal_quantity'}
|
||||
<div class="product-minimal-quantity">
|
||||
{if $product.minimal_quantity > 1}
|
||||
{l
|
||||
s='The minimum purchase order quantity for the product is %quantity%.'
|
||||
d='Shop.Theme.Checkout'
|
||||
sprintf=['%quantity%' => $product.minimal_quantity]
|
||||
}
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,27 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<div class="product-additional-info">
|
||||
{hook h='displayProductAdditionalInfo' product=$product}
|
||||
</div>
|
||||
@@ -0,0 +1,91 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<div class="images-container">
|
||||
{block name='product_cover_thumbnails'}
|
||||
{if $isMobile && $dmobile_swipe}
|
||||
<div class="list-images-mobile">
|
||||
{foreach from=$product.images item=image}
|
||||
<div>
|
||||
<img
|
||||
class="thumb js-thumb {if $image.id_image == $product.cover.id_image} selected {/if}"
|
||||
data-image-medium-src="{$image.bySize.medium_default.url}"
|
||||
data-image-large-src="{$image.bySize.large_default.url}"
|
||||
src="{$image.bySize.large_default.url}"
|
||||
alt="{$image.legend}"
|
||||
title="{$image.legend}"
|
||||
itemprop="image"
|
||||
>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{else}
|
||||
{block name='product_cover'}
|
||||
<div class="product-cover">
|
||||
{block name='product_flags'}
|
||||
<ul class="product-flags">
|
||||
{foreach from=$product.flags item=flag}
|
||||
<li class="product-flag {$flag.type}">{$flag.label}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
{if $product.cover}
|
||||
<img id="zoom_product" data-type-zoom="" class="js-qv-product-cover img-fluid" src="{$product.cover.bySize.large_default.url}" alt="{$product.cover.legend}" title="{$product.cover.legend}" itemprop="image">
|
||||
<div class="layer hidden-sm-down" data-toggle="modal" data-target="#product-modal">
|
||||
<i class="material-icons zoom-in"></i>
|
||||
</div>
|
||||
{else}
|
||||
<img class="lazy" data-src="{$urls.no_picture_image.bySize.large_default.url}" style="width:100%;">
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
{block name='product_images'}
|
||||
<div id="thumb-gallery" class="product-thumb-images">
|
||||
{foreach from=$product.images item=image}
|
||||
<div class="thumb-container {if $image.id_image == $product.cover.id_image} active {/if}">
|
||||
<a href="javascript:void(0)" data-image="{$image.bySize.large_default.url}" data-zoom-image="{$image.bySize.large_default.url}">
|
||||
<img
|
||||
class="thumb js-thumb {if $image.id_image == $product.cover.id_image} selected {/if}"
|
||||
data-image-medium-src="{$image.bySize.medium_default.url}"
|
||||
data-image-large-src="{$image.bySize.large_default.url}"
|
||||
src="{$image.bySize.home_default.url}"
|
||||
alt="{$image.legend}"
|
||||
title="{$image.legend}"
|
||||
itemprop="image"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/block}
|
||||
{if $product.images|@count > 1}
|
||||
<div class="arrows-product-fake slick-arrows">
|
||||
<button class="slick-prev slick-arrow" aria-label="Previous" type="button" >{l s='Previous' d='Shop.Theme.Catalog'}</button>
|
||||
<button class="slick-next slick-arrow" aria-label="Next" type="button">{l s='Next' d='Shop.Theme.Catalog'}</button>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
{/block}
|
||||
{hook h='displayAfterProductThumbs'}
|
||||
</div>
|
||||
@@ -0,0 +1,69 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<section class="product-customization">
|
||||
{if !$configuration.is_catalog}
|
||||
<div class="card card-block">
|
||||
<p class="h4 card-title">{l s='Product customization' d='Shop.Theme.Catalog'}</p>
|
||||
{l s='Don\'t forget to save your customization to be able to add to cart' d='Shop.Forms.Help'}
|
||||
|
||||
{block name='product_customization_form'}
|
||||
<form method="post" action="{$product.url}" enctype="multipart/form-data">
|
||||
<ul class="clearfix">
|
||||
{foreach from=$customizations.fields item="field"}
|
||||
<li class="product-customization-item">
|
||||
<label> {$field.label}</label>
|
||||
{if $field.type == 'text'}
|
||||
<textarea placeholder="{l s='Your message here' d='Shop.Forms.Help'}" class="product-message" maxlength="250" {if $field.required} required {/if} name="{$field.input_name}"></textarea>
|
||||
<small class="float-xs-right">{l s='250 char. max' d='Shop.Forms.Help'}</small>
|
||||
{if $field.text !== ''}
|
||||
<h6 class="customization-message">{l s='Your customization:' d='Shop.Theme.Catalog'}
|
||||
<label>{$field.text}</label>
|
||||
</h6>
|
||||
{/if}
|
||||
{elseif $field.type == 'image'}
|
||||
{if $field.is_customized}
|
||||
<br>
|
||||
<img class="lazy" data-src="{$field.image.small.url}">
|
||||
<a class="remove-image" href="{$field.remove_image_url}" rel="nofollow">{l s='Remove Image' d='Shop.Theme.Actions'}</a>
|
||||
{/if}
|
||||
<span class="custom-file">
|
||||
<span class="js-file-name">{l s='No selected file' d='Shop.Forms.Help'}</span>
|
||||
<input class="file-input js-file-input" {if $field.required} required {/if} type="file" name="{$field.input_name}">
|
||||
<button class="btn btn-primary">{l s='Choose file' d='Shop.Theme.Actions'}</button>
|
||||
</span>
|
||||
<small class="float-xs-right">{l s='.png .jpg .gif' d='Shop.Forms.Help'}</small>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
<div class="clearfix">
|
||||
<button class="btn btn-primary float-xs-right" type="submit" name="submitCustomizedData">{l s='Save Customization' d='Shop.Theme.Actions'}</button>
|
||||
</div>
|
||||
</form>
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
{/if}
|
||||
</section>
|
||||
@@ -0,0 +1,83 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<div class="tab-pane fade{if !$product.description} in active{/if}"
|
||||
id="product-details"
|
||||
data-product="{$product.embedded_attributes|json_encode}"
|
||||
role="tabpanel"
|
||||
>
|
||||
{block name='product_reference'}
|
||||
{if isset($product_manufacturer->id)}
|
||||
<div class="product-manufacturer">
|
||||
{if isset($manufacturer_image_url)}
|
||||
<a href="{$product_brand_url}">
|
||||
<img data-src="{$manufacturer_image_url}" class="lazy img img-thumbnail manufacturer-logo" alt="{$product_manufacturer->name}">
|
||||
</a>
|
||||
{else}
|
||||
<label class="label">{l s='Brand' d='Shop.Theme.Catalog'}</label>
|
||||
<span>
|
||||
<a href="{$product_brand_url}">{$product_manufacturer->name}</a>
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($product.reference_to_display) && $product.reference_to_display neq ''}
|
||||
<div class="product-reference">
|
||||
<label class="label">{l s='Reference' d='Shop.Theme.Catalog'} </label>
|
||||
<span itemprop="sku">{$product.reference_to_display}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_quantities'}
|
||||
{if $product.show_quantities}
|
||||
<div class="product-quantities">
|
||||
<label class="label">{l s='In stock' d='Shop.Theme.Catalog'}</label>
|
||||
<span data-stock="{$product.quantity}" data-allow-oosp="{$product.allow_oosp}">{$product.quantity} {$product.quantity_label}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_availability_date'}
|
||||
{if $product.availability_date}
|
||||
<div class="product-availability-date">
|
||||
<label>{l s='Availability date:' d='Shop.Theme.Catalog'} </label>
|
||||
<span>{$product.availability_date}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_out_of_stock'}
|
||||
<div class="product-out-of-stock">
|
||||
{hook h='actionProductOutOfStock' product=$product}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='product_features'}
|
||||
{if $product.grouped_features}
|
||||
<section class="product-features">
|
||||
<p class="h6">{l s='Data sheet' d='Shop.Theme.Catalog'}</p>
|
||||
<dl class="data-sheet">
|
||||
{foreach from=$product.grouped_features item=feature}
|
||||
<dt class="name">{$feature.name}</dt>
|
||||
<dd class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</dd>
|
||||
{/foreach}
|
||||
</dl>
|
||||
</section>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_condition'}
|
||||
{if $product.condition}
|
||||
<div class="product-condition">
|
||||
<label class="label">{l s='Condition' d='Shop.Theme.Catalog'} </label>
|
||||
<link itemprop="itemCondition" href="{$product.condition.schema_url}"/>
|
||||
<span>{$product.condition.label}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
@@ -0,0 +1,49 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<section class="product-discounts">
|
||||
{if $product.quantity_discounts}
|
||||
<p class="h6 product-discounts-title">{l s='Volume discounts' d='Shop.Theme.Catalog'}</p>
|
||||
{block name='product_discount_table'}
|
||||
<table class="table-product-discounts">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{l s='Quantity' d='Shop.Theme.Catalog'}</th>
|
||||
<th>{$configuration.quantity_discount.label}</th>
|
||||
<th>{l s='You Save' d='Shop.Theme.Catalog'}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$product.quantity_discounts item='quantity_discount' name='quantity_discounts'}
|
||||
<tr data-discount-type="{$quantity_discount.reduction_type}" data-discount="{$quantity_discount.real_value}" data-discount-quantity="{$quantity_discount.quantity}">
|
||||
<td>{$quantity_discount.quantity}</td>
|
||||
<td>{$quantity_discount.discount}</td>
|
||||
<td>{l s='Up to %discount%' d='Shop.Theme.Catalog' sprintf=['%discount%' => $quantity_discount.save]}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{/block}
|
||||
{/if}
|
||||
</section>
|
||||
@@ -0,0 +1,31 @@
|
||||
{**
|
||||
* PrestaShop and Contributors
|
||||
*
|
||||
* 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 https://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA and Contributors
|
||||
* @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='product_flags'}
|
||||
<ul class="product-flags">
|
||||
{foreach from=$product.flags item=flag}
|
||||
<li class="product-flag {$flag.type}">{$flag.label}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
@@ -0,0 +1,56 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
|
||||
<!-- remove code root/themes/at_movic/templates/catalog/_partials/product-images-modal.tpl -->
|
||||
{*
|
||||
<div class="modal fade js-product-images-modal leo-product-modal" id="product-modal" data-thumbnails=".product-images-{$product.id_product}">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-body">
|
||||
{assign var=imagesCount value=$product.images|count}
|
||||
<figure>
|
||||
<img class="lazy js-modal-product-cover product-cover-modal" width="{$product.cover.large.width}" data-src="{$product.cover.large.url}" alt="{$product.cover.legend}" title="{$product.cover.legend}" itemprop="image">
|
||||
<figcaption class="image-caption">
|
||||
{block name='product_description_short'}
|
||||
<div id="product-description-short" itemprop="description">{$product.description_short nofilter}</div>
|
||||
{/block}
|
||||
</figcaption>
|
||||
</figure>
|
||||
<aside id="thumbnails" class="thumbnails text-sm-center">
|
||||
{block name='product_images'}
|
||||
<div class="product-images product-images-{$product.id_product}">
|
||||
{foreach from=$product.images item=image}
|
||||
<div class="thumb-container">
|
||||
<img data-image-large-data-src="{$image.large.url}" class="lazy thumb img-fluid js-modal-thumb{if $image.id_image == $product.cover.id_image} selected {/if}" data-src="{$image.medium.url}" alt="{$image.legend}" title="{$image.legend}" width="{$image.medium.width}" itemprop="image">
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/block}
|
||||
</aside>
|
||||
</div>
|
||||
</div><!-- /.modal-content -->
|
||||
</div><!-- /.modal-dialog -->
|
||||
</div><!-- /.modal -->
|
||||
*}
|
||||
110
themes/at_movic/templates/catalog/_partials/product-prices.tpl
Normal file
110
themes/at_movic/templates/catalog/_partials/product-prices.tpl
Normal file
@@ -0,0 +1,110 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
{if $product.show_price}
|
||||
<div class="product-prices">
|
||||
{block name='product_discount'}
|
||||
{if $product.has_discount}
|
||||
<div class="product-discount">
|
||||
<span class="regular-price">{$product.regular_price}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_price'}
|
||||
<div
|
||||
class="product-price h5 {if $product.has_discount}has-discount{/if}"
|
||||
itemprop="offers"
|
||||
itemscope
|
||||
itemtype="https://schema.org/Offer"
|
||||
>
|
||||
<link itemprop="availability" href="{$product.seo_availability}"/>
|
||||
<meta itemprop="priceCurrency" content="{$currency.iso_code}">
|
||||
|
||||
<div class="current-price">
|
||||
<span itemprop="price" content="{$product.price_amount}">{$product.price}</span>
|
||||
|
||||
{if $product.has_discount}
|
||||
{if $product.discount_type === 'percentage'}
|
||||
<span class="discount discount-percentage">{l s='Save %percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]}</span>
|
||||
{else}
|
||||
<span class="discount discount-amount">
|
||||
{l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]}
|
||||
</span>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{block name='product_unit_price'}
|
||||
{if $displayUnitPrice}
|
||||
<p class="product-unit-price sub">{l s='(%unit_price%)' d='Shop.Theme.Catalog' sprintf=['%unit_price%' => $product.unit_price_full]}</p>
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='product_without_taxes'}
|
||||
{if $priceDisplay == 2}
|
||||
<p class="product-without-taxes">{l s='%price% tax excl.' d='Shop.Theme.Catalog' sprintf=['%price%' => $product.price_tax_exc]}</p>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_pack_price'}
|
||||
{if $displayPackPrice}
|
||||
<p class="product-pack-price"><span>{l s='Instead of %price%' d='Shop.Theme.Catalog' sprintf=['%price%' => $noPackPrice]}</span></p>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_ecotax'}
|
||||
{if $product.ecotax.amount > 0}
|
||||
<p class="price-ecotax">{l s='Including %amount% for ecotax' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.ecotax.value]}
|
||||
{if $product.has_discount}
|
||||
{l s='(not impacted by the discount)' d='Shop.Theme.Catalog'}
|
||||
{/if}
|
||||
</p>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
<div class="tax-shipping-delivery-label">
|
||||
{if isset($configuration.taxes_enabled) && !$configuration.taxes_enabled}
|
||||
<p class="label-taxes">{l s='No tax' d='Shop.Theme.Catalog'}</p>
|
||||
{elseif $configuration.display_taxes_label}
|
||||
<p class="label-taxes">{$product.labels.tax_long}</p>
|
||||
{/if}
|
||||
{if $product.additional_delivery_times == 1}
|
||||
{if $product.delivery_information}
|
||||
<span class="delivery-information">{$product.delivery_information}</span>
|
||||
{/if}
|
||||
{elseif $product.additional_delivery_times == 2}
|
||||
{if $product.quantity > 0}
|
||||
<span class="delivery-information">{$product.delivery_in_stock}</span>
|
||||
{* Out of stock message should not be displayed if customer can't order the product. *}
|
||||
{elseif $product.quantity <= 0 && $product.add_to_cart_url}
|
||||
<span class="delivery-information">{$product.delivery_out_stock}</span>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{hook h='displayProductPriceBlock' product=$product type="after_price"}
|
||||
</div>
|
||||
{/if}
|
||||
@@ -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
|
||||
*}
|
||||
<div class="product-variants">
|
||||
{foreach from=$groups key=id_attribute_group item=group}
|
||||
{if !empty($group.attributes)}
|
||||
<div class="clearfix product-variants-item">
|
||||
<span class="control-label">{$group.name}</span>
|
||||
{if $group.group_type == 'select'}
|
||||
<select
|
||||
class="form-control form-control-select"
|
||||
id="group_{$id_attribute_group}"
|
||||
data-product-attribute="{$id_attribute_group}"
|
||||
name="group[{$id_attribute_group}]">
|
||||
{foreach from=$group.attributes key=id_attribute item=group_attribute}
|
||||
<option value="{$id_attribute}" title="{$group_attribute.name}"{if $group_attribute.selected} selected="selected"{/if}>{$group_attribute.name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{elseif $group.group_type == 'color'}
|
||||
<ul id="group_{$id_attribute_group}">
|
||||
{foreach from=$group.attributes key=id_attribute item=group_attribute}
|
||||
<li class="float-xs-left input-container
|
||||
|
||||
{if $group.attributes_quantity[$id_attribute]<=0}outstock{else}instock{/if}
|
||||
|
||||
">
|
||||
<label>
|
||||
<input class="input-color" type="radio" data-product-attribute="{$id_attribute_group}" name="group[{$id_attribute_group}]" value="{$id_attribute}"{if $group_attribute.selected} checked="checked"{/if}>
|
||||
<span
|
||||
{if $group_attribute.html_color_code && !$group_attribute.texture}class="color" style="background-color: {$group_attribute.html_color_code}" {/if}
|
||||
{if $group_attribute.texture}class="color texture" style="background-image: url({$group_attribute.texture})" {/if}
|
||||
><span class="sr-only">{$group_attribute.name}</span></span>
|
||||
</label>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{elseif $group.group_type == 'radio'}
|
||||
|
||||
<ul id="group_{$id_attribute_group}">
|
||||
{foreach from=$group.attributes key=id_attribute item=group_attribute}
|
||||
|
||||
<li class="input-container float-xs-left
|
||||
|
||||
{if $group.attributes_quantity[$id_attribute]<=0}outstock{else}instock{/if}
|
||||
|
||||
">
|
||||
<label>
|
||||
<input class="input-radio" type="radio" data-product-attribute="{$id_attribute_group}" name="group[{$id_attribute_group}]" value="{$id_attribute}"{if $group_attribute.selected} checked="checked"{/if}>
|
||||
<span class="radio-label">{$group_attribute.name}</span>
|
||||
</label>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
@@ -0,0 +1,13 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{*
|
||||
* Classic theme doesn't use this subtemplate, feel free to do whatever you need here.
|
||||
* This template is generated at each ajax calls.
|
||||
* See ProductListingFrontController::getAjaxProductSearchVariables()
|
||||
*}
|
||||
<div id="js-product-list-bottom"></div>
|
||||
69
themes/at_movic/templates/catalog/_partials/products-top.tpl
Normal file
69
themes/at_movic/templates/catalog/_partials/products-top.tpl
Normal file
@@ -0,0 +1,69 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
{if !isset($LISTING_GRID_MODE) || !isset($LISTING_PRODUCT_COLUMN) || !isset($LISTING_PRODUCT_COLUMN_MODULE) || !isset($LISTING_PRODUCT_TABLET) || !isset($LISTING_PRODUCT_SMALLDEVICE) || !isset($LISTING_PRODUCT_EXTRASMALLDEVICE) || !isset($LISTING_PRODUCT_MOBILE)}
|
||||
{block name="setting"}
|
||||
{include file="layouts/setting.tpl"}
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
<div id="js-product-list-top" class="products-selection">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-3 hidden-sm-down total-products">
|
||||
{block name='leo_gird_list'}
|
||||
<div class="display">
|
||||
<div id="grid" class="leo_grid {if isset($LISTING_GRID_MODE) && $LISTING_GRID_MODE =='grid'}selected{/if}"><a rel="nofollow" href="#" title="{l s='Grid' d='Shop.Theme.Global'}"><i class="fa fa-th"></i></a></div>
|
||||
<div id="list" class="leo_list {if isset($LISTING_GRID_MODE) && $LISTING_GRID_MODE =='list'}selected{/if}"><a rel="nofollow" href="#" title="{l s='List' d='Shop.Theme.Global'}"><i class="fa fa-list-ul"></i></a></div>
|
||||
</div>
|
||||
{/block}
|
||||
{if $listing.pagination.total_items > 1}
|
||||
<p>{l s='There are %product_count% products.' d='Shop.Theme.Catalog' sprintf=['%product_count%' => $listing.pagination.total_items]}</p>
|
||||
{elseif $listing.pagination.total_items > 0}
|
||||
<p>{l s='There is 1 product.' d='Shop.Theme.Catalog'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-9">
|
||||
<div class="row sort-by-row">
|
||||
{block name='sort_by'}
|
||||
{include file='catalog/_partials/sort-orders.tpl' sort_orders=$listing.sort_orders}
|
||||
{/block}
|
||||
|
||||
{if !empty($listing.rendered_facets)}
|
||||
<div class="col-sm-4 col-xs-4 col-sp-12 hidden-md-up filter-button">
|
||||
<button id="search_filter_toggler" class="btn btn-outline">
|
||||
{l s='Filter' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 hidden-md-up text-sm-center showing">
|
||||
{l s='Showing %from%-%to% of %total% item(s)' d='Shop.Theme.Catalog' sprintf=[
|
||||
'%from%' => $listing.pagination.items_shown_from ,
|
||||
'%to%' => $listing.pagination.items_shown_to,
|
||||
'%total%' => $listing.pagination.total_items
|
||||
]}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
41
themes/at_movic/templates/catalog/_partials/products.tpl
Normal file
41
themes/at_movic/templates/catalog/_partials/products.tpl
Normal file
@@ -0,0 +1,41 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<div id="js-product-list">
|
||||
<div class="products">
|
||||
{assign var="leo_page" value='category'}
|
||||
{include file='catalog/_partials/miniatures/leo_col_products.tpl' products=$listing.products}
|
||||
</div>
|
||||
|
||||
{block name='pagination'}
|
||||
{include file='_partials/pagination.tpl' pagination=$listing.pagination}
|
||||
{/block}
|
||||
|
||||
<div class="hidden-md-up text-xs-right up">
|
||||
<a href="#header" class="btn btn-secondary">
|
||||
{l s='Back to top' d='Shop.Theme.Actions'}
|
||||
<i class="material-icons"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
77
themes/at_movic/templates/catalog/_partials/quickview.tpl
Normal file
77
themes/at_movic/templates/catalog/_partials/quickview.tpl
Normal file
@@ -0,0 +1,77 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<div id="quickview-modal-{$product.id}-{$product.id_product_attribute}" class="modal fade quickview leo-quickview" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered" 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>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6 hidden-xs-down">
|
||||
|
||||
{block name='product_cover_thumbnails'}
|
||||
{include file='catalog/_partials/product-cover-thumbnails.tpl'}
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<h1 class="h1">{$product.name}</h1>
|
||||
{block name='product_prices'}
|
||||
{include file='catalog/_partials/product-prices.tpl'}
|
||||
{/block}
|
||||
{block name='product_description_short'}
|
||||
<div id="product-description-short" itemprop="description">{$product.description_short nofilter}</div>
|
||||
{/block}
|
||||
{block name='product_buy'}
|
||||
<div class="product-actions">
|
||||
<form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh">
|
||||
<input type="hidden" name="token" value="{$static_token}">
|
||||
<input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id">
|
||||
<input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id">
|
||||
{block name='product_variants'}
|
||||
{include file='catalog/_partials/product-variants.tpl'}
|
||||
{/block}
|
||||
|
||||
{block name='product_add_to_cart'}
|
||||
{include file='catalog/_partials/product-add-to-cart.tpl'}
|
||||
{/block}
|
||||
|
||||
{* Input to refresh product HTML removed, block kept for compatibility with themes *}
|
||||
{block name='product_refresh'}{/block}
|
||||
</form>
|
||||
</div>
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
{hook h='displayProductAdditionalInfo' product=$product}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
47
themes/at_movic/templates/catalog/_partials/sort-orders.tpl
Normal file
47
themes/at_movic/templates/catalog/_partials/sort-orders.tpl
Normal 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
|
||||
*}
|
||||
<span class="col-sm-3 col-md-3 hidden-sm-down sort-by">{l s='Sort by:' d='Shop.Theme.Global'}</span>
|
||||
<div class="{if !empty($listing.rendered_facets)}col-sm-9 col-xs-8 col-sp-12 {else}col-sm-12 col-xs-12{/if} col-md-9 products-sort-order dropdown">
|
||||
<button
|
||||
class="btn-unstyle select-title"
|
||||
rel="nofollow"
|
||||
data-toggle="dropdown"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false">
|
||||
{if isset($listing.sort_selected)}{$listing.sort_selected}{else}{l s='Select' d='Shop.Theme.Actions'}{/if}
|
||||
<i class="material-icons float-xs-right"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu">
|
||||
{foreach from=$listing.sort_orders item=sort_order}
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="{$sort_order.url}"
|
||||
class="select-list {['current' => $sort_order.current, 'js-search-link' => true]|classnames}"
|
||||
>
|
||||
{$sort_order.label}
|
||||
</a>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,23 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<div class="variant-links">
|
||||
{foreach from=$variants item=variant}
|
||||
<a href="{$variant.url}"
|
||||
class="{$variant.type}"
|
||||
title="{$variant.name}"
|
||||
{*
|
||||
TODO:
|
||||
put color in a data attribute for use with attr() as soon as browsers support it,
|
||||
see https://developer.mozilla.org/en/docs/Web/CSS/attr
|
||||
*}
|
||||
{if $variant.html_color_code} style="background-color: {$variant.html_color_code}" {/if}
|
||||
{if $variant.texture} style="background-image: url({$variant.texture})" {/if}
|
||||
><span class="sr-only">{$variant.name}</span></a>
|
||||
{/foreach}
|
||||
<span class="js-count count"></span>
|
||||
</div>
|
||||
44
themes/at_movic/templates/catalog/brands.tpl
Normal file
44
themes/at_movic/templates/catalog/brands.tpl
Normal file
@@ -0,0 +1,44 @@
|
||||
{**
|
||||
* 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=$layout}
|
||||
|
||||
{block name='content'}
|
||||
<section id="main">
|
||||
|
||||
{block name='brand_header'}
|
||||
<h1>{l s='Brands' d='Shop.Theme.Catalog'}</h1>
|
||||
{/block}
|
||||
|
||||
{block name='brand_miniature'}
|
||||
<ul class="list-brands">
|
||||
{foreach from=$brands item=brand}
|
||||
{include file='catalog/_partials/miniatures/brand.tpl' brand=$brand}
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
|
||||
</section>
|
||||
|
||||
{/block}
|
||||
35
themes/at_movic/templates/catalog/index.php
Normal file
35
themes/at_movic/templates/catalog/index.php
Normal 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;
|
||||
12
themes/at_movic/templates/catalog/listing/best-sales.tpl
Normal file
12
themes/at_movic/templates/catalog/listing/best-sales.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{*
|
||||
* This file allows you to customize your best-sales page.
|
||||
* You can safely remove it if you want it to appear exactly like all other product listing pages
|
||||
*}
|
||||
{extends file='catalog/listing/product-list.tpl'}
|
||||
48
themes/at_movic/templates/catalog/listing/category.tpl
Normal file
48
themes/at_movic/templates/catalog/listing/category.tpl
Normal file
@@ -0,0 +1,48 @@
|
||||
{**
|
||||
* 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='catalog/listing/product-list.tpl'}
|
||||
|
||||
{block name='product_list_header'}
|
||||
{include file='catalog/_partials/category-header.tpl' listing=$listing category=$category}
|
||||
{if isset($LEO_SUBCATEGORY) && $LEO_SUBCATEGORY && isset($subcategories) && count($subcategories) > 0}
|
||||
<div id="subcategories">
|
||||
<div class="row">
|
||||
{foreach from=$subcategories item=subcategory}
|
||||
<div class="subcategory-block col-xl-4 col-lg-4 col-md-6 col-sm-6 col-xs-6 col-sp-12">
|
||||
<div class="subcategory-image">
|
||||
<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" title="{$subcategory.name|escape:'html':'UTF-8'}" class="img">
|
||||
<img class="lazy img-fluid" data-src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'category_default')}" alt="{$subcategory.name|escape:'html':'UTF-8'}"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="subcategory-meta">
|
||||
<h3><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'}</a></h3>
|
||||
<div class="subcategory-description">{$subcategory.description|strip_tags|truncate:120:'...'|escape:'html':'UTF-8' nofilter}</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
35
themes/at_movic/templates/catalog/listing/index.php
Normal file
35
themes/at_movic/templates/catalog/listing/index.php
Normal 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;
|
||||
31
themes/at_movic/templates/catalog/listing/manufacturer.tpl
Normal file
31
themes/at_movic/templates/catalog/listing/manufacturer.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
{**
|
||||
* 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='catalog/listing/product-list.tpl'}
|
||||
|
||||
{block name='product_list_header'}
|
||||
<h1>{l s='List of products by brand %brand_name%' sprintf=['%brand_name%' => $manufacturer.name] d='Shop.Theme.Catalog'}</h1>
|
||||
<div id="manufacturer-short_description">{$manufacturer.short_description nofilter}</div>
|
||||
<div id="manufacturer-description">{$manufacturer.description nofilter}</div>
|
||||
{/block}
|
||||
12
themes/at_movic/templates/catalog/listing/new-products.tpl
Normal file
12
themes/at_movic/templates/catalog/listing/new-products.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{*
|
||||
* This file allows you to customize your new-product page.
|
||||
* You can safely remove it if you want it to appear exactly like all other product listing pages
|
||||
*}
|
||||
{extends file='catalog/listing/product-list.tpl'}
|
||||
12
themes/at_movic/templates/catalog/listing/prices-drop.tpl
Normal file
12
themes/at_movic/templates/catalog/listing/prices-drop.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{*
|
||||
* This file allows you to customize your price-drop page.
|
||||
* You can safely remove it if you want it to appear exactly like all other product listing pages
|
||||
*}
|
||||
{extends file='catalog/listing/product-list.tpl'}
|
||||
76
themes/at_movic/templates/catalog/listing/product-list.tpl
Normal file
76
themes/at_movic/templates/catalog/listing/product-list.tpl
Normal file
@@ -0,0 +1,76 @@
|
||||
{**
|
||||
* 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=$layout}
|
||||
|
||||
{block name='content'}
|
||||
<section id="main">
|
||||
|
||||
{block name='product_list_header'}
|
||||
<h2 id="js-product-list-header" class="h2">{$listing.label}</h2>
|
||||
{/block}
|
||||
|
||||
<section id="products">
|
||||
{if $listing.products|count}
|
||||
|
||||
<div>
|
||||
{block name='product_list_top'}
|
||||
{include file='catalog/_partials/products-top.tpl' listing=$listing}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
{block name='product_list_active_filters'}
|
||||
<div id="" class="hidden-sm-down">
|
||||
{$listing.rendered_active_filters nofilter}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
<div>
|
||||
{block name='product_list'}
|
||||
{include file='catalog/_partials/products.tpl' listing=$listing}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
<div id="js-product-list-bottom">
|
||||
{block name='product_list_bottom'}
|
||||
{include file='catalog/_partials/products-bottom.tpl' listing=$listing}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
{else}
|
||||
<div id="js-product-list-top"></div>
|
||||
|
||||
<div id="js-product-list">
|
||||
{include file='errors/not-found.tpl'}
|
||||
</div>
|
||||
|
||||
<div id="js-product-list-bottom"></div>
|
||||
{/if}
|
||||
{if $category.description}
|
||||
<div id="category-description" class="text-muted">{$category.description nofilter}</div>
|
||||
{/if}
|
||||
</section>
|
||||
|
||||
</section>
|
||||
{/block}
|
||||
12
themes/at_movic/templates/catalog/listing/search.tpl
Normal file
12
themes/at_movic/templates/catalog/listing/search.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{*
|
||||
* This file allows you to customize your search page.
|
||||
* You can safely remove it if you want it to appear exactly like all other product listing pages
|
||||
*}
|
||||
{extends file='catalog/listing/product-list.tpl'}
|
||||
30
themes/at_movic/templates/catalog/listing/supplier.tpl
Normal file
30
themes/at_movic/templates/catalog/listing/supplier.tpl
Normal file
@@ -0,0 +1,30 @@
|
||||
{**
|
||||
* 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='catalog/listing/product-list.tpl'}
|
||||
|
||||
{block name='product_list_header'}
|
||||
<h1>{l s='List of products by supplier %s' sprintf=[$supplier.name] d='Shop.Theme.Catalog'}</h1>
|
||||
<div id="supplier-description">{$supplier.description nofilter}</div>
|
||||
{/block}
|
||||
25
themes/at_movic/templates/catalog/manufacturers.tpl
Normal file
25
themes/at_movic/templates/catalog/manufacturers.tpl
Normal file
@@ -0,0 +1,25 @@
|
||||
{**
|
||||
* 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='catalog/brands.tpl'}
|
||||
256
themes/at_movic/templates/catalog/product.tpl
Normal file
256
themes/at_movic/templates/catalog/product.tpl
Normal file
@@ -0,0 +1,256 @@
|
||||
{**
|
||||
* 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=$layout}
|
||||
|
||||
{block name='head_seo' prepend}
|
||||
<link rel="canonical" href="{$product.canonical_url}">
|
||||
{/block}
|
||||
|
||||
{block name='head' append}
|
||||
<meta property="og:type" content="product">
|
||||
<meta property="og:url" content="{$urls.current_url}">
|
||||
<meta property="og:title" content="{$page.meta.title}">
|
||||
<meta property="og:site_name" content="{$shop.name}">
|
||||
<meta property="og:description" content="{$page.meta.description}">
|
||||
<meta property="og:image" content="{$product.cover.large.url}">
|
||||
{if $product.show_price}
|
||||
<meta property="product:pretax_price:amount" content="{$product.price_tax_exc}">
|
||||
<meta property="product:pretax_price:currency" content="{$currency.iso_code}">
|
||||
<meta property="product:price:amount" content="{$product.price_amount}">
|
||||
<meta property="product:price:currency" content="{$currency.iso_code}">
|
||||
{/if}
|
||||
{if isset($product.weight) && ($product.weight != 0)}
|
||||
<meta property="product:weight:value" content="{$product.weight}">
|
||||
<meta property="product:weight:units" content="{$product.weight_unit}">
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='content'}
|
||||
|
||||
{if isset($product.productLayout) && $product.productLayout != ''}
|
||||
{hook h='displayLeoProfileProduct' product=$product typeProduct='detail'}
|
||||
{else}
|
||||
|
||||
<section id="main" class="product-detail" itemscope itemtype="https://schema.org/Product">
|
||||
<meta itemprop="url" content="{$product.url}">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
{block name='page_content_container'}
|
||||
<section class="page-content" id="content">
|
||||
{block name='page_content'}
|
||||
<!-- @todo: use include file='catalog/_partials/product-flags.tpl'} -->
|
||||
{block name='product_flags'}
|
||||
<ul class="product-flags">
|
||||
{foreach from=$product.flags item=flag}
|
||||
<li class="product-flag {$flag.type}">{$flag.label}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
{block name='product_cover_thumbnails'}
|
||||
{include file='catalog/_partials/product-cover-thumbnails.tpl'}
|
||||
{/block}
|
||||
{/block}
|
||||
</section>
|
||||
{block name='product_images_modal'}
|
||||
{include file='catalog/_partials/product-images-modal.tpl'}
|
||||
{/block}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
{block name='page_header_container'}
|
||||
{block name='page_header'}
|
||||
<h1 class="h1 product-detail-name" itemprop="name">{block name='page_title'}{$product.name}{/block}</h1>
|
||||
{/block}
|
||||
{/block}
|
||||
|
||||
{hook h='displayProductButtons' product=$product}
|
||||
{hook h='displayLeoProductReviewExtra' product=$product}
|
||||
|
||||
{block name='product_prices'}
|
||||
{include file='catalog/_partials/product-prices.tpl'}
|
||||
{/block}
|
||||
|
||||
<div class="product-information">
|
||||
{block name='product_description_short'}
|
||||
<div id="product-description-short-{$product.id}" itemprop="description">{$product.description_short nofilter}</div>
|
||||
{/block}
|
||||
|
||||
{if $product.is_customizable && count($product.customizations.fields)}
|
||||
{block name='product_customization'}
|
||||
{include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations}
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
<div class="product-actions">
|
||||
{block name='product_buy'}
|
||||
<form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh">
|
||||
<input type="hidden" name="token" value="{$static_token}">
|
||||
<input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id">
|
||||
<input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id">
|
||||
|
||||
{block name='product_variants'}
|
||||
{include file='catalog/_partials/product-variants.tpl'}
|
||||
{/block}
|
||||
|
||||
{block name='product_pack'}
|
||||
{if $packItems}
|
||||
<section class="product-pack">
|
||||
<p class="h4">{l s='This pack contains' d='Shop.Theme.Catalog'}</p>
|
||||
{foreach from=$packItems item="product_pack"}
|
||||
{block name='product_miniature'}
|
||||
{include file='catalog/_partials/miniatures/pack-product.tpl' product=$product_pack}
|
||||
{/block}
|
||||
{/foreach}
|
||||
</section>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_discounts'}
|
||||
{include file='catalog/_partials/product-discounts.tpl'}
|
||||
{/block}
|
||||
|
||||
{block name='product_add_to_cart'}
|
||||
{include file='catalog/_partials/product-add-to-cart.tpl'}
|
||||
{/block}
|
||||
|
||||
{block name='product_additional_info'}
|
||||
{include file='catalog/_partials/product-additional-info.tpl'}
|
||||
{/block}
|
||||
|
||||
{* Input to refresh product HTML removed, block kept for compatibility with themes *}
|
||||
{block name='product_refresh'}{/block}
|
||||
</form>
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
{block name='hook_display_reassurance'}
|
||||
{hook h='displayReassurance'}
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{block name='product_info'}
|
||||
{if isset($USE_PTABS) && $USE_PTABS == 'tab'}
|
||||
{include file="sub/product_info/tab.tpl"}
|
||||
{else if isset($USE_PTABS) && $USE_PTABS == 'accordion'}
|
||||
{include file="sub/product_info/accordions.tpl"}
|
||||
{else}
|
||||
{include file="sub/product_info/default.tpl"}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_accessories'}
|
||||
{if $accessories}
|
||||
<section class="product-accessories clearfix">
|
||||
<h3 class="h5 products-section-title">{l s='You might also like' d='Shop.Theme.Catalog'}</h3>
|
||||
<div class="products">
|
||||
<div class="owl-row {if isset($productClassWidget)} {$productClassWidget}{/if}">
|
||||
<div id="category-products2">
|
||||
{foreach from=$accessories item="product_accessory"}
|
||||
<div class="item{if $smarty.foreach.mypLoop.index == 0} first{/if}">
|
||||
{block name='product_miniature'}
|
||||
{if isset($productProfileDefault) && $productProfileDefault}
|
||||
{* exits THEME_NAME/profiles/profile_name.tpl -> load template*}
|
||||
{hook h='displayLeoProfileProduct' product=$product_accessory profile=$productProfileDefault}
|
||||
{else}
|
||||
{include file='catalog/_partials/miniatures/product.tpl' product=$product_accessory}
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
products_list_functions.push(
|
||||
function(){
|
||||
$('#category-products2').owlCarousel({
|
||||
{if isset($IS_RTL) && $IS_RTL}
|
||||
direction:'rtl',
|
||||
{else}
|
||||
direction:'ltr',
|
||||
{/if}
|
||||
items : 4,
|
||||
itemsCustom : false,
|
||||
itemsDesktop : [1200, 4],
|
||||
itemsDesktopSmall : [992, 3],
|
||||
itemsTablet : [768, 2],
|
||||
itemsTabletSmall : false,
|
||||
itemsMobile : [480, 1],
|
||||
singleItem : false, // true : show only 1 item
|
||||
itemsScaleUp : false,
|
||||
slideSpeed : 200, // change speed when drag and drop a item
|
||||
paginationSpeed :800, // change speed when go next page
|
||||
|
||||
autoPlay : false, // time to show each item
|
||||
stopOnHover : false,
|
||||
navigation : true,
|
||||
navigationText : ["‹", "›"],
|
||||
|
||||
scrollPerPage :true,
|
||||
responsive :true,
|
||||
|
||||
pagination : false,
|
||||
paginationNumbers : false,
|
||||
|
||||
addClassActive : true,
|
||||
|
||||
mouseDrag : true,
|
||||
touchDrag : true,
|
||||
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
</script>
|
||||
|
||||
{block name='product_footer'}
|
||||
{hook h='displayFooterProduct' product=$product category=$category}
|
||||
{/block}
|
||||
|
||||
{block name='product_images_modal'}
|
||||
{include file='catalog/_partials/product-images-modal.tpl'}
|
||||
{/block}
|
||||
|
||||
{block name='page_footer_container'}
|
||||
<footer class="page-footer">
|
||||
{block name='page_footer'}
|
||||
<!-- Footer content -->
|
||||
{/block}
|
||||
</footer>
|
||||
{/block}
|
||||
|
||||
</section>
|
||||
{/if}
|
||||
{/block}
|
||||
29
themes/at_movic/templates/catalog/suppliers.tpl
Normal file
29
themes/at_movic/templates/catalog/suppliers.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
{**
|
||||
* 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='catalog/brands.tpl'}
|
||||
|
||||
{block name='brand_header'}
|
||||
<h1>{l s='Suppliers' d='Shop.Theme.Catalog'}</h1>
|
||||
{/block}
|
||||
@@ -0,0 +1,53 @@
|
||||
{*
|
||||
* @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/_partials/address-form.tpl'}
|
||||
|
||||
{block name='form_field'}
|
||||
{if $field.name eq "alias"}
|
||||
{* we don't ask for alias here *}
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name="address_form_url"}
|
||||
<form
|
||||
method="POST"
|
||||
action="{url entity='order' params=['id_address' => $id_address]}"
|
||||
data-id-address="{$id_address}"
|
||||
data-refresh-url="{url entity='order' params=['ajax' => 1, 'action' => 'addressForm']}"
|
||||
>
|
||||
{/block}
|
||||
|
||||
{block name='form_fields' append}
|
||||
<input type="hidden" name="saveAddress" value="{$type}">
|
||||
{if $type === "delivery"}
|
||||
<div class="form-group row">
|
||||
<div class="col-md-9 col-md-offset-3">
|
||||
<input name = "use_same_address" id="use_same_address" type = "checkbox" value = "1" {if $use_same_address} checked {/if}>
|
||||
<label for="use_same_address">{l s='Use this address for invoice too' d='Shop.Theme.Checkout'}</label>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='form_buttons'}
|
||||
{if !$form_has_continue_button}
|
||||
<button type="submit" class="btn btn-primary float-xs-right">{l s='Save' d='Shop.Theme.Actions'}</button>
|
||||
<a class="js-cancel-address cancel-address float-xs-right" href="{url entity='order' params=['cancelAddress' => {$type}]}">{l s='Cancel' d='Shop.Theme.Actions'}</a>
|
||||
{else}
|
||||
<form>
|
||||
<button type="submit" class="continue btn btn-primary float-xs-right" name="confirm-addresses" value="1">
|
||||
{l s='Continue' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
{if $customer.addresses|count > 0}
|
||||
<a class="js-cancel-address cancel-address float-xs-right" href="{url entity='order' params=['cancelAddress' => {$type}]}">{l s='Cancel' d='Shop.Theme.Actions'}</a>
|
||||
{/if}
|
||||
</form>
|
||||
{/if}
|
||||
{/block}
|
||||
@@ -0,0 +1,72 @@
|
||||
{**
|
||||
* 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_selector_blocks'}
|
||||
{foreach $addresses as $address}
|
||||
<article
|
||||
class="address-item{if $address.id == $selected} selected{/if}"
|
||||
id="{$name|classname}-address-{$address.id}"
|
||||
>
|
||||
<header class="h4">
|
||||
<label class="radio-block">
|
||||
<span class="custom-radio">
|
||||
<input
|
||||
type="radio"
|
||||
name="{$name}"
|
||||
value="{$address.id}"
|
||||
{if $address.id == $selected}checked{/if}
|
||||
>
|
||||
<span></span>
|
||||
</span>
|
||||
<span class="address-alias h4">{$address.alias}</span>
|
||||
<div class="address">{$address.formatted nofilter}</div>
|
||||
</label>
|
||||
</header>
|
||||
<hr>
|
||||
{* <footer class="address-footer">
|
||||
{if $interactive}
|
||||
<a
|
||||
class="edit-address text-muted"
|
||||
data-link-action="edit-address"
|
||||
href="{url entity='order' params=['id_address' => $address.id, 'editAddress' => $type, 'token' => $token]}"
|
||||
>
|
||||
<i class="material-icons edit"></i>{l s='Edit' d='Shop.Theme.Actions'}
|
||||
</a>
|
||||
<a
|
||||
class="delete-address text-muted"
|
||||
data-link-action="delete-address"
|
||||
href="{url entity='order' params=['id_address' => $address.id, 'deleteAddress' => true, 'token' => $token]}"
|
||||
>
|
||||
<i class="material-icons delete"></i>{l s='Delete' d='Shop.Theme.Actions'}
|
||||
</a>
|
||||
{/if}
|
||||
</footer> *}
|
||||
</article>
|
||||
{/foreach}
|
||||
{if $interactive}
|
||||
<p>
|
||||
<button class="ps-hidden-by-js form-control-submit center-block" type="submit">{l s='Save' d='Shop.Theme.Actions'}</button>
|
||||
</p>
|
||||
{/if}
|
||||
{/block}
|
||||
@@ -0,0 +1,45 @@
|
||||
{**
|
||||
* 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='cart_detailed_actions'}
|
||||
<div class="checkout cart-detailed-actions card-block">
|
||||
{if $cart.minimalPurchaseRequired}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{$cart.minimalPurchaseRequired}
|
||||
</div>
|
||||
<div class="text-sm-center">
|
||||
<button type="button" class="btn btn-outline disabled" disabled>{l s='PRZEJDŹ DO ZAMÓWIENIA' d='Shop.Theme.Actions'}</button>
|
||||
</div>
|
||||
{elseif empty($cart.products) }
|
||||
<div class="text-sm-center">
|
||||
<button type="button" class="btn btn-outline disabled" disabled>{l s='PRZEJDŹ DO ZAMÓWIENIA' d='Shop.Theme.Actions'}</button>
|
||||
</div>
|
||||
{else}
|
||||
<div class="text-sm-center">
|
||||
<a href="{$urls.pages.order}" class="btn btn-outline">{l s='PRZEJDŹ DO ZAMÓWIENIA' d='Shop.Theme.Actions'}</a>
|
||||
{hook h='displayExpressCheckout'}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,152 @@
|
||||
{** * 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 *}
|
||||
<div class="product-line-grid row">
|
||||
<!-- product left content: image-->
|
||||
<div class="product-line-grid-left col-md-2 col-xs-3">
|
||||
<span class="product-image media-middle">
|
||||
<img class="lazy" data-src="{$product.cover.bySize.cart_default.url}" alt="{$product.name|escape:'quotes'}" />
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- product left body: description -->
|
||||
<div class="product-line-grid-body col-md-5 col-xs-9">
|
||||
<div class="product-line-info">
|
||||
<a class="label" href="{$product.url}"
|
||||
data-id_customization="{$product.id_customization|intval}">{$product.name}</a>
|
||||
</div>
|
||||
|
||||
{* <div class="product-line-info product-price h5 {if $product.has_discount}has-discount{/if}">
|
||||
{if $product.has_discount}
|
||||
<div class="product-discount">
|
||||
<span class="regular-price">{$product.regular_price}</span>
|
||||
{if $product.discount_type === 'percentage'}
|
||||
<span class="discount discount-percentage">
|
||||
-{$product.discount_percentage_absolute}
|
||||
</span>
|
||||
{else}
|
||||
<span class="discount discount-amount">
|
||||
-{$product.discount_to_display}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
<div class="current-price">
|
||||
<span class="price">{$product.price}</span>
|
||||
{if $product.unit_price_full}
|
||||
<div class="unit-price-cart">{$product.un-6 col-sp-12 qtyit_price_full}</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br /> *}
|
||||
|
||||
{foreach from=$product.attributes key="attribute" item="value"}
|
||||
<div class="product-line-info">
|
||||
<span class="label">{$attribute}:</span>
|
||||
<span class="value">{$value}</span>
|
||||
</div>
|
||||
{/foreach} {if is_array($product.customizations) &&
|
||||
$product.customizations|count}
|
||||
<br />
|
||||
{block name='cart_detailed_product_line_customization'} {foreach
|
||||
from=$product.customizations item="customization"}
|
||||
<a href="#" data-toggle="modal"
|
||||
data-target="#product-customizations-modal-{$customization.id_customization}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
|
||||
<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">×</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}
|
||||
{/block}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- product left body: description -->
|
||||
<div class="product-line-grid-right product-line-actions col-md-5 col-xs-12">
|
||||
<div class="row">
|
||||
<div class="col-xs-4 hidden-md-up"></div>
|
||||
<div class="col-md-10 col-xs-6">
|
||||
<div class="row">
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-5 col-xs-6 col-sp-12 qty">
|
||||
{if isset($product.is_gift) && $product.is_gift}
|
||||
<span class="gift-quantity">{$product.quantity}</span>
|
||||
{else}
|
||||
<input class="js-cart-line-product-quantity" data-down-url="{$product.down_quantity_url}"
|
||||
data-up-url="{$product.up_quantity_url}" data-update-url="{$product.update_quantity_url}"
|
||||
data-product-id="{$product.id_product}" type="number" value="{$product.quantity}"
|
||||
name="product-quantity-spin" min="{$product.minimal_quantity}" />
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-4 col-xs-2 col-sp-12 price">
|
||||
<span class="product-price">
|
||||
<strong>
|
||||
{if isset($product.is_gift) && $product.is_gift}
|
||||
<span class="gift">{l s='Gift' d='Shop.Theme.Checkout'}</span>
|
||||
{else} {$product.total}
|
||||
{/if}
|
||||
</strong>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2 col-xs-2 text-xs-right">
|
||||
<div class="cart-line-product-actions">
|
||||
<a class="remove-from-cart" rel="nofollow" href="{$product.remove_from_cart_url}"
|
||||
data-link-action="delete-from-cart" data-id-product="{$product.id_product|escape:'javascript'}"
|
||||
data-id-product-attribute="{$product.id_product_attribute|escape:'javascript'}"
|
||||
data-id-customization="{$product.id_customization|escape:'javascript'}">
|
||||
{if !isset($product.is_gift) || !$product.is_gift}
|
||||
<i class="material-icons float-xs-left">delete</i>
|
||||
{/if}
|
||||
</a>
|
||||
|
||||
{block name='hook_cart_extra_product_actions'} {hook
|
||||
h='displayCartExtraProductActions' product=$product} {/block}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</contact@prestashop.com>
|
||||
@@ -0,0 +1,54 @@
|
||||
{**
|
||||
* 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='cart_detailed_totals'}
|
||||
<div class="cart-detailed-totals">
|
||||
|
||||
{* <div class="card-block">
|
||||
{foreach from=$cart.subtotals item="subtotal"}
|
||||
{if $subtotal.value && $subtotal.type !== 'tax'}
|
||||
<div class="cart-summary-line" id="cart-subtotal-{$subtotal.type}">
|
||||
<span class="label{if 'products' === $subtotal.type} js-subtotal{/if}">
|
||||
{if 'products' == $subtotal.type}
|
||||
{$cart.summary_string}
|
||||
{else}
|
||||
{$subtotal.label}
|
||||
{/if}
|
||||
</span>
|
||||
<span class="value">
|
||||
{if 'discount' == $subtotal.type}- {/if}{$subtotal.value}
|
||||
</span>
|
||||
{if $subtotal.type === 'shipping'}
|
||||
<div><small class="value">{hook h='displayCheckoutSubtotalDetails' subtotal=$subtotal}</small></div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div> *}
|
||||
|
||||
{block name='cart_summary_totals'}
|
||||
{include file='checkout/_partials/cart-summary-totals.tpl' cart=$cart}
|
||||
{/block}
|
||||
</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,45 @@
|
||||
{**
|
||||
* 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='cart_detailed_product'}
|
||||
<div class="cart-overview js-cart" data-refresh-url="{url entity='cart' params=['ajax' => true, 'action' => 'refresh']}">
|
||||
{if $cart.products}
|
||||
<ul class="cart-items">
|
||||
{foreach from=$cart.products item=product}
|
||||
<li class="cart-item">
|
||||
{block name='cart_detailed_product_line'}
|
||||
{include file='checkout/_partials/cart-detailed-product-line.tpl' product=$product}
|
||||
{/block}
|
||||
</li>
|
||||
{if is_array($product.customizations) && $product.customizations|count >1}<hr>{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
{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}
|
||||
</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,30 @@
|
||||
{**
|
||||
* 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='cart_summary_items_subtotal'}
|
||||
<div class="card-block cart-summary-line cart-summary-items-subtotal clearfix" id="items-subtotal">
|
||||
<span class="label">{$cart.summary_string}</span>
|
||||
<span class="value">{$cart.subtotals.products.amount}</span>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,44 @@
|
||||
{**
|
||||
* 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='cart_summary_product_line'}
|
||||
<div class="media-left">
|
||||
<a href="{$product.url}" title="{$product.name}">
|
||||
<img class="lazy media-object" data-src="{$product.cover.small.url}" alt="{$product.name}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<span class="product-name">{$product.name}</span>
|
||||
<span class="product-quantity">x{$product.quantity}</span>
|
||||
<span class="product-price float-xs-right">{$product.price}</span>
|
||||
{hook h='displayProductPriceBlock' product=$product type="unit_price"}
|
||||
{foreach from=$product.attributes key="attribute" item="value"}
|
||||
<div class="product-line-info product-line-info-secondary text-muted">
|
||||
<span class="label">{$attribute}:</span>
|
||||
<span class="value">{$value}</span>
|
||||
</div>
|
||||
{/foreach}
|
||||
<br/>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,44 @@
|
||||
{**
|
||||
* PrestaShop and Contributors
|
||||
*
|
||||
* 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 https://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="card-block cart-summary-subtotals-container">
|
||||
|
||||
{foreach from=$cart.subtotals item="subtotal"}
|
||||
{if $subtotal.value && $subtotal.type !== 'tax'}
|
||||
<div class="cart-summary-line cart-summary-subtotals" id="cart-subtotal-{$subtotal.type}">
|
||||
|
||||
<span class="label">
|
||||
{$subtotal.label}
|
||||
</span>
|
||||
|
||||
<span class="value">
|
||||
{$subtotal.value}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,109 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<div class="card-block cart-summary-totals">
|
||||
|
||||
{** Remove VAT **}
|
||||
{* {block name='cart_summary_tax'}
|
||||
{if $cart.subtotals.tax}
|
||||
<div class="cart-summary-line">
|
||||
<span class="label sub">{l s='%label%:' sprintf=['%label%' => $cart.subtotals.tax.label] d='Shop.Theme.Global'}</span>
|
||||
<span class="value sub">{$cart.subtotals.tax.value}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/block} *}
|
||||
|
||||
|
||||
{** Add "Produkty" adn "Wysyłka" **}
|
||||
{foreach from=$cart.subtotals item="subtotal"}
|
||||
{if $subtotal.type == 'products'}
|
||||
<div class="cart-summary-line" id="cart-subtotal-{$subtotal.type}">
|
||||
<span class="label sub">
|
||||
{$subtotal.label}
|
||||
</span>
|
||||
|
||||
<span class="value sub">
|
||||
{$subtotal.value}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
{if $subtotal.type == 'shipping' and $subtotal.value != 0}
|
||||
<div class="cart-summary-line" id="cart-subtotal-{$subtotal.type}">
|
||||
<span class="label sub">
|
||||
{$subtotal.label}
|
||||
</span>
|
||||
|
||||
<span class="value sub">
|
||||
{$subtotal.value}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
{** Own code : Rabaty**}
|
||||
{if $cart.vouchers.added}
|
||||
{block name='cart_voucher_list'}
|
||||
<div class="cart-summary-line">
|
||||
<span class="label sub">{l s='KOD RABATOWY' d='Shop.Theme.Global'}</span>
|
||||
<span class="value sub">
|
||||
{foreach from=$cart.vouchers.added item=voucher}
|
||||
{$voucher.reduction_formatted}
|
||||
{/foreach}
|
||||
</span>
|
||||
</div>
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
{block name='cart_summary_total'}
|
||||
{if !$configuration.display_prices_tax_incl && $configuration.taxes_enabled}
|
||||
<div class="cart-summary-line cart-total">
|
||||
<span class="label">{$cart.totals.total_including_tax.label}</span>
|
||||
<span class="value">{$cart.totals.total_including_tax.value}</span>
|
||||
</div>
|
||||
<div class="cart-summary-line">
|
||||
<span class="label">{$cart.totals.total.label} {$cart.labels.tax_short}</span>
|
||||
<span class="value">{$cart.totals.total.value}</span>
|
||||
</div>
|
||||
{else}
|
||||
<div class="cart-summary-line cart-total">
|
||||
<span class="label">{$cart.totals.total.label} {if $configuration.taxes_enabled}{$cart.labels.tax_short}{/if}</span>
|
||||
<span class="value">{$cart.totals.total.value}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
<!-- add Spent X to get free ship in checkout page Leotheme -->
|
||||
{assign var='freeshipping_price' value=Configuration::get('PS_SHIPPING_FREE_PRICE')}
|
||||
{if $freeshipping_price}
|
||||
{math equation='a-b' a=$cart.totals.total.amount b=$cart.subtotals.shipping.amount assign='total_without_shipping'}
|
||||
{math equation='a-b' a=$freeshipping_price b=$total_without_shipping assign='remaining_to_spend'}
|
||||
{if $remaining_to_spend > 0}
|
||||
<div class="leo_free_price">
|
||||
{assign var=currency value=Context::getContext()->currency}
|
||||
<p>{l s='Spent' d='Shop.Theme.Global'} {Tools::displayPrice($remaining_to_spend,$currency)} {l s='To get free ship!' d='Shop.Theme.Global'}</p>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
<!-- end -->
|
||||
</div>
|
||||
@@ -0,0 +1,75 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<section id="js-checkout-summary" class="card js-cart" data-refresh-url="{$urls.pages.cart}?ajax=1&action=refresh">
|
||||
{* <div class="card-block">
|
||||
{block name='hook_checkout_summary_top'}
|
||||
{hook h='displayCheckoutSummaryTop'}
|
||||
{/block}
|
||||
|
||||
{block name='cart_summary_products'}
|
||||
<div class="cart-summary-products">
|
||||
|
||||
<p>{$cart.summary_string}</p>
|
||||
|
||||
<p>
|
||||
<a href="#" data-toggle="collapse" data-target="#cart-summary-product-list" class="btn btn-outline">
|
||||
{l s='show details' d='Shop.Theme.Actions'}
|
||||
<i class="material-icons">expand_more</i>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
{block name='cart_summary_product_list'}
|
||||
<div class="collapse" id="cart-summary-product-list">
|
||||
<ul class="media-list">
|
||||
{foreach from=$cart.products item=product}
|
||||
<li class="media">{include file='checkout/_partials/cart-summary-product-line.tpl' product=$product}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/block}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='cart_summary_subtotals'}
|
||||
{include file='checkout/_partials/cart-summary-subtotals.tpl' cart=$cart}
|
||||
{/block}
|
||||
|
||||
</div> *}
|
||||
<div class="box_title">
|
||||
<p>{l s='TWÓJ KOSZYK' d='Shop.Theme.Checkout'} ({$cart.products|@count} {l s='przedmioty' d='Shop.Theme.Checkout'})</p>
|
||||
</div>
|
||||
{block name='cart_summary_totals'}
|
||||
{include file='checkout/_partials/cart-summary-totals.tpl' cart=$cart}
|
||||
{/block}
|
||||
|
||||
{block name='save_transactions'}
|
||||
{include file='checkout/_partials/save-transactions.tpl'}
|
||||
{/block}
|
||||
|
||||
{* {block name='cart_summary_voucher'}
|
||||
{include file='checkout/_partials/cart-voucher.tpl'}
|
||||
{/block} *}
|
||||
|
||||
</section>
|
||||
@@ -0,0 +1,94 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
{if $cart.vouchers.allowed}
|
||||
{block name='cart_voucher'}
|
||||
<div class="block-promo">
|
||||
<div class="cart-voucher">
|
||||
{* {if $cart.vouchers.added}
|
||||
{block name='cart_voucher_list'}
|
||||
<ul class="promo-name card-block">
|
||||
{foreach from=$cart.vouchers.added item=voucher}
|
||||
<li class="cart-summary-line">
|
||||
<span class="label">{$voucher.name}</span>
|
||||
<div class="float-xs-right">
|
||||
<span>{$voucher.reduction_formatted}</span>
|
||||
<a href="{$voucher.delete_url}" data-link-action="remove-voucher"><i class="material-icons"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
{/if} *}
|
||||
|
||||
<p class="promo-code-button display-promo{if $cart.discounts|count > 0} with-discounts{/if}">
|
||||
{* {l s='Have a promo code?' d='Shop.Theme.Checkout'} *}
|
||||
{l s='Dodaj kupon rabatowy' d='Shop.Theme.Checkout'}
|
||||
<span>({l s='opcjonalnie' d='Shop.Theme.Checkout'})</span>
|
||||
</p>
|
||||
|
||||
<div id="promo-code" class="collapse{if $cart.discounts|count > 0} in{/if}">
|
||||
<div class="promo-code">
|
||||
{block name='cart_voucher_form'}
|
||||
<form action="{$urls.pages.cart}" data-link-action="add-voucher" method="post">
|
||||
<input type="hidden" name="token" value="{$static_token}">
|
||||
<input type="hidden" name="addDiscount" value="1">
|
||||
<input class="promo-input" type="text" name="discount_name" placeholder="{l s='Promo code' d='Shop.Theme.Checkout'}">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{* <span>{l s='Add' d='Shop.Theme.Actions'}</span> *}
|
||||
<span>{l s='ZASTOSUJ' d='Shop.Theme.Actions'}</span>
|
||||
</button>
|
||||
</form>
|
||||
{/block}
|
||||
|
||||
{block name='cart_voucher_notifications'}
|
||||
<div class="alert alert-danger js-error" role="alert">
|
||||
<i class="material-icons"></i><span class="ml-1 js-error-text"></span>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
<a class="collapse-button promo-code-button cancel-promo" role="button" data-toggle="collapse" data-target="#promo-code" aria-expanded="true" aria-controls="promo-code">
|
||||
{l s='Close' d='Shop.Theme.Checkout'}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $cart.discounts|count > 0}
|
||||
<p class="block-promo promo-highlighted">
|
||||
{l s='Take advantage of our exclusive offers:' d='Shop.Theme.Actions'}
|
||||
</p>
|
||||
<ul class="js-discount card-block promo-discounts">
|
||||
{foreach from=$cart.discounts item=discount}
|
||||
<li class="cart-summary-line">
|
||||
<span class="label">
|
||||
<span class="code">{$discount.code}</span> - {$discount.name}
|
||||
</span>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
{/if}
|
||||
@@ -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 "customer/_partials/customer-form.tpl"}
|
||||
|
||||
{block "form_field"}
|
||||
{if $field.name === 'password' and $guest_allowed}
|
||||
<p>
|
||||
<span class="font-weight-bold">{l s='Create an account' d='Shop.Theme.Checkout'}</span> <span class="font-italic">{l s='(optional)' d='Shop.Theme.Checkout'}</span>
|
||||
<br>
|
||||
<span class="text-muted">{l s='And save time on your next order!' d='Shop.Theme.Checkout'}</span>
|
||||
</p>
|
||||
{$smarty.block.parent}
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block "form_buttons"}
|
||||
<button
|
||||
class="continue btn btn-primary float-xs-right"
|
||||
name="continue"
|
||||
data-link-action="register-new-customer"
|
||||
type="submit"
|
||||
value="1"
|
||||
>
|
||||
{l s='Continue' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
{/block}
|
||||
53
themes/at_movic/templates/checkout/_partials/footer.tpl
Normal file
53
themes/at_movic/templates/checkout/_partials/footer.tpl
Normal 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
|
||||
*}
|
||||
{block name='footer'}
|
||||
<div class="footer-top">
|
||||
{if isset($fullwidth_hook.displayFooterBefore) AND $fullwidth_hook.displayFooterBefore == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooterBefore'}</div>
|
||||
{if isset($fullwidth_hook.displayFooterBefore) AND $fullwidth_hook.displayFooterBefore == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="footer-center">
|
||||
{if isset($fullwidth_hook.displayFooter) AND $fullwidth_hook.displayFooter == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooter'}</div>
|
||||
{if isset($fullwidth_hook.displayFooter) AND $fullwidth_hook.displayFooter == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="footer-bottom">
|
||||
{if isset($fullwidth_hook.displayFooterAfter) AND $fullwidth_hook.displayFooterAfter == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooterAfter'}</div>
|
||||
{if isset($fullwidth_hook.displayFooterAfter) AND $fullwidth_hook.displayFooterAfter == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
61
themes/at_movic/templates/checkout/_partials/header.tpl
Normal file
61
themes/at_movic/templates/checkout/_partials/header.tpl
Normal file
@@ -0,0 +1,61 @@
|
||||
{**
|
||||
* 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='header'}
|
||||
{block name='header_nav'}
|
||||
<nav class="header-nav">
|
||||
<div class="topnav">
|
||||
{if isset($fullwidth_hook.displayNav1) AND $fullwidth_hook.displayNav1 == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayNav1'}</div>
|
||||
{if isset($fullwidth_hook.displayNav1) AND $fullwidth_hook.displayNav1 == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="bottomnav">
|
||||
{if isset($fullwidth_hook.displayNav2) AND $fullwidth_hook.displayNav2 == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayNav2'}</div>
|
||||
{if isset($fullwidth_hook.displayNav2) AND $fullwidth_hook.displayNav2 == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</nav>
|
||||
{/block}
|
||||
|
||||
{block name='header_top'}
|
||||
<div class="header-top">
|
||||
{if isset($fullwidth_hook.displayTop) AND $fullwidth_hook.displayTop == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayTop'}</div>
|
||||
{if isset($fullwidth_hook.displayTop) AND $fullwidth_hook.displayTop == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{hook h='displayNavFullWidth'}
|
||||
{/block}
|
||||
{/block}
|
||||
35
themes/at_movic/templates/checkout/_partials/index.php
Normal file
35
themes/at_movic/templates/checkout/_partials/index.php
Normal 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;
|
||||
37
themes/at_movic/templates/checkout/_partials/login-form.tpl
Normal file
37
themes/at_movic/templates/checkout/_partials/login-form.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
{**
|
||||
* 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/_partials/login-form.tpl'}
|
||||
|
||||
{block name='form_buttons'}
|
||||
<button
|
||||
class="continue btn btn-primary float-xs-right"
|
||||
name="continue"
|
||||
data-link-action="sign-in"
|
||||
type="submit"
|
||||
value="1"
|
||||
>
|
||||
{l s='Continue' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
{/block}
|
||||
@@ -0,0 +1,136 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<div id="order-items" class="col-md-12">
|
||||
<div class="row">
|
||||
{block name='order_items_table_head'}
|
||||
<h3 class="card-title h3 col-md-6 col-12">{l s='Order items' d='Shop.Theme.Checkout'}</h3>
|
||||
<h3 class="card-title h3 col-md-2 text-md-center _desktop-title">{l s='Unit price' d='Shop.Theme.Checkout'}</h3>
|
||||
<h3 class="card-title h3 col-md-2 text-md-center _desktop-title">{l s='Quantity' d='Shop.Theme.Checkout'}</h3>
|
||||
<h3 class="card-title h3 col-md-2 text-md-center _desktop-title">{l s='Total products' d='Shop.Theme.Checkout'}</h3>
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
<div class="order-confirmation-table">
|
||||
|
||||
{block name='order_confirmation_table'}
|
||||
{foreach from=$products item=product}
|
||||
<div class="order-line row">
|
||||
<div class="col-sm-2 col-xs-3">
|
||||
<span class="image">
|
||||
<img class="lazy" data-src="{$product.cover.medium.url}" />
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-sm-4 col-xs-9 details">
|
||||
{if $add_product_link}<a href="{$product.url}" target="_blank">{/if}
|
||||
<span>{$product.name}</span>
|
||||
{if $add_product_link}</a>{/if}
|
||||
{if is_array($product.customizations) && $product.customizations|count}
|
||||
{foreach from=$product.customizations item="customization"}
|
||||
<div class="customizations">
|
||||
<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">×</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}
|
||||
{hook h='displayProductPriceBlock' product=$product type="unit_price"}
|
||||
</div>
|
||||
<div class="col-sm-6 col-xs-12 qty">
|
||||
<div class="row">
|
||||
<div class="col-xs-4 text-sm-center text-xs-left">{$product.price}</div>
|
||||
<div class="col-xs-4 text-sm-center">{$product.quantity}</div>
|
||||
<div class="col-xs-4 text-sm-center text-xs-right bold">{$product.total}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
|
||||
<hr>
|
||||
|
||||
<table>
|
||||
{foreach $subtotals as $subtotal}
|
||||
{if $subtotal.type !== 'tax' && $subtotal.label !== null}
|
||||
<tr>
|
||||
<td>{$subtotal.label}</td>
|
||||
<td>{if 'discount' == $subtotal.type}- {/if}{$subtotal.value}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
{if !$configuration.display_prices_tax_incl && $configuration.taxes_enabled}
|
||||
<tr>
|
||||
<td><span class="text-uppercase">{$totals.total.label} {$labels.tax_short}</span></td>
|
||||
<td>{$totals.total.value}</td>
|
||||
</tr>
|
||||
<tr class="total-value font-weight-bold">
|
||||
<td><span class="text-uppercase">{$totals.total_including_tax.label}</span></td>
|
||||
<td>{$totals.total_including_tax.value}</td>
|
||||
</tr>
|
||||
{else}
|
||||
<tr class="total-value font-weight-bold">
|
||||
<td><span class="text-uppercase">{$totals.total.label} {if $configuration.taxes_enabled}{$labels.tax_short}{/if}</span></td>
|
||||
<td>{$totals.total.value}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $subtotals.tax.label !== null}
|
||||
<tr class="sub taxes">
|
||||
<td><span class="label">{l s='%label%:' sprintf=['%label%' => $subtotals.tax.label] d='Shop.Theme.Global'}</span> <span class="value">{$subtotals.tax.value}</span></td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,38 @@
|
||||
{**
|
||||
* 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='checkout/_partials/order-confirmation-table.tpl'}
|
||||
|
||||
{block name='order-items-table-head'}
|
||||
<div id="order-items" class="col-md-12">
|
||||
<h3 class="card-title h3">
|
||||
{if $products_count == 1}
|
||||
{l s='%product_count% item in your cart' sprintf=['%product_count%' => $products_count] d='Shop.Theme.Checkout'}
|
||||
{else}
|
||||
{l s='%products_count% items in your cart' sprintf=['%products_count%' => $products_count] d='Shop.Theme.Checkout'}
|
||||
{/if}
|
||||
<a href="{url entity=cart params=['action' => 'show']}"><span class="step-edit"><i class="material-icons edit"></i> {l s='edit' d='Shop.Theme.Actions'}</span></a>
|
||||
</h3>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,103 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<section id="order-summary-content" class="page-content page-order-confirmation">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h4 class="h4 black">{l s='Please check your order before payment' d='Shop.Theme.Checkout'}</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h4 class="h4">
|
||||
{l s='Addresses' d='Shop.Theme.Checkout'}
|
||||
<span class="step-edit step-to-addresses js-edit-addresses"><i class="material-icons edit"></i> {l s='edit' d='Shop.Theme.Actions'}</span>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="card noshadow">
|
||||
<div class="card-block">
|
||||
<h4 class="h5 black addresshead">{l s='Your Delivery Address' d='Shop.Theme.Checkout'}</h4>
|
||||
{$customer.addresses[$cart.id_address_delivery]['formatted'] nofilter}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="card noshadow">
|
||||
<div class="card-block">
|
||||
<h4 class="h5 black addresshead">{l s='Your Invoice Address' d='Shop.Theme.Checkout'}</h4>
|
||||
{$customer.addresses[$cart.id_address_invoice]['formatted'] nofilter}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h4 class="h4">
|
||||
{l s='Shipping Method' d='Shop.Theme.Checkout'}
|
||||
<span class="step-edit step-to-delivery js-edit-delivery"><i class="material-icons edit"></i> {l s='edit' d='Shop.Theme.Actions'}</span>
|
||||
</h4>
|
||||
|
||||
<div class="col-md-12 summary-selected-carrier">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="logo-container">
|
||||
{if $selected_delivery_option.logo}
|
||||
<img class="lazy" data-src="{$selected_delivery_option.logo}" alt="{$selected_delivery_option.name}">
|
||||
{else}
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<span class="carrier-name">{$selected_delivery_option.name}</span>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<span class="carrier-delay">{$selected_delivery_option.delay}</span>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<span class="carrier-price">{$selected_delivery_option.price}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{block name='order_confirmation_table'}
|
||||
{include file='checkout/_partials/order-final-summary-table.tpl'
|
||||
products=$cart.products
|
||||
products_count=$cart.products_count
|
||||
subtotals=$cart.subtotals
|
||||
totals=$cart.totals
|
||||
labels=$cart.labels
|
||||
add_product_link=true
|
||||
}
|
||||
{/block}
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,14 @@
|
||||
<div id="save_transactions">
|
||||
<p class="title">
|
||||
<img src="/themes/at_movic/assets/img/save.svg" alt="" />
|
||||
{l s='Bezpieczne zakupy' d='Shop.Theme.Actions'}
|
||||
</p>
|
||||
|
||||
<div class="save_transactions_tiles">
|
||||
{* <img src="/themes/at_movic/assets/img/Group-818.png" alt="" /> *}
|
||||
<img src="/themes/at_movic/assets/img/logo-paynow.png" alt="" />
|
||||
<img src="/themes/at_movic/assets/img/Group-817.png" alt="" />
|
||||
<img src="/themes/at_movic/assets/img/Group-816.png" alt="" />
|
||||
<img src="/themes/at_movic/assets/img/Group-815.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
140
themes/at_movic/templates/checkout/_partials/steps/addresses.tpl
Normal file
140
themes/at_movic/templates/checkout/_partials/steps/addresses.tpl
Normal file
@@ -0,0 +1,140 @@
|
||||
{**
|
||||
* 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='checkout/_partials/steps/checkout-step.tpl'}
|
||||
|
||||
{block name='step_content'}
|
||||
<div class="js-address-form">
|
||||
<form method="POST" action="{$urls.pages.order}"
|
||||
data-refresh-url="{url entity='order' params=['ajax' => 1, 'action' => 'addressForm']}">
|
||||
|
||||
{if !$use_same_address}
|
||||
<h2 class="h4">{l s='Shipping Address' d='Shop.Theme.Checkout'}</h2>
|
||||
{/if}
|
||||
|
||||
{* {if $use_same_address && !$cart.is_virtual}
|
||||
<p>
|
||||
{l s='The selected address will be used both as your personal address (for invoice) and as your delivery address.' d='Shop.Theme.Checkout'}
|
||||
</p>
|
||||
{elseif $use_same_address && $cart.is_virtual}
|
||||
<p>
|
||||
{l s='The selected address will be used as your personal address (for invoice).' d='Shop.Theme.Checkout'}
|
||||
</p>
|
||||
{/if} *}
|
||||
|
||||
{if $show_delivery_address_form}
|
||||
<div id="delivery-address">
|
||||
{render file = 'checkout/_partials/address-form.tpl'
|
||||
ui = $address_form
|
||||
use_same_address = $use_same_address
|
||||
type = "delivery"
|
||||
form_has_continue_button = $form_has_continue_button
|
||||
}
|
||||
</div>
|
||||
{elseif $customer.addresses|count > 0}
|
||||
<div id="delivery-addresses" class="address-selector js-address-selector">
|
||||
{include file = 'checkout/_partials/address-selector-block.tpl'
|
||||
addresses = $customer.addresses
|
||||
name = "id_address_delivery"
|
||||
selected = $id_address_delivery
|
||||
type = "delivery"
|
||||
interactive = !$show_delivery_address_form and !$show_invoice_address_form
|
||||
}
|
||||
</div>
|
||||
|
||||
{if isset($delivery_address_error)}
|
||||
<p class="alert alert-danger js-address-error" name="alert-delivery"
|
||||
id="id-failure-address-{$delivery_address_error.id_address}">{$delivery_address_error.exception}</p>
|
||||
{else}
|
||||
<p class="alert alert-danger js-address-error" name="alert-delivery" style="display: none">
|
||||
{l s="Your address is incomplete, please update it." d="Shop.Notifications.Error"}</p>
|
||||
{/if}
|
||||
|
||||
<p class="add-address">
|
||||
<a href="{$new_address_delivery_url}"><i
|
||||
class="material-icons"></i>{l s='add new address' d='Shop.Theme.Actions'}</a>
|
||||
</p>
|
||||
|
||||
{if $use_same_address && !$cart.is_virtual}
|
||||
<p class="billing-address">
|
||||
<a data-link-action="different-invoice-address" href="{$use_different_address_url}">
|
||||
{l s='Billing address differs from shipping address' d='Shop.Theme.Checkout'}
|
||||
</a>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
|
||||
{if !$use_same_address}
|
||||
|
||||
<h2 class="h4">{l s='Your Invoice Address' d='Shop.Theme.Checkout'}</h2>
|
||||
|
||||
{if $show_invoice_address_form}
|
||||
<div id="invoice-address">
|
||||
{render file = 'checkout/_partials/address-form.tpl'
|
||||
ui = $address_form
|
||||
use_same_address = $use_same_address
|
||||
type = "invoice"
|
||||
form_has_continue_button = $form_has_continue_button
|
||||
}
|
||||
</div>
|
||||
{else}
|
||||
<div id="invoice-addresses" class="address-selector js-address-selector">
|
||||
{include file = 'checkout/_partials/address-selector-block.tpl'
|
||||
addresses = $customer.addresses
|
||||
name = "id_address_invoice"
|
||||
selected = $id_address_invoice
|
||||
type = "invoice"
|
||||
interactive = !$show_delivery_address_form and !$show_invoice_address_form
|
||||
}
|
||||
</div>
|
||||
|
||||
{if isset($invoice_address_error)}
|
||||
<p class="alert alert-danger js-address-error" name="alert-invoice"
|
||||
id="id-failure-address-{$invoice_address_error.id_address}">{$invoice_address_error.exception}</p>
|
||||
{else}
|
||||
<p class="alert alert-danger js-address-error" name="alert-invoice" style="display: none">
|
||||
{l s="Your address is incomplete, please update it." d="Shop.Notifications.Error"}</p>
|
||||
{/if}
|
||||
|
||||
<p class="add-address">
|
||||
<a href="{$new_address_invoice_url}"><i
|
||||
class="material-icons"></i>{l s='add new address' d='Shop.Theme.Actions'}</a>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
|
||||
{if !$form_has_continue_button}
|
||||
<div class="clearfix">
|
||||
<button type="submit" class="btn btn-primary continue float-xs-right" name="confirm-addresses" value="1">
|
||||
{l s='Continue' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
<input type="hidden" id="not-valid-addresses" value="{$not_valid_addresses}">
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</form>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -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
|
||||
*}
|
||||
{block name='step'}
|
||||
<section id = "{$identifier}"
|
||||
class = "{[
|
||||
'checkout-step' => true,
|
||||
'-current' => $step_is_current,
|
||||
'-reachable' => $step_is_reachable,
|
||||
'-complete' => $step_is_complete,
|
||||
'js-current-step' => $step_is_current
|
||||
]|classnames}"
|
||||
>
|
||||
<h1 class="step-title h3">
|
||||
{* <i class="material-icons rtl-no-flip done"></i> *}
|
||||
<span class="step-number">{$position}</span>
|
||||
{$title}
|
||||
<span class="step-edit text-muted"><i class="material-icons edit"></i> {l s='Edit' d='Shop.Theme.Actions'}</span>
|
||||
</h1>
|
||||
|
||||
<div class="content">
|
||||
{block name='step_content'}DUMMY STEP CONTENT{/block}
|
||||
</div>
|
||||
</section>
|
||||
{/block}
|
||||
35
themes/at_movic/templates/checkout/_partials/steps/index.php
Normal file
35
themes/at_movic/templates/checkout/_partials/steps/index.php
Normal 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;
|
||||
181
themes/at_movic/templates/checkout/_partials/steps/payment.tpl
Normal file
181
themes/at_movic/templates/checkout/_partials/steps/payment.tpl
Normal file
@@ -0,0 +1,181 @@
|
||||
{*
|
||||
* @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='checkout/_partials/steps/checkout-step.tpl'}
|
||||
|
||||
{block name='step_content'}
|
||||
|
||||
{hook h='displayPaymentTop'}
|
||||
<h5>Wybierz typ płatności</h5>
|
||||
|
||||
{* used by javascript to correctly handle cart updates when we are on payment step (eg vouchers added) *}
|
||||
<div style="display:none" class="js-cart-payment-step-refresh"></div>
|
||||
|
||||
{if !empty($display_transaction_updated_info)}
|
||||
<p class="cart-payment-step-refreshed-info">
|
||||
{l s='Transaction amount has been correctly updated' d='Shop.Theme.Checkout'}
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
{if $is_free}
|
||||
<p>{l s='No payment needed for this order' d='Shop.Theme.Checkout'}</p>
|
||||
{/if}
|
||||
<div class="payment-options {if $is_free}hidden-xs-up{/if}">
|
||||
{foreach from=$payment_options item="module_options"}
|
||||
{foreach from=$module_options item="option"}
|
||||
<div>
|
||||
<div id="{$option.id}-container" class="payment-option clearfix">
|
||||
{* This is the way an option should be selected when Javascript is enabled *}
|
||||
<span class="custom-radio float-xs-left">
|
||||
<input
|
||||
class="ps-shown-by-js {if $option.binary} binary {/if}"
|
||||
id="{$option.id}"
|
||||
data-module-name="{$option.module_name}"
|
||||
name="payment-option"
|
||||
type="radio"
|
||||
required
|
||||
{if $selected_payment_option == $option.id || $is_free} checked {/if}
|
||||
>
|
||||
<span></span>
|
||||
</span>
|
||||
{* This is the way an option should be selected when Javascript is disabled *}
|
||||
<form method="GET" class="ps-hidden-by-js">
|
||||
{if $option.id === $selected_payment_option}
|
||||
{l s='Selected' d='Shop.Theme.Checkout'}
|
||||
{else}
|
||||
<button class="ps-hidden-by-js" type="submit" name="select_payment_option" value="{$option.id}">
|
||||
{l s='Choose' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
{/if}
|
||||
</form>
|
||||
|
||||
<label for="{$option.id}">
|
||||
<span>
|
||||
{if $option.call_to_action_text == "Zapłać przelewem"}
|
||||
Przelew tradycyjny
|
||||
{else}
|
||||
{$option.call_to_action_text}
|
||||
{/if}
|
||||
</span>
|
||||
{if $option.logo}
|
||||
<img class="lazy" data-src="{$option.logo}">
|
||||
{/if}
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $option.additionalInformation}
|
||||
<div
|
||||
id="{$option.id}-additional-information"
|
||||
class="js-additional-information definition-list additional-information{if $option.id != $selected_payment_option} ps-hidden {/if}"
|
||||
>
|
||||
{$option.additionalInformation nofilter}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div
|
||||
id="pay-with-{$option.id}-form"
|
||||
class="js-payment-option-form {if $option.id != $selected_payment_option} ps-hidden {/if}"
|
||||
>
|
||||
{if $option.form}
|
||||
{$option.form nofilter}
|
||||
{else}
|
||||
<form id="payment-form" method="POST" action="{$option.action nofilter}">
|
||||
{foreach from=$option.inputs item=input}
|
||||
<input type="{$input.type}" name="{$input.name}" value="{$input.value}">
|
||||
{/foreach}
|
||||
<button style="display:none" id="pay-with-{$option.id}" type="submit"></button>
|
||||
</form>
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
{foreachelse}
|
||||
<p class="alert alert-danger">{l s='Unfortunately, there are no payment method available.' d='Shop.Theme.Checkout'}</p>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
{if $conditions_to_approve|count}
|
||||
<p class="ps-hidden-by-js">
|
||||
{* At the moment, we're not showing the checkboxes when JS is disabled
|
||||
because it makes ensuring they were checked very tricky and overcomplicates
|
||||
the template. Might change later.
|
||||
*}
|
||||
{l s='By confirming the order, you certify that you have read and agree with all of the conditions below:' d='Shop.Theme.Checkout'}
|
||||
</p>
|
||||
|
||||
<form id="conditions-to-approve" method="GET">
|
||||
<ul>
|
||||
{foreach from=$conditions_to_approve item="condition" key="condition_name"}
|
||||
<li>
|
||||
<div class="float-xs-left">
|
||||
<span class="custom-checkbox">
|
||||
<input id = "conditions_to_approve[{$condition_name}]"
|
||||
name = "conditions_to_approve[{$condition_name}]"
|
||||
required
|
||||
type = "checkbox"
|
||||
value = "1"
|
||||
class = "ps-shown-by-js"
|
||||
>
|
||||
<span><i class="material-icons rtl-no-flip checkbox-checked"></i></span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="condition-label">
|
||||
<label class="js-terms" for="conditions_to_approve[{$condition_name}]">
|
||||
{$condition nofilter}
|
||||
</label>
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</form>
|
||||
{/if}
|
||||
|
||||
{if $show_final_summary}
|
||||
{include file='checkout/_partials/order-final-summary.tpl'}
|
||||
{/if}
|
||||
|
||||
<div id="payment-confirmation">
|
||||
<div class="ps-shown-by-js">
|
||||
<button type="submit" {if !$selected_payment_option} disabled {/if} class="btn btn-primary center-block">
|
||||
{l s='Order with an obligation to pay' d='Shop.Theme.Checkout'}
|
||||
</button>
|
||||
{if $show_final_summary}
|
||||
<article class="alert alert-danger mt-2 js-alert-payment-conditions" role="alert" data-alert="danger">
|
||||
{l
|
||||
s='Please make sure you\'ve chosen a [1]payment method[/1] and accepted the [2]terms and conditions[/2].'
|
||||
sprintf=[
|
||||
'[1]' => '<a href="#checkout-payment-step">',
|
||||
'[/1]' => '</a>',
|
||||
'[2]' => '<a href="#conditions-to-approve">',
|
||||
'[/2]' => '</a>'
|
||||
]
|
||||
d='Shop.Theme.Checkout'
|
||||
}
|
||||
</article>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="ps-hidden-by-js">
|
||||
{if $selected_payment_option and $all_conditions_approved}
|
||||
<label for="pay-with-{$selected_payment_option}">{l s='Order with an obligation to pay' d='Shop.Theme.Checkout'}</label>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{hook h='displayPaymentByBinaries'}
|
||||
|
||||
<div class="modal fade" id="modal">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="{l s='Close' d='Shop.Theme.Global'}">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<div class="js-modal-content"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,107 @@
|
||||
{*
|
||||
* @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='checkout/_partials/steps/checkout-step.tpl'}
|
||||
|
||||
{block name='step_content'}
|
||||
{hook h='displayPersonalInformationTop' customer=$customer}
|
||||
|
||||
{if $customer.is_logged && !$customer.is_guest}
|
||||
|
||||
<p class="identity">
|
||||
{* [1][/1] is for a HTML tag. *}
|
||||
{l s='Connected as [1]%firstname% %lastname%[/1].'
|
||||
d='Shop.Theme.Customeraccount'
|
||||
sprintf=[
|
||||
'[1]' => "<a href='{$urls.pages.identity}'>",
|
||||
'[/1]' => "</a>",
|
||||
'%firstname%' => $customer.firstname,
|
||||
'%lastname%' => $customer.lastname
|
||||
]
|
||||
}
|
||||
</p>
|
||||
<p>
|
||||
{* [1][/1] is for a HTML tag. *}
|
||||
{l
|
||||
s='Not you? [1]Log out[/1]'
|
||||
d='Shop.Theme.Customeraccount'
|
||||
sprintf=[
|
||||
'[1]' => "<a href='{$urls.actions.logout}'>",
|
||||
'[/1]' => "</a>"
|
||||
]
|
||||
}
|
||||
</p>
|
||||
{if !isset($empty_cart_on_logout) || $empty_cart_on_logout}
|
||||
<p><small>{l s='If you sign out now, your cart will be emptied.' d='Shop.Theme.Checkout'}</small></p>
|
||||
{/if}
|
||||
|
||||
<div class="clearfix">
|
||||
<form method="GET" action="{$urls.pages.order}">
|
||||
<button
|
||||
class="continue btn btn-primary float-xs-right"
|
||||
name="controller"
|
||||
type="submit"
|
||||
value="order"
|
||||
>
|
||||
{l s='Continue' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
{else}
|
||||
<ul class="nav nav-inline my-2" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a
|
||||
class="nav-link {if !$show_login_form}active{/if}"
|
||||
data-toggle="tab"
|
||||
href="#checkout-guest-form"
|
||||
role="tab"
|
||||
aria-controls="checkout-guest-form"
|
||||
{if !$show_login_form} aria-selected="true"{/if}
|
||||
>
|
||||
{if $guest_allowed}
|
||||
{l s='Order as a guest' d='Shop.Theme.Checkout'}
|
||||
{else}
|
||||
{l s='Create an account' d='Shop.Theme.Customeraccount'}
|
||||
{/if}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a
|
||||
class="nav-link {if $show_login_form}active{/if}"
|
||||
data-link-action="show-login-form"
|
||||
data-toggle="tab"
|
||||
href="#checkout-login-form"
|
||||
role="tab"
|
||||
aria-controls="checkout-login-form"
|
||||
{if $show_login_form} aria-selected="true"{/if}
|
||||
>
|
||||
{l s='Sign in' d='Shop.Theme.Actions'}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link register leo-quicklogin" data-enable-sociallogin="enable" data-type="popup" data-layout="register" href="javascript:void(0)" title="Zaloguj się do swojego konta klienta" rel="nofollow">
|
||||
{l s='ZAREJESTRUJ SIE' d='Shop.Theme.Actions'}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane {if !$show_login_form}active{/if}" id="checkout-guest-form" role="tabpanel" {if $show_login_form}aria-hidden="true"{/if}>
|
||||
{render file='checkout/_partials/customer-form.tpl' ui=$register_form guest_allowed=$guest_allowed}
|
||||
</div>
|
||||
<div class="tab-pane {if $show_login_form}active{/if}" id="checkout-login-form" role="tabpanel" {if !$show_login_form}aria-hidden="true"{/if}>
|
||||
{render file='checkout/_partials/login-form.tpl' ui=$login_form}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{/if}
|
||||
{/block}
|
||||
128
themes/at_movic/templates/checkout/_partials/steps/shipping.tpl
Normal file
128
themes/at_movic/templates/checkout/_partials/steps/shipping.tpl
Normal file
@@ -0,0 +1,128 @@
|
||||
{**
|
||||
* 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='checkout/_partials/steps/checkout-step.tpl'}
|
||||
|
||||
{block name='step_content'}
|
||||
<div class="realization-form-title">
|
||||
<h3>SPOSÓB DOSTAWY</h3>
|
||||
</div>
|
||||
|
||||
<div id="hook-display-before-carrier">
|
||||
{$hookDisplayBeforeCarrier nofilter}
|
||||
</div>
|
||||
|
||||
<div class="delivery-options-list">
|
||||
{if $delivery_options|count}
|
||||
<form
|
||||
class="clearfix"
|
||||
id="js-delivery"
|
||||
data-url-update="{url entity='order' params=['ajax' => 1, 'action' => 'selectDeliveryOption']}"
|
||||
method="post"
|
||||
>
|
||||
<div class="form-fields">
|
||||
{block name='delivery_options'}
|
||||
<div class="delivery-options">
|
||||
{foreach from=$delivery_options item=carrier key=carrier_id}
|
||||
<div class="row delivery-option">
|
||||
<div class="col-sm-1">
|
||||
<span class="custom-radio float-xs-left">
|
||||
<input type="radio" name="delivery_option[{$id_address}]" id="delivery_option_{$carrier.id}" value="{$carrier_id}"{if $delivery_option == $carrier_id} checked{/if}>
|
||||
<span></span>
|
||||
</span>
|
||||
</div>
|
||||
<label for="delivery_option_{$carrier.id}" class="col-sm-11 delivery-option-2">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 col-xs-12">
|
||||
<div class="row">
|
||||
{if $carrier.logo}
|
||||
<div class="col-xs-3">
|
||||
<img class="lazy" data-src="{$carrier.logo}" alt="{$carrier.name}" />
|
||||
</div>
|
||||
{/if}
|
||||
<div class="{if $carrier.logo}col-xs-9{else}col-xs-12{/if}">
|
||||
<span class="h6 carrier-name">{$carrier.name}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3 col-xs-12">
|
||||
<span class="carrier-delay">{$carrier.delay}</span>
|
||||
</div>
|
||||
<div class="col-sm-3 col-xs-12">
|
||||
<span class="carrier-price">{$carrier.price}</span>
|
||||
</div>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="row carrier-extra-content"{if $delivery_option != $carrier_id} style="display:none;"{/if}>
|
||||
{$carrier.extraContent nofilter}
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/block}
|
||||
<div class="order-options">
|
||||
<div id="delivery">
|
||||
<label for="delivery_message">{l s='If you would like to add a comment about your order, please write it in the field below.' d='Shop.Theme.Checkout'}</label>
|
||||
<textarea rows="2" cols="120" id="delivery_message" name="delivery_message">{$delivery_message}</textarea>
|
||||
</div>
|
||||
|
||||
{if $recyclablePackAllowed}
|
||||
<span class="custom-checkbox">
|
||||
<input type="checkbox" id="input_recyclable" name="recyclable" value="1" {if $recyclable} checked {/if}>
|
||||
<span><i class="material-icons rtl-no-flip checkbox-checked"></i></span>
|
||||
<label for="input_recyclable">{l s='I would like to receive my order in recycled packaging.' d='Shop.Theme.Checkout'}</label>
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
{if $gift.allowed}
|
||||
<span class="custom-checkbox">
|
||||
<input class="js-gift-checkbox" id="input_gift" name="gift" type="checkbox" value="1" {if $gift.isGift}checked="checked"{/if}>
|
||||
<span><i class="material-icons rtl-no-flip checkbox-checked"></i></span>
|
||||
<label for="input_gift">{$gift.label}</label >
|
||||
</span>
|
||||
|
||||
<div id="gift" class="collapse{if $gift.isGift} in{/if}">
|
||||
<label for="gift_message">{l s='If you\'d like, you can add a note to the gift:' d='Shop.Theme.Checkout'}</label>
|
||||
<textarea rows="2" cols="120" id="gift_message" name="gift_message">{$gift.message}</textarea>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="continue btn btn-primary float-xs-right" name="confirmDeliveryOption" value="1">
|
||||
{l s='Continue' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
</form>
|
||||
{else}
|
||||
<p class="alert alert-danger">{l s='Unfortunately, there are no carriers available for your delivery address.' d='Shop.Theme.Checkout'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div id="hook-display-after-carrier">
|
||||
{$hookDisplayAfterCarrier nofilter}
|
||||
</div>
|
||||
|
||||
<div id="extra_carrier"></div>
|
||||
{/block}
|
||||
@@ -0,0 +1,31 @@
|
||||
{**
|
||||
* 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='step'}
|
||||
<section class="checkout-step -unreachable" id="{$identifier}">
|
||||
<h1 class="step-title h3">
|
||||
<span class="step-number">{$position}</span> {$title}
|
||||
</h1>
|
||||
</section>
|
||||
{/block}
|
||||
45
themes/at_movic/templates/checkout/cart-empty.tpl
Normal file
45
themes/at_movic/templates/checkout/cart-empty.tpl
Normal file
@@ -0,0 +1,45 @@
|
||||
{**
|
||||
* 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='checkout/cart.tpl'}
|
||||
|
||||
{block name='content' append}
|
||||
{hook h='displayCrossSellingShoppingCart'}
|
||||
{/block}
|
||||
|
||||
{block name='continue_shopping' append}
|
||||
<a class="label" href="{$urls.pages.index}">
|
||||
<i class="material-icons">chevron_left</i>{l s='Continue shopping' d='Shop.Theme.Actions'}
|
||||
</a>
|
||||
{/block}
|
||||
|
||||
{block name='cart_actions'}
|
||||
<div class="checkout text-sm-center card-block">
|
||||
<button type="button" class="btn btn-primary disabled" disabled>Finalizacja zamówienia</button>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='continue_shopping'}{/block}
|
||||
{block name='cart_voucher'}{/block}
|
||||
{block name='display_reassurance'}{/block}
|
||||
101
themes/at_movic/templates/checkout/cart.tpl
Normal file
101
themes/at_movic/templates/checkout/cart.tpl
Normal file
@@ -0,0 +1,101 @@
|
||||
{**
|
||||
* 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=$layout}
|
||||
|
||||
{block name='content'}
|
||||
|
||||
<section id="main">
|
||||
<div class="cart-grid row">
|
||||
|
||||
<div class="cart-grid-title col-xs-12">
|
||||
<div class="card-block">
|
||||
{* <h1 class="h1">{l s='Shopping Cart' d='Shop.Theme.Checkout'}</h1> *}
|
||||
<h1 class="h1">{l s='TWÓJ KOSZYK' d='Shop.Theme.Checkout'}</h1>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Left Block: cart product informations & shpping -->
|
||||
<div class="cart-grid-body col-xs-12 col-lg-8">
|
||||
|
||||
<!-- cart products detailed -->
|
||||
<div class="card cart-container">
|
||||
<h5 class="h5 sub-title">
|
||||
{l s='TWÓJ KOSZYK' d='Shop.Theme.Checkout'}
|
||||
({$cart.products|@count} {l s='przedmioty' d='Shop.Theme.Checkout'})
|
||||
</h5>
|
||||
{block name='cart_overview'}
|
||||
{include file='checkout/_partials/cart-detailed.tpl' cart=$cart}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
{block name='continue_shopping'}
|
||||
<a class="label" href="{$urls.pages.index}">
|
||||
<i class="material-icons">chevron_left</i>{l s='Continue shopping' d='Shop.Theme.Actions'}
|
||||
</a>
|
||||
{/block}
|
||||
|
||||
<!-- shipping informations -->
|
||||
{block name='hook_shopping_cart_footer'}
|
||||
{hook h='displayShoppingCartFooter'}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
<!-- Right Block: cart subtotal & cart total -->
|
||||
<div class="cart-grid-right col-xs-12 col-lg-4 qwe">
|
||||
|
||||
{block name='cart_summary'}
|
||||
<div class="card cart-summary">
|
||||
|
||||
{block name='hook_shopping_cart'}
|
||||
{hook h='displayShoppingCart'}
|
||||
{/block}
|
||||
|
||||
{block name='cart_totals'}
|
||||
{include file='checkout/_partials/cart-detailed-totals.tpl' cart=$cart}
|
||||
{/block}
|
||||
|
||||
{block name='cart_actions'}
|
||||
{include file='checkout/_partials/cart-detailed-actions.tpl' cart=$cart}
|
||||
{/block}
|
||||
|
||||
{** Kod rabatowy **}
|
||||
{block name='cart_voucher'}
|
||||
{include file='checkout/_partials/cart-voucher.tpl'}
|
||||
{/block}
|
||||
|
||||
{block name='save_transactions'}
|
||||
{include file='checkout/_partials/save-transactions.tpl'}
|
||||
{/block}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{* {block name='hook_reassurance'}
|
||||
{hook h='displayReassurance'}
|
||||
{/block} *}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
{/block}
|
||||
30
themes/at_movic/templates/checkout/checkout-process.tpl
Normal file
30
themes/at_movic/templates/checkout/checkout-process.tpl
Normal file
@@ -0,0 +1,30 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
{foreach from=$steps item="step" key="index"}
|
||||
{render identifier = $step.identifier
|
||||
position = ($index + 1)
|
||||
ui = $step.ui
|
||||
}
|
||||
{/foreach}
|
||||
131
themes/at_movic/templates/checkout/checkout.tpl
Normal file
131
themes/at_movic/templates/checkout/checkout.tpl
Normal file
@@ -0,0 +1,131 @@
|
||||
{**
|
||||
* 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
|
||||
*}
|
||||
<!doctype html>
|
||||
<html lang="{$language.iso_code}" {if isset($IS_RTL) && $IS_RTL} dir="rtl"{if isset($LEO_RTL) && $LEO_RTL} class="rtl{if isset($LEO_DEFAULT_SKIN)} {$LEO_DEFAULT_SKIN}{/if}"{/if}
|
||||
{else} class="{if isset($LEO_DEFAULT_SKIN)}{$LEO_DEFAULT_SKIN}{/if}" {/if}>
|
||||
|
||||
<head>
|
||||
{block name='head'}
|
||||
{include file='_partials/head.tpl'}
|
||||
{/block}
|
||||
</head>
|
||||
|
||||
<body id="{$page.page_name}" class="{$page.body_classes|classnames}{if isset($LEO_LAYOUT_MODE)} {$LEO_LAYOUT_MODE}{/if}{if isset($USE_FHEADER) && $USE_FHEADER} keep-header{/if}">
|
||||
<div id="page">
|
||||
{block name='hook_after_body_opening_tag'}
|
||||
{hook h='displayAfterBodyOpeningTag'}
|
||||
{/block}
|
||||
|
||||
<header id="header">
|
||||
{block name='header'}
|
||||
{include file='checkout/_partials/header.tpl'}
|
||||
{/block}
|
||||
</header>
|
||||
|
||||
{block name='notifications'}
|
||||
{include file='_partials/notifications.tpl'}
|
||||
{/block}
|
||||
|
||||
<section id="wrapper">
|
||||
{hook h="displayWrapperTop"}
|
||||
<div class="container">
|
||||
|
||||
{block name='content'}
|
||||
<section id="content">
|
||||
<div class="row">
|
||||
<div class="cart-grid-title col-xs-12">
|
||||
<h1 class="h1">{l s='REALIZACJA ZAMÓWIENIA' d='Shop.Theme.Checkout'}</h1>
|
||||
</div>
|
||||
|
||||
<div class="cart-grid-body col-md-8">
|
||||
{block name='cart_summary'}
|
||||
{render file='checkout/checkout-process.tpl' ui=$checkout_process}
|
||||
{/block}
|
||||
</div>
|
||||
<div class="cart-grid-body col-md-4">
|
||||
|
||||
{block name='cart_summary'}
|
||||
{include file='checkout/_partials/cart-summary.tpl' cart = $cart}
|
||||
{/block}
|
||||
|
||||
{* {hook h='displayReassurance'} *}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/block}
|
||||
</div>
|
||||
{hook h="displayWrapperBottom"}
|
||||
</section>
|
||||
|
||||
<footer id="footer" class="footer-container">
|
||||
{block name='hook_footer_before'}
|
||||
<div class="footer-top">
|
||||
{if isset($fullwidth_hook.displayFooterBefore) AND $fullwidth_hook.displayFooterBefore == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooterBefore'}</div>
|
||||
{if isset($fullwidth_hook.displayFooterBefore) AND $fullwidth_hook.displayFooterBefore == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
{block name='hook_footer'}
|
||||
<div class="footer-center">
|
||||
{if isset($fullwidth_hook.displayFooter) AND $fullwidth_hook.displayFooter == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooter'}</div>
|
||||
{if isset($fullwidth_hook.displayFooter) AND $fullwidth_hook.displayFooter == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
{block name='hook_footer_after'}
|
||||
<div class="footer-bottom">
|
||||
{if isset($fullwidth_hook.displayFooterAfter) AND $fullwidth_hook.displayFooterAfter == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooterAfter'}</div>
|
||||
{if isset($fullwidth_hook.displayFooterAfter) AND $fullwidth_hook.displayFooterAfter == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
{if isset($LEO_BACKTOP) && $LEO_BACKTOP}
|
||||
<div id="back-top"><a href="#" class="fa fa-angle-up"></a></div>
|
||||
{/if}
|
||||
</footer>
|
||||
|
||||
{block name='javascript_bottom'}
|
||||
{include file="_partials/javascript.tpl" javascript=$javascript.bottom}
|
||||
{/block}
|
||||
|
||||
{block name='hook_before_body_closing_tag'}
|
||||
{hook h='displayBeforeBodyClosingTag'}
|
||||
{/block}
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
35
themes/at_movic/templates/checkout/index.php
Normal file
35
themes/at_movic/templates/checkout/index.php
Normal 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;
|
||||
125
themes/at_movic/templates/checkout/order-confirmation.tpl
Normal file
125
themes/at_movic/templates/checkout/order-confirmation.tpl
Normal file
@@ -0,0 +1,125 @@
|
||||
{*
|
||||
* @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='page.tpl'}
|
||||
|
||||
{block name='page_content_container' prepend}
|
||||
<section id="content-hook_order_confirmation" class="card">
|
||||
<div class="card-block">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
{block name='order_confirmation_header'}
|
||||
<img src="/themes/at_movic/assets/img/icons/thank-you.svg" alt="">
|
||||
<h3 class="h1 card-title">
|
||||
{l s='Thank you for buying' d='Shop.Theme.Checkout'}
|
||||
{* {l s='Your order is confirmed' d='Shop.Theme.Checkout'} *}
|
||||
</h3>
|
||||
{/block}
|
||||
|
||||
<p>
|
||||
{l s='Thank you for buying text' d='Shop.Theme.Checkout'}<br />
|
||||
{l s='Thank you for buying state' d='Shop.Theme.Checkout'}
|
||||
{* {l s='An email has been sent to your mail address %email%.' d='Shop.Theme.Checkout' sprintf=['%email%' => $customer.email]} *}
|
||||
{* {if $order.details.invoice_url}
|
||||
{l
|
||||
s='You can also [1]download your invoice[/1]'
|
||||
d='Shop.Theme.Checkout'
|
||||
sprintf=[
|
||||
'[1]' => "<a href='{$order.details.invoice_url}'>",
|
||||
'[/1]' => "</a>"
|
||||
]
|
||||
}
|
||||
{/if} *}
|
||||
</p>
|
||||
|
||||
<div class="card-block-buttons">
|
||||
<a class="btn btn1" href="/">Strona główna</a>
|
||||
<a class="btn btn2" href="/moje-konto">moje konto</a>
|
||||
</div>
|
||||
|
||||
{* {block name='hook_order_confirmation'}
|
||||
{$HOOK_ORDER_CONFIRMATION nofilter}
|
||||
{/block} *}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-content page-order-confirmation card">
|
||||
<div class="card-block">
|
||||
<div class="row">
|
||||
|
||||
{block name='order_confirmation_table'}
|
||||
{include
|
||||
file='checkout/_partials/order-confirmation-table.tpl'
|
||||
products=$order.products
|
||||
subtotals=$order.subtotals
|
||||
totals=$order.totals
|
||||
labels=$order.labels
|
||||
add_product_link=false
|
||||
}
|
||||
{/block}
|
||||
|
||||
{block name='order_details'}
|
||||
<div id="order-details" class="col-md-4">
|
||||
<h3 class="h3 card-title">{l s='Order details' d='Shop.Theme.Checkout'}:</h3>
|
||||
<ul>
|
||||
<li>{l s='Order reference: %reference%' d='Shop.Theme.Checkout' sprintf=['%reference%' => $order.details.reference]}</li>
|
||||
<li>{l s='Payment method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.details.payment]}</li>
|
||||
{if !$order.details.is_virtual}
|
||||
<li>
|
||||
{l s='Shipping method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.carrier.name]}<br>
|
||||
<em>{$order.carrier.delay}</em>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{block name='hook_payment_return'}
|
||||
{if ! empty($HOOK_PAYMENT_RETURN)}
|
||||
<section id="content-hook_payment_return" class="card definition-list">
|
||||
<div class="card-block">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{$HOOK_PAYMENT_RETURN nofilter}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='customer_registration_form'}
|
||||
{if $customer.is_guest}
|
||||
<div id="registration-form" class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="h4">{l s='Save time on your next order, sign up now' d='Shop.Theme.Checkout'}</h4>
|
||||
{render file='customer/_partials/customer-form.tpl' ui=$register_form}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='hook_order_confirmation_1'}
|
||||
{hook h='displayOrderConfirmation1'}
|
||||
{/block}
|
||||
|
||||
{block name='hook_order_confirmation_2'}
|
||||
<section id="content-hook-order-confirmation-footer">
|
||||
{hook h='displayOrderConfirmation2'}
|
||||
</section>
|
||||
{/block}
|
||||
{/block}
|
||||
35
themes/at_movic/templates/cms/_partials/index.php
Normal file
35
themes/at_movic/templates/cms/_partials/index.php
Normal 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;
|
||||
@@ -0,0 +1,38 @@
|
||||
{**
|
||||
* 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='sitemap_item'}
|
||||
<ul{if isset($is_nested)} class="nested"{/if}>
|
||||
{foreach $links as $link}
|
||||
<li>
|
||||
<a id="{$link.id}" href="{$link.url}" title="{$link.label}">
|
||||
{$link.label}
|
||||
</a>
|
||||
{if isset($link.children) && $link.children|@count > 0}
|
||||
{include file='cms/_partials/sitemap-nested-list.tpl' links=$link.children is_nested=true}
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
53
themes/at_movic/templates/cms/category.tpl
Normal file
53
themes/at_movic/templates/cms/category.tpl
Normal 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='page.tpl'}
|
||||
|
||||
{block name='page_title'}
|
||||
{$cms_category.name}
|
||||
{/block}
|
||||
|
||||
{block name='page_content'}
|
||||
{block name='cms_sub_categories'}
|
||||
{if $sub_categories}
|
||||
<p>{l s='List of sub categories in %name%:' d='Shop.Theme.Global' sprintf=['%name%' => $cms_category.name]}</p>
|
||||
<ul>
|
||||
{foreach from=$sub_categories item=sub_category}
|
||||
<li><a href="{$sub_category.link}">{$sub_category.name}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='cms_sub_pages'}
|
||||
{if $cms_pages}
|
||||
<p>{l s='List of pages in %category_name%:' d='Shop.Theme.Global' sprintf=['%category_name%' => $cms_category.name]}</p>
|
||||
<ul>
|
||||
{foreach from=$cms_pages item=cms_page}
|
||||
<li><a href="{$cms_page.link}">{$cms_page.meta_title}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{/block}
|
||||
{/block}
|
||||
35
themes/at_movic/templates/cms/index.php
Normal file
35
themes/at_movic/templates/cms/index.php
Normal 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;
|
||||
47
themes/at_movic/templates/cms/page.tpl
Normal file
47
themes/at_movic/templates/cms/page.tpl
Normal 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
|
||||
*}
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_title'}
|
||||
{$cms.meta_title}
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-content page-cms page-cms-{$cms.id}">
|
||||
|
||||
{block name='cms_content'}
|
||||
{$cms.content nofilter}
|
||||
{/block}
|
||||
|
||||
{block name='hook_cms_dispute_information'}
|
||||
{hook h='displayCMSDisputeInformation'}
|
||||
{/block}
|
||||
|
||||
{block name='hook_cms_print_button'}
|
||||
{hook h='displayCMSPrintButton'}
|
||||
{/block}
|
||||
|
||||
</section>
|
||||
{/block}
|
||||
52
themes/at_movic/templates/cms/sitemap.tpl
Normal file
52
themes/at_movic/templates/cms/sitemap.tpl
Normal file
@@ -0,0 +1,52 @@
|
||||
{**
|
||||
* 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'}
|
||||
<span class="sitemap-title">{l s='Sitemap' d='Shop.Theme.Global'}</span>
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<div class="container-fluid">
|
||||
<div class="row sitemap col-xs-12">
|
||||
<div class="col-md-3">
|
||||
<h2>{$our_offers}</h2>
|
||||
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.offers}
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h2>{$categories}</h2>
|
||||
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.categories}
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h2>{$your_account}</h2>
|
||||
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.user_account}
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h2>{$pages}</h2>
|
||||
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.pages}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
88
themes/at_movic/templates/cms/stores.tpl
Normal file
88
themes/at_movic/templates/cms/stores.tpl
Normal file
@@ -0,0 +1,88 @@
|
||||
{**
|
||||
* 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='Our stores' d='Shop.Theme.Global'}
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-content page-stores">
|
||||
|
||||
{foreach $stores as $store}
|
||||
<article id="store-{$store.id}" class="store-item card">
|
||||
<div class="store-item-container clearfix">
|
||||
<div class="col-md-3 store-picture hidden-sm-down">
|
||||
<img class="lazy" data-src="{$store.image.bySize.stores_default.url}" alt="{$store.image.legend}" title="{$store.image.legend}">
|
||||
</div>
|
||||
<div class="col-md-5 col-sm-7 col-xs-12 store-description">
|
||||
<p class="h3 card-title">{$store.name}</p>
|
||||
<address>{$store.address.formatted nofilter}</address>
|
||||
{if $store.note || $store.phone || $store.fax || $store.email}
|
||||
<a data-toggle="collapse" href="#about-{$store.id}" aria-expanded="false" aria-controls="about-{$store.id}"><strong>{l s='About and Contact' d='Shop.Theme.Global'}</strong><i class="material-icons"></i></a>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-5 col-xs-12 divide-left">
|
||||
<table>
|
||||
{foreach $store.business_hours as $day}
|
||||
<tr>
|
||||
<th>{$day.day|truncate:4:'.'}</th>
|
||||
<td>
|
||||
<ul>
|
||||
{foreach $day.hours as $h}
|
||||
<li>{$h}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<footer id="about-{$store.id}" class="collapse">
|
||||
<div class="store-item-footer divide-top">
|
||||
<div class="card-block">
|
||||
{if $store.note}
|
||||
<p class="text-justify">{$store.note}<p>
|
||||
{/if}
|
||||
</div>
|
||||
<ul class="card-block">
|
||||
{if $store.phone}
|
||||
<li><i class="material-icons"></i>{$store.phone}</li>
|
||||
{/if}
|
||||
{if $store.fax}
|
||||
<li><i class="material-icons"></i>{$store.fax}</li>
|
||||
{/if}
|
||||
{if $store.email}
|
||||
<li><i class="material-icons"></i>{$store.email}</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
</article>
|
||||
{/foreach}
|
||||
|
||||
</section>
|
||||
{/block}
|
||||
37
themes/at_movic/templates/contact.tpl
Normal file
37
themes/at_movic/templates/contact.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
{**
|
||||
* 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_header_container'}{/block}
|
||||
|
||||
{block name='left_column'}
|
||||
<div id="left-column" class="col-xs-12 col-sm-12 col-md-4 col-lg-3">
|
||||
{widget name="ps_contactinfo" hook='displayLeftColumn'}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='page_content'}
|
||||
{widget name="contactform"}
|
||||
{/block}
|
||||
@@ -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}
|
||||
@@ -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"></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"></i> *}
|
||||
{* <span>{l s='Delete' d='Shop.Theme.Actions'}</span> *}
|
||||
</a>
|
||||
</div>
|
||||
{/block}
|
||||
</article>
|
||||
{/block}
|
||||
@@ -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}
|
||||
35
themes/at_movic/templates/customer/_partials/index.php
Normal file
35
themes/at_movic/templates/customer/_partials/index.php
Normal 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;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user