matthew_scullion Posted November 30, 2006 Posted November 30, 2006 Hi, I am currently building a web site to sell lighting products, called yourlightsource.co.uk. I have built it in OS Commerce and now almost have the site exactly as I want it. However, I have one small problem. I am using a product structure of Category -> Sub-Category -> Product. In some of the categories there are lots of sub-categories, which means lots of category images/links are displaying when you enter the category - too many to be visually pleasing I think. For instance, if a user selects the category 'Contemporary Interior Lights' there are 26 sub-categories presented immediately. What I would like to do is have a sub-category page which works like the product listing pages, where if there are lots of entries, the listing is simply split over multiple pages and 'Next' and 'Previous' links are provided. is this possible? My site is being built at a temporary address of http://www.matt-scullion.co.uk/catalog if you want to see it. Any other critique welcome but bear in mind it's not quite finished yet! Many thanks for any help. Regards, Matthew
♥Monika in Germany Posted November 30, 2006 Posted November 30, 2006 Matthew, splitting can be done for any purpose as the splitting itself is not tied to a special kind of query. I have not seen a module for this though, so you would need to custom code it. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
matthew_scullion Posted November 30, 2006 Author Posted November 30, 2006 Matthew, splitting can be done for any purpose as the splitting itself is not tied to a special kind of query. I have not seen a module for this though, so you would need to custom code it. HI Monika, thanks for your input. Unfortunately I not much of a PHP developer. Any hints on how I could code this? Or does anyone have a module/contribution/code snippet? Many thanks.
♥Monika in Germany Posted November 30, 2006 Posted November 30, 2006 I suggest you copy in the module that fits the looks you want most (probably specials.php) and then just change the query to the existing one for cetegories and rename fields for display. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
matthew_scullion Posted December 1, 2006 Author Posted December 1, 2006 Thanks Monica, I'll try that.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.