first commit
This commit is contained in:
113
modules/appagebuilder/views/templates/front/details/config.json
Normal file
113
modules/appagebuilder/views/templates/front/details/config.json
Normal file
@@ -0,0 +1,113 @@
|
||||
[
|
||||
{"group": [
|
||||
{
|
||||
"type": "sperator",
|
||||
"name":"Select One Image & thumb type only"
|
||||
},
|
||||
{
|
||||
"name":"1. image and thumb normal view: left, right, bottom, none",
|
||||
"class": "leo-detail-1",
|
||||
"icon": "icon-picture",
|
||||
"file":"product_image_with_thumb",
|
||||
"config":"image-thumb-1",
|
||||
"data-form":{
|
||||
"templateview":"bottom",
|
||||
"numberimagedesktop":"5",
|
||||
"numberimagemobile":"2",
|
||||
"numberimageipad":"2",
|
||||
"templatezoomtype":"in"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name":"1. image product Gallery",
|
||||
"class": "leo-detail-3",
|
||||
"icon": "icon-picture",
|
||||
"file":"product_image_show_all",
|
||||
"config":"image-thumb-2",
|
||||
"data-form":{"templatezoomtype":"in"}
|
||||
|
||||
},
|
||||
{
|
||||
"type": "sperator",
|
||||
"name":"Other Information"
|
||||
},
|
||||
{
|
||||
"name":"2. product detail name",
|
||||
"icon": "icon-info-sign",
|
||||
"file":"product_detail_name"
|
||||
},
|
||||
{
|
||||
"name":"3. hook product additional info",
|
||||
"icon": "icon-plus-sign-alt",
|
||||
"file":"hook_display_product_additional_info"
|
||||
},
|
||||
{
|
||||
"name":"4. hook product leo review extra",
|
||||
"icon":"icon-star",
|
||||
"file":"hook_display_leo_product_review_extra"
|
||||
},
|
||||
{
|
||||
"name":"5. price",
|
||||
"icon": "icon-money",
|
||||
"file":"product_price"
|
||||
},
|
||||
{
|
||||
"name":"6. description short",
|
||||
"icon":"icon-list-alt",
|
||||
"file":"product_description_short"
|
||||
},
|
||||
{
|
||||
"name":"7. product customization",
|
||||
"icon": "icon-sun",
|
||||
"file":"product_customization"
|
||||
},
|
||||
{
|
||||
"name":"8. actions form: varian, add to cart form",
|
||||
"icon": "icon-shopping-cart",
|
||||
"file":"product_actions_form"
|
||||
},
|
||||
{
|
||||
"name":"9. display reassurance",
|
||||
"icon": "icon-shield",
|
||||
"file":"hook_display_reassurance"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": [
|
||||
{
|
||||
"type": "sperator",
|
||||
"name":"Select one product more info only"
|
||||
},
|
||||
{
|
||||
"name":"10. More Info: default",
|
||||
"icon": "icon-file-text-alt",
|
||||
"file":"product_more_info_default"
|
||||
},
|
||||
{
|
||||
"name":"10. More Info: accordions",
|
||||
"icon": "icon-file-text-alt",
|
||||
"file":"product_more_info_accordions"
|
||||
},
|
||||
{
|
||||
"name":"10. More Info: tab",
|
||||
"icon": "icon-file-text-alt",
|
||||
"file":"product_more_info_tab"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": [
|
||||
{
|
||||
"name":"11. product accessories",
|
||||
"icon":"icon-link",
|
||||
"file":"product_accessories"
|
||||
},
|
||||
{
|
||||
"name":"12. hook footer product",
|
||||
"icon":"icon-eject",
|
||||
"file":"hook_display_footer_product"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
{*
|
||||
* @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="">
|
||||
@@ -0,0 +1,16 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='page_footer_container'}
|
||||
<footer class="page-footer">
|
||||
{block name='page_footer'}
|
||||
<!-- Footer content -->
|
||||
{/block}
|
||||
</footer>
|
||||
{/block}
|
||||
</section>
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<section id="main" class="product-detail" itemscope itemtype="https://schema.org/Product">
|
||||
<meta itemprop="url" content="{$product.url}">
|
||||
@@ -0,0 +1,10 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='product_footer'}
|
||||
{hook h='displayFooterProduct' product=$product category=$category}
|
||||
{/block}
|
||||
@@ -0,0 +1,8 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{hook h='displayLeoProductReviewExtra' product=$product}
|
||||
@@ -0,0 +1,10 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='product_additional_info'}
|
||||
{include file='catalog/_partials/product-additional-info.tpl'}
|
||||
{/block}
|
||||
@@ -0,0 +1,10 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='hook_display_reassurance'}
|
||||
{hook h='displayReassurance'}
|
||||
{/block}
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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,14 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='page_footer_container'}
|
||||
<footer class="page-footer">
|
||||
{block name='page_footer'}
|
||||
<!-- Footer content -->
|
||||
{/block}
|
||||
</footer>
|
||||
{/block}
|
||||
@@ -0,0 +1,34 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='product_accessories'}
|
||||
{if $accessories}
|
||||
<section class="product-accessories clearfix">
|
||||
<div class="description-short-title">
|
||||
<img src="/themes/at_movic/assets/img/modules/appagebuilder/images/arrow_triple.svg" alt="">
|
||||
<h2>{l s='You might also like' d='Shop.Theme.Catalog'}</h2>
|
||||
</div>
|
||||
{* <h3 class="h5 products-section-title">{l s='You might also like' d='Shop.Theme.Catalog'}</h3> *}
|
||||
<div class="products">
|
||||
<div class="row">
|
||||
{foreach from=$accessories item="product_accessory"}
|
||||
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-6 col-sp-12 ajax_block_product">
|
||||
{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>
|
||||
</section>
|
||||
{/if}
|
||||
{/block}
|
||||
@@ -0,0 +1,45 @@
|
||||
{*
|
||||
* @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="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">
|
||||
<h3 class="h4">{l s='This pack contains' d='Shop.Theme.Catalog'}</h3>
|
||||
{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_refresh'}
|
||||
<input class="product-refresh ps-hidden-by-js" name="refresh" type="submit" value="{l s='Refresh' d='Shop.Theme.Actions'}">
|
||||
{/block}
|
||||
</form>
|
||||
{/block}
|
||||
</div>
|
||||
@@ -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
|
||||
*}
|
||||
{if $product.is_customizable && count($product.customizations.fields)}
|
||||
{block name='product_customization'}
|
||||
{include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations}
|
||||
{/block}
|
||||
{/if}
|
||||
@@ -0,0 +1,10 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='product_description_short'}
|
||||
<div id="product-description-short-{$product.id}" class="description-short" itemprop="description">{$product.description_short nofilter}</div>
|
||||
{/block}
|
||||
@@ -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
|
||||
*}
|
||||
{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}
|
||||
@@ -0,0 +1,20 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='page_content_container'}
|
||||
<section class="page-content" id="content">
|
||||
{block name='page_content'}
|
||||
<div class="images-container">
|
||||
{block name='product_cover_thumbnails'}
|
||||
{include file='catalog/_partials/product-cover.tpl'}
|
||||
{include file='catalog/_partials/product-images.tpl'}
|
||||
{/block}
|
||||
{hook h='displayAfterProductThumbs'}
|
||||
</div>
|
||||
{/block}
|
||||
</section>
|
||||
{/block}
|
||||
@@ -0,0 +1,102 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='page_content_container'}
|
||||
<section class="page-content" id="content">
|
||||
{block name='page_content'}
|
||||
<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}{if $aplazyload} lazy{/if}"
|
||||
data-image-medium-src="{$image.bySize.medium_default.url}"
|
||||
data-image-large-src="{$image.bySize.large_default.url}"
|
||||
{if $aplazyload}data-src{else}src{/if}="{$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{if $aplazyload} lazy{/if}" {if $aplazyload}data-src{else}src{/if}="{$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 id="zoom_product" data-type-zoom="" class="js-qv-product-cover img-fluid{if $aplazyload} lazy{/if}" {if $aplazyload}data-src{else}src{/if}="{$urls.no_picture_image.bySize.large_default.url}" alt="{$product.name}" title="{$product.name}" itemprop="image">
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='product_images'}
|
||||
<div id="thumb-gallery" class="product-thumb-images">
|
||||
{if $product.cover}
|
||||
{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}{if $aplazyload} lazy{/if}"
|
||||
data-image-medium-src="{$image.bySize.medium_default.url}"
|
||||
data-image-large-src="{$image.bySize.large_default.url}"
|
||||
{if $aplazyload}data-src{else}src{/if}="{$image.bySize.home_default.url}"
|
||||
alt="{$image.legend}"
|
||||
title="{$image.legend}"
|
||||
itemprop="image"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
{/foreach}
|
||||
{else}
|
||||
<div class="thumb-container">
|
||||
<a href="javascript:void(0)" data-image="{$urls.no_picture_image.bySize.large_default.url}" data-zoom-image="{$urls.no_picture_image.bySize.large_default.url}">
|
||||
<img
|
||||
class="thumb js-thumb img-fluid{if $aplazyload} lazy{/if}"
|
||||
data-image-medium-src="{$urls.no_picture_image.bySize.medium_default.url}"
|
||||
data-image-large-src="{$urls.no_picture_image.bySize.large_default.url}"
|
||||
{if $aplazyload}data-src{else}src{/if}="{$urls.no_picture_image.bySize.home_default.url}"
|
||||
alt="{$product.name}"
|
||||
title="{$product.name}"
|
||||
itemprop="image"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{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}
|
||||
{/block}
|
||||
{/if}
|
||||
{/block}
|
||||
{hook h='displayAfterProductThumbs'}
|
||||
</div>
|
||||
{/block}
|
||||
</section>
|
||||
{/block}
|
||||
|
||||
{block name='product_images_modal'}
|
||||
{include file='catalog/_partials/product-images-modal.tpl'}
|
||||
{/block}
|
||||
@@ -0,0 +1,103 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<section class="page-content" id="content">
|
||||
{block name='page_content'}
|
||||
<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 id="zoom_product" data-type-zoom="" class="js-qv-product-cover img-fluid" src="{$urls.no_picture_image.bySize.large_default.url}" alt="{$product.name}" title="{$product.name}" itemprop="image">
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='product_images'}
|
||||
<div id="thumb-gallery" class="product-thumb-images">
|
||||
{if $product.cover}
|
||||
{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}
|
||||
{else}
|
||||
<div class="thumb-container">
|
||||
<a href="javascript:void(0)" data-image="{$urls.no_picture_image.bySize.large_default.url}" data-zoom-image="{$urls.no_picture_image.bySize.large_default.url}">
|
||||
<img
|
||||
class="thumb js-thumb img-fluid"
|
||||
data-image-medium-src="{$urls.no_picture_image.bySize.medium_default.url}"
|
||||
data-image-large-src="{$urls.no_picture_image.bySize.large_default.url}"
|
||||
src="{$urls.no_picture_image.bySize.home_default.url}"
|
||||
alt="{$product.name}"
|
||||
title="{$product.name}"
|
||||
itemprop="image"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{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}
|
||||
{/block}
|
||||
{/if}
|
||||
{/block}
|
||||
{hook h='displayAfterProductThumbs'}
|
||||
</div>
|
||||
{/block}
|
||||
</section>
|
||||
{/block}
|
||||
|
||||
{block name='product_images_modal'}
|
||||
{include file='catalog/_partials/product-images-modal.tpl'}
|
||||
{/block}
|
||||
@@ -0,0 +1,10 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='product_images_modal'}
|
||||
{include file='catalog/_partials/product-images-modal.tpl'}
|
||||
{/block}
|
||||
@@ -0,0 +1,8 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{include file="sub/product_info/accordions.tpl"}
|
||||
@@ -0,0 +1,8 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{include file="sub/product_info/default.tpl"}
|
||||
@@ -0,0 +1,8 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{include file="sub/product_info/tab.tpl"}
|
||||
@@ -0,0 +1,10 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='product_prices'}
|
||||
{include file='catalog/_partials/product-prices.tpl'}
|
||||
{/block}
|
||||
36
modules/appagebuilder/views/templates/front/index.php
Normal file
36
modules/appagebuilder/views/templates/front/index.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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,36 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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,131 @@
|
||||
{*
|
||||
* @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="product-container product-block" itemscope itemtype="http://schema.org/Product"><div class="left-block">
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\image_container -->
|
||||
<div class="product-image-container">
|
||||
<div class="leo-more-info hidden-xs" data-idproduct="{$product.id_product}"></div>
|
||||
<a class="product_img_link" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url">
|
||||
<img class="replace-2x img-fluid{if $aplazyload} lazy{/if}" {if $aplazyload}data-src{else}src{/if}="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html':'UTF-8'}" alt="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" title="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} itemprop="image" />
|
||||
<span class="product-additional" data-idproduct="{$product.id_product}"></span>
|
||||
</a>
|
||||
{if isset($product.new) && $product.new == 1}
|
||||
<a class="new-box" href="{$product.link|escape:'html':'UTF-8'}">
|
||||
<span class="new-label">{l s='New' mod='appagebuilder'}</span>
|
||||
</a>
|
||||
{/if}
|
||||
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
|
||||
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
|
||||
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}
|
||||
<meta itemprop="priceCurrency" content="{$currency->iso_code}" />
|
||||
{if isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0}
|
||||
{hook h="displayProductPriceBlock" product=$product type="old_price"}
|
||||
|
||||
{/if}
|
||||
{hook h="displayProductPriceBlock" product=$product type="price"}
|
||||
{hook h="displayProductPriceBlock" product=$product type="unit_price"}
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
|
||||
<a class="sale-box" href="{$product.link|escape:'html':'UTF-8'}">
|
||||
<span class="sale-label">{l s='Sale!' mod='appagebuilder'}</span>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\quick_view -->
|
||||
{if isset($quick_view) && $quick_view}
|
||||
|
||||
<a class="quick-view" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}">
|
||||
<span>{l s='Quick view' mod='appagebuilder'}</span>
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
|
||||
</div><div class="right-block"><div class="product-meta">
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\price -->
|
||||
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
|
||||
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="content_price">
|
||||
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}
|
||||
<span itemprop="price" class="price product-price">
|
||||
{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}
|
||||
</span>
|
||||
<meta itemprop="priceCurrency" content="{$currency->iso_code}" />
|
||||
{if isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0}
|
||||
{hook h="displayProductPriceBlock" product=$product type="old_price"}
|
||||
<span class="old-price product-price">
|
||||
{displayWtPrice p=$product.price_without_reduction}
|
||||
</span>
|
||||
{hook h="displayProductPriceBlock" id_product=$product.id_product type="old_price"}
|
||||
{if $product.specific_prices.reduction_type == 'percentage'}
|
||||
<span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span>
|
||||
{/if}
|
||||
{/if}
|
||||
{hook h="displayProductPriceBlock" product=$product type="price"}
|
||||
{hook h="displayProductPriceBlock" product=$product type="unit_price"}
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\reviews -->
|
||||
{hook h='displayProductListReviews' product=$product}
|
||||
|
||||
|
||||
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\name -->
|
||||
<h5 itemprop="name">
|
||||
{if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if}
|
||||
<a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" >
|
||||
{$product.name|truncate:45:'...'|escape:'html':'UTF-8'}
|
||||
</a>
|
||||
</h5>
|
||||
|
||||
|
||||
<div class="functional-buttons clearfix">
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\wishlist -->
|
||||
{hook h='displayProductListFunctionalButtons' product=$product}
|
||||
|
||||
|
||||
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\add_to_cart -->
|
||||
<div class="cart">
|
||||
{if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.minimal_quantity <= 1 && $product.customizable != 2 && !$PS_CATALOG_MODE}
|
||||
{if ($product.allow_oosp || $product.quantity > 0)}
|
||||
{if isset($static_token)}
|
||||
<a class="ajax_add_to_cart_button btn btn-default" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$product.id_product|intval}&token={$static_token}", false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart' mod='appagebuilder'}" data-id-product="{$product.id_product|intval}">
|
||||
<span><i class="icon-shopping-cart"></i>{l s='Add to cart' mod='appagebuilder'}</span>
|
||||
</a>
|
||||
{else}
|
||||
<a class="ajax_add_to_cart_button btn btn-default" href="{$link->getPageLink('cart',false, NULL, 'add=1&id_product={$product.id_product|intval}', false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart' mod='appagebuilder'}" data-id-product="{$product.id_product|intval}">
|
||||
<span><i class="icon-shopping-cart"></i>{l s='Add to cart' mod='appagebuilder'}</span>
|
||||
</a>
|
||||
{/if}
|
||||
{else}
|
||||
<span class="ajax_add_to_cart_button btn btn-default disabled">
|
||||
<span><i class="icon-shopping-cart"></i>{l s='Add to cart' mod='appagebuilder'}</span>
|
||||
</span>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\compare -->
|
||||
{if isset($comparator_max_item) && $comparator_max_item}
|
||||
<div class="compare">
|
||||
<a class="add_to_compare btn" href="{$product.link|escape:'html':'UTF-8'}" data-id-product="{$product.id_product}">
|
||||
<i class="icon icon-exchange"></i>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
</div></div></div></div>
|
||||
@@ -0,0 +1,76 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<article class="product-miniature js-product-miniature" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}" itemscope itemtype="http://schema.org/Product">
|
||||
<div class="thumbnail-container">
|
||||
<div class="product-image">
|
||||
{block name='product_thumbnail'}
|
||||
<a href="{$product.url}" class="thumbnail product-thumbnail">
|
||||
<img
|
||||
class="img-fluid{if $aplazyload} lazy{/if}"
|
||||
{if $aplazyload}data-src{else}src{/if} = "{$product.cover.bySize.home_default.url}"
|
||||
alt = "{$product.cover.legend}"
|
||||
data-full-size-image-url = "{$product.cover.large.url}"
|
||||
>
|
||||
</a>
|
||||
{/block}
|
||||
{block name='product_flags'}
|
||||
<ul class="product-flags">
|
||||
{foreach from=$product.flags item=flag}
|
||||
<li class="product-label {$flag.type}">{$flag.label}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
<div class="quickview{if !$product.main_variants} no-variants{/if} hidden-sm-down">
|
||||
<a
|
||||
href="#"
|
||||
class="quick-view"
|
||||
data-link-action="quickview"
|
||||
>
|
||||
<i class="fa fa-expand"></i> <span>{l s='Quick view' mod='appagebuilder'}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="product-meta">
|
||||
<div class="product-description">
|
||||
{block name='product_name'}
|
||||
<h1 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:30:'...'}</a></h1>
|
||||
{/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="regular-price">{$product.regular_price}</span>
|
||||
{if $product.discount_type === 'percentage'}
|
||||
<span class="discount-percentage">{$product.discount_percentage}</span>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{hook h='displayProductPriceBlock' product=$product type="before_price"}
|
||||
|
||||
<span itemprop="price" class="price">{$product.price}</span>
|
||||
|
||||
{hook h='displayProductPriceBlock' product=$product type='unit_price'}
|
||||
|
||||
{hook h='displayProductPriceBlock' product=$product type='weight'}
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
<div class="highlighted-informations{if !$product.main_variants} no-variants{/if} hidden-sm-down">
|
||||
{block name='product_variants'}
|
||||
{if $product.main_variants}
|
||||
{include file='catalog/_partials/variant-links.tpl' variants=$product.main_variants}
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
@@ -0,0 +1,9 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
{hook h='displayLeoCartButton' product=$product}
|
||||
@@ -0,0 +1,9 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
{hook h='displayLeoCartAttribute' product=$product}
|
||||
@@ -0,0 +1,9 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
{hook h='displayLeoCartQuantity' product=$product}
|
||||
@@ -0,0 +1,9 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modulesappagebuilderviewstemplatesfrontproductsfile_tpl -->
|
||||
{hook h='displayLeoProductAtribute' leoproduct=$product}
|
||||
@@ -0,0 +1,9 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
{hook h='displayLeoCompareButton' product=$product}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 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,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
|
||||
*}
|
||||
{block name='product_description'}
|
||||
<div class="product-description" itemprop="description">
|
||||
{$product.description|strip_tags nofilter}
|
||||
</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,10 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{block name='product_description_short'}
|
||||
<div class="product-description-short" itemprop="description">{$product.description_short|strip_tags|truncate:150:'...' nofilter}</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,15 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_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}
|
||||
@@ -0,0 +1,35 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
{if isset($product.attribute)}
|
||||
{foreach from=$product.attribute item=attribute key=key}
|
||||
{if $attribute}
|
||||
{if !isset($leoajax)}
|
||||
<div class="product-full-attr">
|
||||
{/if}
|
||||
<ul class="product-attr">
|
||||
{foreach from=$attribute item=attr}
|
||||
{if $attr.group_type == 'color'}
|
||||
<li class="color product_{$attr.group_name}" style="background-color: {$attr.color};">
|
||||
<a class="{$attr.group_name}" title="{$attr.name}" href="{$attr.url}"></a>
|
||||
</li>
|
||||
{else}
|
||||
<li class="product_{$attr.group_name} {if $attr.group_name == 'Size' && $attr.quantity == 0}Sold-Out{/if}">
|
||||
<a class="{$attr.group_name}" title="{$attr.name}" href="{$attr.url}">{$attr.name}</a>
|
||||
</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
{if !isset($leoajax)}
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<div class="product-item-attribute product-full-attr product-attribute-{$product.id_product}" data-idproduct="{$product.id_product}"></div>
|
||||
{/if}
|
||||
@@ -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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
{block name='product_name'}
|
||||
{* <h3 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:30:'...'}</a></h3> *}
|
||||
<h3 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name}</a></h3>
|
||||
{/block}
|
||||
@@ -0,0 +1,35 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
{block name='product_price_and_shipping'}
|
||||
{if $product.show_price}
|
||||
<div class="product-price-and-shipping {if $product.has_discount}has_discount{/if}">
|
||||
{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">{$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" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
|
||||
<span itemprop="priceCurrency" content="{$currency.iso_code}"></span><span itemprop="price" content="{$product.price_amount}">{$product.price}</span>
|
||||
</span>
|
||||
|
||||
{hook h='displayProductPriceBlock' product=$product type='unit_price'}
|
||||
|
||||
{hook h='displayProductPriceBlock' product=$product type='weight'}
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
@@ -0,0 +1,25 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
{if isset($product.attribute) && $product.attribute && isset($product.attribute.Size) && $product.attribute.Size}
|
||||
{if !isset($leoajax)}
|
||||
<div class="product-size-attribute">
|
||||
{/if}
|
||||
<ul class="product-attr">
|
||||
{foreach from=$product.attribute.Size item=size}
|
||||
<li class="product-{$size.group_name} {if $size.quantity == 0}Sold-Out{/if}">
|
||||
<a class="{$size.group_name}" title="{$size.name}" href="{$size.url}">{$size.name}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{if !isset($leoajax)}
|
||||
</div>
|
||||
{/if}
|
||||
{else}
|
||||
<div class="product-item-size product-size-attribute product-size-{$product.id_product}" data-idproduct="{$product.id_product}"></div>
|
||||
{/if}
|
||||
@@ -0,0 +1,98 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{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}
|
||||
{if isset($formAtts) && isset($formAtts.lazyload) && $formAtts.lazyload}
|
||||
{* ENABLE LAZY LOAD OWL_CAROUSEL *}
|
||||
|
||||
{if $lmobile_swipe && $isMobile}
|
||||
<div class="product-list-images-mobile">
|
||||
<div>
|
||||
{/if}
|
||||
<a href="{$product.url}" class="thumbnail product-thumbnail">
|
||||
<img
|
||||
class="img-fluid lazyOwl"
|
||||
src = ""
|
||||
data-src = "{$product.cover.bySize.home_default.url}"
|
||||
alt = "{$product.cover.legend}"
|
||||
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="{if $lmobile_swipe && $isMobile}0{else}{$product.id_product}{/if}"></span>
|
||||
{/if}
|
||||
</a>
|
||||
{if $lmobile_swipe == 1 && $isMobile}
|
||||
</div>
|
||||
{foreach from=$product.images item=image}
|
||||
{if $product.cover.bySize.home_default.url != $image.bySize.home_default.url}
|
||||
<div>
|
||||
<a href="{$product.url}" class="thumbnail product-thumbnail">
|
||||
<img
|
||||
class="img-fluid thumb js-thumb {if $image.id_image == $product.cover.id_image} selected {/if}{if $aplazyload} lazy{/if}"
|
||||
data-src="{$image.bySize.home_default.url}"
|
||||
alt="{$image.legend}"
|
||||
title="{$image.legend}"
|
||||
itemprop="image"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<div>
|
||||
{/if}
|
||||
{else}
|
||||
{if $lmobile_swipe == 1 && $isMobile}
|
||||
<div class="product-list-images-mobile">
|
||||
<div>
|
||||
{/if}
|
||||
<a href="{$product.url}" class="thumbnail product-thumbnail">
|
||||
<img
|
||||
class="img-fluid"
|
||||
src = "{$product.cover.bySize.home_default.url}"
|
||||
alt = "{$product.cover.legend}"
|
||||
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="{if $lmobile_swipe && $isMobile}0{else}{$product.id_product}{/if}"></span>
|
||||
{/if}
|
||||
</a>
|
||||
|
||||
{if $lmobile_swipe == 1 && $isMobile}
|
||||
</div>
|
||||
{foreach from=$product.images item=image}
|
||||
{if $product.cover.bySize.home_default.url != $image.bySize.home_default.url}
|
||||
<div>
|
||||
<a href="{$product.url}" class="thumbnail product-thumbnail">
|
||||
<img
|
||||
class="thumb js-thumb img-fluid {if $image.id_image == $product.cover.id_image} selected {/if}"
|
||||
src="{$image.bySize.home_default.url}"
|
||||
alt="{$image.legend}"
|
||||
title="{$image.legend}"
|
||||
itemprop="image"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
{else}
|
||||
<a href="{$product.url}" class="thumbnail product-thumbnail leo-noimage">
|
||||
<img
|
||||
{if $aplazyload}class="lazy" data-src{else}src{/if} = "{$urls.no_picture_image.bySize.home_default.url}"
|
||||
>
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
|
||||
{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}
|
||||
{if isset($formAtts) && isset($formAtts.lazyload) && $formAtts.lazyload}
|
||||
{* ENABLE LAZY LOAD OWL_CAROUSEL *}
|
||||
<a href="{$product.url}" class="thumbnail product-thumbnail">
|
||||
<img
|
||||
class="img-fluid lazyOwl"
|
||||
src = ""
|
||||
data-src = "{$product.cover.bySize.home_default.url}"
|
||||
alt = "{$product.cover.legend}"
|
||||
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.url}" class="thumbnail product-thumbnail">
|
||||
<img
|
||||
class="img-fluid"
|
||||
src = "{$product.cover.bySize.home_default.url}"
|
||||
alt = "{$product.cover.legend}"
|
||||
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>
|
||||
{/if}
|
||||
{else}
|
||||
<a href="{$product.url}" class="thumbnail product-thumbnail leo-noimage">
|
||||
<img class="img-fluid"
|
||||
{if $aplazyload}class="lazy" data-src{else}src{/if} = "{$urls.no_picture_image.bySize.home_default.url}"
|
||||
>
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{*
|
||||
* @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="highlighted-informations{if !$product.main_variants} no-variants{/if} hidden-sm-down">
|
||||
{block name='product_variants'}
|
||||
{if $product.main_variants}
|
||||
{include file='catalog/_partials/variant-links.tpl' variants=$product.main_variants}
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
<div class="quickview{if !$product.main_variants} no-variants{/if} hidden-sm-down">
|
||||
<a
|
||||
href="#"
|
||||
class="quick-view"
|
||||
data-link-action="quickview" title="{l s='Quick view' mod='appagebuilder'}"
|
||||
>
|
||||
<span class="leo-quickview-bt-loading cssload-speeding-wheel"></span>
|
||||
<span class="leo-quickview-bt-content">
|
||||
<i class="material-icons search"></i>
|
||||
<span>{l s='Quick view' mod='appagebuilder'}</span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -0,0 +1,9 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
{hook h='displayLeoProductListReview' product=$product}
|
||||
@@ -0,0 +1,9 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
<!-- @file modules\appagebuilder\views\templates\front\products\file_tpl -->
|
||||
{hook h='displayLeoWishlistButton' product=$product}
|
||||
@@ -0,0 +1,9 @@
|
||||
{*
|
||||
* @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
|
||||
*}
|
||||
{assign var=j value=$i-1}
|
||||
<p><strong class="dark" style="clear:both;">{$days.$i}:</strong> <span>{$hours.$j}</span></p>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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;
|
||||
Reference in New Issue
Block a user