// ids instead of class on home tab toogle
This commit is contained in:
@@ -25,5 +25,5 @@
|
||||
*}
|
||||
|
||||
{if is_array($best_sellers) && count($best_sellers)}
|
||||
{include file="$tpl_dir./product-list.tpl" products=$best_sellers class='blockbestsellers tab-pane'}
|
||||
{include file="$tpl_dir./product-list.tpl" products=$best_sellers class='blockbestsellers tab-pane' id='blockbestsellers'}
|
||||
{/if}
|
||||
@@ -24,5 +24,5 @@
|
||||
*}
|
||||
|
||||
{if is_array($best_sellers) && count($best_sellers)}
|
||||
<li><a data-toggle="tab" href="{$link->getPageLink('best-sales')|escape:'html'}" class="blockbestsellers">{l s='Best Sellers' mod='blockbestsellers'}</a></li>
|
||||
<li><a data-toggle="tab" href="#blockbestsellers" class="blockbestsellers">{l s='Best Sellers' mod='blockbestsellers'}</a></li>
|
||||
{/if}
|
||||
@@ -22,4 +22,4 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{include file="$tpl_dir./product-list.tpl" products=$new_products class='blocknewproducts tab-pane active'}
|
||||
{include file="$tpl_dir./product-list.tpl" products=$new_products class='blocknewproducts tab-pane active' id='blocknewproducts'}
|
||||
@@ -22,4 +22,4 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<li class="active"><a data-toggle="tab" href="{$link->getPageLink('new-products')|escape:'html'}" class="blocknewproducts">{l s='New arrivals' mod='blocknewproducts'}</a></li>
|
||||
<li class="active"><a data-toggle="tab" href="#blocknewproducts" class="blocknewproducts">{l s='New arrivals' mod='blocknewproducts'}</a></li>
|
||||
@@ -22,4 +22,4 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane'}
|
||||
{include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured'}
|
||||
@@ -22,4 +22,4 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<li><a data-toggle="tab" href="{$link->getPageLink('index')|escape:'html'}" class="homefeatured">{l s='Popular' mod='homefeatured'}</a></li>
|
||||
<li><a data-toggle="tab" href="#homefeatured" class="homefeatured">{l s='Popular' mod='homefeatured'}</a></li>
|
||||
@@ -39,7 +39,7 @@
|
||||
{math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines}
|
||||
{math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet}
|
||||
<!-- Products list -->
|
||||
<ul class="product_list grid row {if isset($class) && $class} {$class}{/if}">
|
||||
<ul{if isset($id) && $id} id="{$id}" {/if}class="product_list grid row{if isset($class) && $class} {$class}{/if}">
|
||||
{foreach from=$products item=product name=products}
|
||||
{math equation="(total%perLine)" total=$smarty.foreach.products.total perLine=$nbItemsPerLine assign=totModulo}
|
||||
{math equation="(total%perLineT)" total=$smarty.foreach.products.total perLineT=$nbItemsPerLineTablet assign=totModuloTablet}
|
||||
|
||||
Reference in New Issue
Block a user