{extends file="layout.tpl"} {block name="body-class"}page-view-all{/block} {* Breadcrumb *} {block name='no-return-functions' append} {$breadcrumbs = [ ['title' => {intl l="View all"}, 'url'=>{url path="/view_all"}] ]} {/block} {block name="main-content"} {$product_type = $smarty.get.type|default:"promo"}
{if $product_type == "new"} {$title = {intl l="Latest products"}} {elseif $product_type == "promo"} {$title = {intl l="Product Offers"}} {/if} {include file="components/smarty/Title/Title.html" title=$title }
{include file="components/smarty/CategoryProducts/CategoryProducts.html" types=[{$product_type}] categories=""}
{/block} {block name="css" append} {hook name="viewall.stylesheet"} {/block} {block name="after-javascript-include"} {hook name="viewall.after-javascript-include"} {/block} {block name="javascript-initialization"} {hook name="viewall.javascript-initialization"} {/block}