first commit
This commit is contained in:
5
themes/ayon/templates/catalog/listing/best-sales.tpl
Normal file
5
themes/ayon/templates/catalog/listing/best-sales.tpl
Normal file
@@ -0,0 +1,5 @@
|
||||
{*
|
||||
* 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'}
|
||||
73
themes/ayon/templates/catalog/listing/category.tpl
Normal file
73
themes/ayon/templates/catalog/listing/category.tpl
Normal file
@@ -0,0 +1,73 @@
|
||||
{**
|
||||
* 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 2007-2017 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'}
|
||||
|
||||
{if isset($roythemes.b_pos_cat) && $roythemes.b_pos_cat == "2"}
|
||||
{block name='breadcrumb'}
|
||||
{include file='_partials/breadcrumb.tpl'}
|
||||
{/block}
|
||||
{/if}
|
||||
<div class="block-category hidden-sm-down">
|
||||
{if $category.image.large.url && isset($roythemes.nc_cat_img) && $roythemes.nc_cat_img == "1" && isset($roythemes.nc_cat_imglay) && $roythemes.nc_cat_imglay == "1"}
|
||||
<div class="category-cover">
|
||||
<img class="img-responsive" src="{$category.image.large.url}" alt="{$category.image.legend}">
|
||||
</div>
|
||||
{/if}
|
||||
<h1 class="h1">{$category.name}</h1>
|
||||
{if $category.description}
|
||||
<div id="category-description" class="text-muted">{$category.description nofilter}</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="text-sm-center hidden-md-up">
|
||||
<h1 class="h3">{$category.name}</h3>
|
||||
</div>
|
||||
|
||||
{if isset($subcategories) && isset($roythemes.nc_subcat) && $roythemes.nc_subcat == "1"}
|
||||
<!-- Subcategories -->
|
||||
<div id="subcategories">
|
||||
<ul class="clearfix">
|
||||
{foreach from=$subcategories item=subcategory}
|
||||
<li>
|
||||
<div class="sub_cont">
|
||||
<div class="subcategory-image">
|
||||
<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" class="img noeffect">
|
||||
{if $subcategory.id_image}
|
||||
<img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'category_default')|escape:'html':'UTF-8'}" alt="{$subcategory.name|escape:'html':'UTF-8'}"/>
|
||||
{else}
|
||||
<img class="replace-2x" src="{$img_cat_dir}{$lang_iso}-default-category_default.jpg" alt="{$subcategory.name|escape:'html':'UTF-8'}"/>
|
||||
{/if}
|
||||
</a>
|
||||
</div>
|
||||
<h5><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></h5>
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
31
themes/ayon/templates/catalog/listing/manufacturer.tpl
Normal file
31
themes/ayon/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 2007-2017 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}
|
||||
5
themes/ayon/templates/catalog/listing/new-products.tpl
Normal file
5
themes/ayon/templates/catalog/listing/new-products.tpl
Normal file
@@ -0,0 +1,5 @@
|
||||
{*
|
||||
* 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'}
|
||||
5
themes/ayon/templates/catalog/listing/prices-drop.tpl
Normal file
5
themes/ayon/templates/catalog/listing/prices-drop.tpl
Normal file
@@ -0,0 +1,5 @@
|
||||
{*
|
||||
* 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'}
|
||||
69
themes/ayon/templates/catalog/listing/product-list.tpl
Normal file
69
themes/ayon/templates/catalog/listing/product-list.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 2007-2017 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'}
|
||||
<h1 class="h1">{$listing.label}</h2>
|
||||
{/block}
|
||||
|
||||
<section id="products">
|
||||
{if $listing.products|count}
|
||||
|
||||
<div id="">
|
||||
{block name='product_list_top'}
|
||||
{include file='catalog/_partials/products-top.tpl' listing=$listing}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
{block name='product_list_active_filters'}
|
||||
<div id="">
|
||||
{$listing.rendered_active_filters nofilter}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
<div id="">
|
||||
{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}
|
||||
|
||||
{l s='There are no products in this category.' d='Shop.Theme.Global'}
|
||||
|
||||
{/if}
|
||||
</section>
|
||||
|
||||
</section>
|
||||
{/block}
|
||||
5
themes/ayon/templates/catalog/listing/search.tpl
Normal file
5
themes/ayon/templates/catalog/listing/search.tpl
Normal file
@@ -0,0 +1,5 @@
|
||||
{*
|
||||
* 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/ayon/templates/catalog/listing/supplier.tpl
Normal file
30
themes/ayon/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 2007-2017 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}
|
||||
Reference in New Issue
Block a user