This is a discussion on Sub-Categories as Section Headers within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hi all, I'm starting work on a mod for this as I haven't located any hint of anyone doing this, ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi all, I'm starting work on a mod for this as I haven't located any hint of anyone doing this, but thought I'd throw it out here for suggestions and opinions. I want a complete product list to show within a main category only I want the Subcategories to show as section breaks within the list, like so... Main Category -Sub Category 1 Heading --Product 1 --Product 2 --...so on... -Sub Category 2 Heading --Product A --Product B --...so on... Are there any such mods already out there I can glean from? Any advice on this? Thanks! |
|
#2
| ||||
| ||||
| More info needed. Are these links? Where do you want to display them? I am going to guess and tell you to look at the SiteMap page already within osCMax and see if that is useful! Put www.yoursite.com/sitemap.php to see it. Regards,
__________________ pgmarshall _______________________________ Test Site: www.cottonbarn.info Want to say thank you if I helped you out? Help me block this waste incinerator plan (www.nywag.org) in North Yorkshire, UK. Sign the petition here (only takes 1 minute). Thanks. |
|
#3
| |||
| |||
| This is for the product listing. When a customer selects a main category, I need the full product listing for that category, including the products in the sub-categories. The products will be grouped by the sub-categories, but ALL products will show in the listing. Hope that makes sense... Thanks! |
|
#4
| ||||
| ||||
| In which case you should start by looking at the sitemap.php code as it has the loop for finding all the subcats and products within a category. You will need to work out where you want to display this code ... <your template>/content/index_nested.tpl.php is probably the best bet. Regards,
__________________ pgmarshall _______________________________ Test Site: www.cottonbarn.info Want to say thank you if I helped you out? Help me block this waste incinerator plan (www.nywag.org) in North Yorkshire, UK. Sign the petition here (only takes 1 minute). Thanks. |
|
#5
| |||
| |||
| Getting closer to making this work. I've gotten as far as looping through all the subcategory (and sub-sub category, etc.) IDs. My big issue is with the product listing itself. Has anyone tried making the product listing as a function? |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Better Headers | michael_s | New osCommerce Contributions | 0 | 08-28-2009 01:00 PM |
| Headers | lem | osCMax v1.7 Discussion | 0 | 02-17-2005 11:07 PM |
| Need categories to show in center section | cupido | osCMax v1.7 Discussion | 1 | 11-06-2004 12:57 PM |
| Categories/Products customization in the Admin Section | ReginaStelling | osCommerce 2.2 Modification Help | 4 | 07-29-2004 03:31 AM |
| categories.php Premature end of script headers | rd42 | osCommerce 2.2 Installation Help | 1 | 01-26-2004 06:27 AM |