Jump to content

Display All products on a custom page


lamoucheuk

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...