Page 1 of 1

new category on home page

Posted: Tue Jun 29, 2010 10:30 pm
by barells
Hi,

I just upgraded, and some changes have influenced the customizations I made.

Previously, I had a featured products category show up on my store front home page. I did this by editing:
catalog->controller->common->home.php

changing this line to:
foreach ($this->model_catalog_product->getLatestProducts(8) as $result) {

to:
foreach ($this->model_catalog_product->getProductsByCategoryId(38,'','','',12) as $result) {

Can someone tell me how to do this in 1.4.8b.

Also, I want to add:
$_['error_postcode'] =

Where did the file go with these error variables.

Thank you.

Re: new category on home page

Posted: Tue Jun 29, 2010 10:35 pm
by JAY6390
Think what you are looking for for the home page is under /catalog/view/theme/default/template/module/latest_home.tpl now

Re: new category on home page

Posted: Wed Jun 30, 2010 1:26 am
by barells
no, that is just a template. But, where can I change it from showing the latest products, to a different category ("featured products" category) on the home page.

Re: new category on home page

Posted: Wed Jun 30, 2010 1:52 am
by Qphoria
Latest, featured, specials, and bestsellers all have the ability to be set on the home now from the admin. Just configure the module and change the position to Home

Always good to read the change log when upgrading

Re: new category on home page

Posted: Wed Dec 22, 2010 5:49 pm
by trapson
why can i not set specials (aanbiedingen in dutch) on home this module only has the option left or right

Re: new category on home page

Posted: Wed Dec 22, 2010 7:43 pm
by i2Paq
trapson wrote:why can i not set specials (aanbiedingen in dutch) on home this module only has the option left or right
Are you sure it is the module that comes default with OC?

In my 1.4.9.1 patched to 1.4.9.2 I can set it to Links, Rechts and Home.

Re: new category on home page

Posted: Thu Dec 23, 2010 12:54 am
by trapson
Jeps zie screenshot
opencart.jpg

opencart.jpg (21.81 KiB) Viewed 1185 times