privilegedemarque/themes/site/category.tpl
Christophe Latour 378aefae75 #10887
Affilnet tagging
2016-09-30 10:48:15 +02:00

56 lines
1.9 KiB
Smarty
Executable File

{*
* 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{include file="./affilnet.tpl" event="CategoryView" page_type="category" page_category="$return_category_name"}
{include file="$tpl_dir./errors.tpl"}
{if isset($category)}
{if $category->id AND $category->active}
{if !$content_only}
{if isset($as4_53d646409d239)}{$as4_53d646409d239}{/if}
<div id="as_custom_content_results"></div>
{/if}
{if $products}
<div id="product_list">
{include file="./product-list.tpl" products=$products nojson=1}
</div>
<div class="content_sortPagiBar">
<div class="bottom-pagination-content clearfix">
{include file="./pagination.tpl" paginationId='bottom'}
</div>
</div>
{/if}
{elseif $category->id}
<p class="alert alert-warning">{l s='This category is currently unavailable.'}</p>
{/if}
<div class="loader" id="loader" ></div>
{if !$content_only}
<div class="bottom-category">
{hook h="displayBottomCategory"}
</div>
{/if}
{/if}