Page 1 of 1

[Solved]Products on Home Page

Posted: Sun Aug 05, 2012 10:44 pm
by upl8t
Looking to display one predetermined category of products on the home page. I realize there are several options available such as the best seller, featured and latest modules. The problem is that they change the display. I'm looking for the ability to display the products exactly the way they'd show if you had clicked on a category on the menu.

Any suggestions on how to do this?

Re: Products on Home Page

Posted: Mon Aug 06, 2012 8:57 pm
by voca
Hi,
I wanted to display 4 random products on my homepage at www.faxcare.net.au. What I did was copied "featured poducts" code and renamed as "random products". The I just changed the models select query to display random result.
You could do the same except change the models query to return products for your chosen category.
Cheers
Kym

Re: Products on Home Page

Posted: Tue Aug 07, 2012 2:21 am
by upl8t
Thanks Kym. I tried this earlier. It will pull the products ok but the formatting is completely different than the normal category displays. Plus it's missing the title, description, sorts etc. I've done some further digging and it is possible to create a new controller and template using the category controller template as a starting point. It is messy though.