optimisation of the frontoffice. Product list is ten times faster. But only the default product sale element can be added to cart.

This commit is contained in:
Julien Chanséaume
2014-07-23 17:20:45 +02:00
committed by Julien Chanseaume
parent 00baae6da0
commit b4d0d085fe
7 changed files with 13592 additions and 111 deletions

View File

@@ -25,9 +25,14 @@
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = []}
{loop type="brand" name="brand-breadcrumb" id="{brand attr="id"}"}
{$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL}]}
{/loop}
{$brand_id={brand attr="id"}}
{if $brand_id}
{loop type="brand" name="brand-breadcrumb" id="{brand attr="id"}"}
{$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL}]}
{/loop}
{else}
{$breadcrumbs[] = ['title' => {intl l="All brands"}, 'url'=> '']}
{/if}
{/block}
{block name="main-content"}