Post by JonathanR » Fri Apr 20, 2012 12:18 am

Hi all,

I want to show all of my products on the homepage when a visitor first enters the site. I have seen one or two modules, and have tried them without much success. One seems quite promising but it requires amending the database which I am not keen to do.

So I was wondering, if I add an extra Category across the top of my site called ENTIRE RANGE, which will contain every product, can I then set up a redirect from index.php to index.php?route=product/category&path=2

I have done redirects before with domain changes, but never something like this, and my attempts have failed.

Thanks in advance.

Jonthan

New member

Posts

Joined
Sun Apr 15, 2012 4:34 pm

Post by qahar » Fri Apr 20, 2012 1:00 am

You can put something like this on your home.tpl

<?php $this->redirect($this->url->link('product/category', 'path=2')); ?>

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by JonathanR » Fri Apr 20, 2012 2:04 am

So simple! Thanks for that qahar. Works like a dream.

New member

Posts

Joined
Sun Apr 15, 2012 4:34 pm
Who is online

Users browsing this forum: No registered users and 107 guests