Post by Stefafuno » Thu Jul 02, 2009 11:57 pm

Hello everybody, can someone tell me how to show the "special offert" page on the home page instead of the latest product?

thank you ;D

Newbie

Posts

Joined
Thu Jul 02, 2009 5:27 pm

Post by readyman » Fri Jul 03, 2009 7:31 pm

Just grab some of the code from the controller file catalog/controller/product/special.php and put it into home.php.
Then grab the code from the catalog/view/theme/default/template/product/special.tpl file and place it in catalog/view/theme/default/template/common/home.tpl instead of the latest product code.

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by Stefafuno » Fri Jul 03, 2009 9:57 pm

thank you readyman, ....but since im not really good with php , can you help me find out what codes i need form the special.php and special.tpl files?

Newbie

Posts

Joined
Thu Jul 02, 2009 5:27 pm

Post by joxxxe » Mon Jul 13, 2009 1:55 pm

Just grab some of the code from the controller file catalog/controller/product/special.php and put it into home.php.
Then grab the code from the catalog/view/theme/default/template/product/special.tpl file and place it in catalog/view/theme/default/template/common/home.tpl instead of the latest product code.
please could you...tell us where is located home.php file? because there are a few home.php files inside the global folder, thanks.

New member

Posts

Joined
Mon Jul 13, 2009 1:53 pm

Post by joxxxe » Fri Jul 17, 2009 1:14 am

please ... somebody can help me??? thanks.

New member

Posts

Joined
Mon Jul 13, 2009 1:53 pm

Post by iloveopencart » Fri Jul 17, 2009 2:29 pm

Attached is a folder with the three modified homepage files to display Specials INSTEAD of Latest Products. All you need to do is unzip and upload to your site, overwriting the files - the directory structure is intact.

After you've entered a few Specials, you should get a homepage that looks similar to this:

Image

The ZIP file is attached below.

Attachments

Specials on homepage - OpenCart v1.2.9


User avatar
Global Moderator

Posts

Joined
Thu Mar 05, 2009 11:15 pm
Location - Phoenix, AZ

Post by joxxxe » Fri Jul 17, 2009 9:05 pm

im very grateful with you man. very very thanks.

New member

Posts

Joined
Mon Jul 13, 2009 1:53 pm

Post by sanswarden » Tue Aug 04, 2009 11:41 pm

I am interested in having the latest and special products on the home page... i've been playing around with the code in this topic but have yet to get it to work...

any thoughts or ideas would be much appreciated...

thanks

Newbie

Posts

Joined
Tue Aug 04, 2009 11:27 pm
Who is online

Users browsing this forum: No registered users and 5 guests