| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
ALWAYS display first level subcats beneath root cats | ||||
|
|
Thread Tools | Search this Thread |
#71
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
How can this be achieved.... I believe this differs some from what i read here.
What we want is a header.... Then the categories within it..... example... Mens Toys <--This is just a header area it points to in BOLD. No link associated. Product category <---- Category Product Category <--- Category Womens Toys<--This is just a header area it points to in BOLD. No link associated. Product category <---- Category Product Category <--- Category When done its just a complete list of zones(header name) then the items within it and so forth.....
__________________
Regards, Dan X-Cart Gold Version 4.1.10 1 - One page checkout 2 - Image Generator 3 - CSDEO Pro 4 - Shop By Price 5 - Next - Previous 6 - On Sale 7 - Shop By Price 8 - Froogle & Google Base Feed 9 - Buy Together 10 - Customer Loyalty Points 11 - Customer Reward Points Customer Reward Points Referral Add-on 12 - Product Reviews 13 - Other Custom Modifications ---------------------- http://www.townsqjewelry.com/ http://www.eroticnights4u.com/ <---- Adult Oriented - Toys |
|||||||
#72
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
Quote:
Category Heading FREE X-cart Modification #125: http://www.bcsengineering.com/store/catalog/Category_Heading_FREE_Xcart_Modification-p-125.html From the mod description, "This mod allows you to EASILY add headings to any categories you want. You can add headings to subcategories or main categories." I believe that sounds like what you are looking for. Robert
__________________
X-cart 4.1.10 |
|||||||
#73
|
|||||||||
|
|||||||||
Show categories on welcome.tpl - after the mod on this thread is installed
My client wanted the categories listed on the home page with custom icons. I already had the show subcategories only for the current category mod installed. I copied the categories.tpl and named it categories-home.tpl, trimmed it down a bit, and put an if statement on the main categories list item to display the different icons. Just thought I would post it because it is an easy way to add the categories to welcome.tpl if you already have the mod in this thread installed. For version 4.1.x
categories-home.tpl - You would obviously have to change the categoryid numbers to suit your project, and it could get out of control if you have a lot of categories: Code:
welcome.tpl add the following line: Code:
CSS (could be a bit more trim - but this is easy to follow): Code:
final result: http://www.tek-inst.com/ |
|||||||||
#74
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
I have this working in 4.1.9 pretty well, but have a couple of quirks with it. If I click on a subcat inside a subcat, it collapses the menu back to the main cats. Is there a way to keep them open no matter the depth level of subs? One more thing I'd like to see, if possible, is the ability to NOT open the main cat page when it's clicked on, but only expand down the menu to the first level of subcats for the one you clicked on. From there it would open the corresponding subcat page, and so-on.
Ideas? Great mod so far though! Scotty
__________________
Xcart Version 4.1.9 Upgraded to 4.1.10 (clean install with mods added back) |
|||||||
#75
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
Awasson, thanks a lot for a great mod. Could you advice how can I display 3rd level subcategories.
Root category A - subcategory A1 - subcategory A2 --- subcategory A21 --- subcategory A22 - subcategory A3 Root category B Root category C Many thanks.
__________________
Tanya x-cart version: 4.1.7 4.1.9. 4.2 |
|||||||
#76
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
Fantastic thread everyone. A mashup of several posts gave me the solution I needed. Much appreciated!
__________________
Version 4.1.8 |
|||||||
#77
|
|||||||||
|
|||||||||
Re: ALWAYS display first level subcats beneath root cats
Hi,
I'm working on setting up a new online store with x-cart 4.2. Did anybody try to implement it (subcategories in the Category menu box)? I've tried to search in "Storefront Design & Template Editing in v 4.2.x" directory without any luck . I would appreciate your help and I think everybody can profit as well. clik
__________________
__________________ XC5: 5.3.4.4 PHP: 7.0.26 MySQL server: 5.5.56-MariaDB |
|||||||||
#78
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
Quote:
I got this one working on our shop site. But as we have up to 50 sub categories, your talking a very long list when a user goes into a root category, means having to scroll, scroll and yet more scrolling, just isnt feasible for our shop. Is there anyone that knows of a way (I think this may have been posted previously but as I am rushed to get this working, I thought I would post this question). Is there anyway of displaying a list drop down menu at the top, above the welcome message, of root level categories and then when a user selects a root category, it then displays the relevant sub categories, magically appears and then are able to select products from that sub category? Thanks for your help, Jeremy.
__________________
Version 4.1.11 on Linux (Fedora) X-Cart Gold |
|||||||
#79
|
|||||||||
|
|||||||||
Re: ALWAYS display first level subcats beneath root cats
This thread (although great) has got so long and complicated now I can't find the solution!
I'm on 4.1.12 and I want to simply display on every page of the site in the categories.tpl as follows: Category 1 Subcat 1A Subcat 1B Subcat 1C Category2 Subcat 2A Subcat 2B Subcat 2C If anyone has this for the last release of 4.1.12 could they please post the code!
__________________
Versions 4.1.11 to 4.6.4 ... when will the new versions end! Custom X-Cart driven e-commerce sites, skins and installations at www.samsonwebdesign.co.uk |
|||||||||
#80
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
Quote:
I followed this and it works great in v4.1.8. I've been trying to mod the code to stop the categories WITH subcats linking to the subcats page, just the categories WITHOUT subcategories to link. I would like the categories with subcats to just open the list of subcats in the menu for further selection but not change page until a subcat is clicked. Could anyone possibly help, I've tried all kinds of things but am stuck !! Cheers Steve
__________________
X-Cart Gold v 4.3.2 X-AOM, Marketing Manager, On Sale |
|||||||
|
|||
X-Cart forums © 2001-2020
|