Post by hm2k » Wed Jan 21, 2009 10:55 pm

There's a few things surrounding the homepage really.

* Database driven welcome message.
* More options than "latest products".

I for one would like to see both of these.

There's quite a few threads that cover this:

* http://forum.opencart.com/index.php/topic,1329.0.html
* http://forum.opencart.com/index.php/top ... ml#msg5507

* http://forum.opencart.com/index.php/topic,2120.0.html
* http://forum.opencart.com/index.php/topic,2151.0.html
* http://forum.opencart.com/index.php/topic,2446.0.html

Also I originally had in mind the option to show recent/random/popular/listing products on the homepage with pagination. Nothing that requires database changes to start with.

You'll notice that in r350 I made some improvements to already start accommodating this. Some further improvements may be required though.

These are all considerations to think about to make the homepage more advanced than it currently is.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by Qphoria » Wed Jan 21, 2009 11:06 pm

Absolutely would love to see some admin side control of many features of the homepage

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by hm2k » Thu Jan 22, 2009 6:33 am

I'm pretty much thinking of working on this next for 0.8

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by hm2k » Fri Jan 23, 2009 11:08 pm

I'm pretty sure the best way of doing this is by making each feature a module like what is used on the layout, but usable on the home page.

Issues are that:
* Each module has at least 3 files, this could be reduced if the languages were database driven.
* You'd have to edit the home.tpl each time you wanted to add a new module into the core, people may not update, Dynamic extension module inclusion would make life a lot easier here.
* Lack of easy on/off controls [Qphoria had mentioned a similar thing for other properties]
* New modules aren't so easy to add, they need autodetection.
Last edited by hm2k on Tue Feb 03, 2009 1:27 am, edited 1 time in total.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by hm2k » Tue Feb 03, 2009 9:48 am

Extensions auto-detection is now done.

This means I can continue on this quest...

So far I have separated the "latest" from the "home" and turned it into a module.

I will then improve this module by adding features such as pagination.

Other modules are to follow, as suggested previously, probably starting with "popular".

A decision must then be made to decide how to handling switching/choosing between the modules.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by hm2k » Wed Feb 04, 2009 7:07 am

Added in r422: advanced home page, with featured, latest, and popular products, also a customisable welcome notice; once you run the upgrade.sql by default you will have welcome and latest displayed on your home page.

This should make it easy to add custom modules for your home page.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK
Who is online

Users browsing this forum: No registered users and 1 guest