lamoucheuk Posted October 2, 2011 Share Posted October 2, 2011 Hi Everyone! I've got a techy question for you guys! I would like to have one page which contain all my products from all my categories. Here is how I get all the category names: {foreach from=$blockCategTree.children item=child name=blockCategTree} {include file="$branche_tpl_path" node=$child} {/foreach}--> Do you know how to get the products now?? I guess it will be something like this: {foreach from=$blockCategTree.children item=child name=blockCategTree} {include file="$branche_tpl_path" node=$child} {foreach [bLABLA]} BLABLA {/foreach} {/foreach} Could someone help me?? Many many thanks ! Anthony Link to comment Share on other sites More sharing options...
bluecafe Posted October 3, 2011 Share Posted October 3, 2011 Personally I would try another approach. I would add all products to the home category. Then I would modify the homefeature module to list the products in the desired order. Then I'd create a new hook in the content area where you can attach the new "all products" module. Link to comment Share on other sites More sharing options...
StoreCommander Posted October 3, 2011 Share Posted October 3, 2011 The bluecafe's solution is better because you won't be able to sort the whole list with the "include file" method. EAch include part will be sorted in the list. 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