Miryam68 Posted November 5, 2012 Share Posted November 5, 2012 Bonjour , Que rajouter dans mon tpl pour qu'il pour qu'il y ai tous les produits en dessous des sous-catégories ? {capture name=path}{l s='Sitemap'}{/capture} {include file="$tpl_dir./breadcrumb.tpl"} <h1>{l s='Sitemap'}</h1> <div id="sitemap_content"> <div class="sitemap_block"> <h3>{l s='Our offers'}</h3> <ul> <li><a href="{$link->getPageLink('new-products.php')}">{l s='New products'}</a></li> {if !$PS_CATALOG_MODE} <li><a href="{$link->getPageLink('best-sales.php')}">{l s='Top sellers'}</a></li> <li><a href="{$link->getPageLink('prices-drop.php')}">{l s='Price drop'}</a></li> </ul> </div> <div class="sitemap_block"> <h3>{l s='Your Account'}</h3> <ul> <li><a href="{$link->getPageLink('my-account.php', true)}">{l s='Your Account'}</a></li> <li><a href="{$link->getPageLink('identity.php', true)}">{l s='Personal information'}</a></li> <li><a href="{$link->getPageLink('addresses.php', true)}">{l s='Addresses'}</a></li> {if $voucherAllowed}<li><a href="{$link->getPageLink('discount.php', true)}">{l s='Discounts'}</a></li>{/if} <li><a href="{$link->getPageLink('history.php', true)}">{l s='Order history'}</a></li> </ul> </div> <br class="clear" /> </div> <div> <div class="categTree"> <h3>{l s='Categories'}</h3> <div class="tree_top"><a href="{$base_dir_ssl}">{$categoriesTree.name|escape:'htmlall':'UTF-8'}</a></div> <ul class="tree"> {if isset($categoriesTree.children)} {foreach from=$categoriesTree.children item=child name=sitemapTree} {if $smarty.foreach.sitemapTree.last} {include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'} {else} {include file="$tpl_dir./category-tree-branch.tpl" node=$child} {/if} {/foreach} {/if} </ul> </div> <div class="categTree"> <h3>{l s='Pages'}</h3> <div class="tree_top"><a href="{$categoriescmsTree.link}">{$categoriescmsTree.name|escape:'htmlall':'UTF-8'}</a></div> <ul class="tree"> {if isset($categoriescmsTree.children)} {foreach from=$categoriescmsTree.children item=child name=sitemapCmsTree} {if (isset($child.children) && $child.children|@count > 0) || $child.cms|@count > 0} {include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child} {/if} {/foreach} {/if} {foreach from=$categoriescmsTree.cms item=cms name=cmsTree} <li><a href="{$cms.link|escape:'htmlall':'UTF-8'}" title="{$cms.meta_title|escape:'htmlall':'UTF-8'}">{$cms.meta_title|escape:'htmlall':'UTF-8'}</a></li> {/foreach} <li><a href="{$link->getPageLink('contact-form.php', true)}">{l s='Contact'}</a></li> {if $display_store}<li class="last"><a href="{$link->getPageLink('stores.php')}" title="{l s='Our stores'}">{l s='Our stores'}</a></li>{/if} </ul> </div> </div> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now