Post by barells » Tue Jun 29, 2010 10:30 pm

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.

New member

Posts

Joined
Sat Jun 27, 2009 5:09 am

Post by JAY6390 » Tue Jun 29, 2010 10:35 pm

Think what you are looking for for the home page is under /catalog/view/theme/default/template/module/latest_home.tpl now

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by barells » Wed Jun 30, 2010 1:26 am

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.

New member

Posts

Joined
Sat Jun 27, 2009 5:09 am

Post by Qphoria » Wed Jun 30, 2010 1:52 am

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

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by trapson » Wed Dec 22, 2010 5:49 pm

why can i not set specials (aanbiedingen in dutch) on home this module only has the option left or right

Opencart 1.4.9.3


New member

Posts

Joined
Fri Sep 24, 2010 7:10 pm

Post by i2Paq » Wed Dec 22, 2010 7:43 pm

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.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by trapson » Thu Dec 23, 2010 12:54 am

Jeps zie screenshot
opencart.jpg

opencart.jpg (21.81 KiB) Viewed 1183 times


Opencart 1.4.9.3


New member

Posts

Joined
Fri Sep 24, 2010 7:10 pm
Who is online

Users browsing this forum: No registered users and 12 guests