Post by Khoneini » Tue Dec 06, 2011 1:27 am

Hi all,

Is it possible to include multiple categories on the index page? I'm currently using the following code to include 1 category on the main index.php file:

Code: Select all

// Router
if (isset($request->get['route']) && $request->get['route'] != 'common/home') {
    $action = new Action($request->get['route']);
} else {
    $request->get['path'] = 20;
    $action = new Action('product/category');
} 
But what I want is:
<h2>Categorie 1:</h2>
<Content of categorie 1 here>
<h2>Categorie 2:</h2>
<Content of categorie 2 here>
<h2>Categorie 3:</h2>
<Content of categorie 3 here>

Who can help me out with this?

Greetings,
- Khoneini

New member

Posts

Joined
Thu May 13, 2010 4:59 am

Post by tpk » Wed Apr 13, 2016 11:16 pm

Hi, did you find a solution for this (ages ago :-))? I need exactly the same.

tpk
New member

Posts

Joined
Mon Oct 05, 2015 11:03 pm
Who is online

Users browsing this forum: No registered users and 6 guests