![]() |
Two groups of categories? Is this possible?
I have a potential client who will be selling swimwear. For the categories, we want the following structure.
BRAND 1 > print a > print b > print c BRAND 2 > print 1 > print 2 > print 3 BRAND 3 > style 1 > style 2 BRAND 4 > style a > style b Bikini Tops Bikini Bottoms One Piece Chlorine Resitant Sarongs I would like a clear definintion between where the BRAND 4 and it's sub-catgories ends, and where Bikini Tops starts. Is this possible? With a mod? |
Re: Two groups of categories? Is this possible?
What you need to do is create another categories.tpl file - categories2.tpl. You can then call to both of them in your home.tpl.
In the categories.tpl file you will need to add a line: Quote:
And, in categories2.tpl file you will need to add a line: Quote:
Then in the Admin area ID your categories in these ranges. It will place each category to the appropriate menu. |
Re: Two groups of categories? Is this possible?
Wow, didn't think it would be that simple. Thanks for that!
|
Re: Two groups of categories? Is this possible?
I tried this and it didn't work. I have tried it with and without a closing {/if} tag in various positions in the categories.tpl file and I keep getting the complete list.
Is there any further information you can give me? |
Re: Two groups of categories? Is this possible?
You will need a closing {/if} for sure.
Perhaps a silly question / idea... have you checked your category "categoryid" code numbers, that are actually kept in the SQL database for each category (for example all mine fall into the 200-300 range)... Note: these can only be seen when viewing the SQL table via something like phpMyAdmin So just wondering if you perhaps have not change the ranges to be correct for the "category id" code number actually used in your own store? Cheers - Asiaplay |
Re: Two groups of categories? Is this possible?
I changed all my category ID's and it still didn't work.
I'll just pay x-cart for the mod. No big deal. Thanks for the suggestion though. |
Re: Two groups of categories? Is this possible?
There is a free mod from BCSengineering that lets you put page breaks in the category listings - if you use that and adapt the code to put your headings instead of a break it will work.
http://www.bcsengineering.com/store/catalog/Group_Categories_for_Better_Viewing__FREE_Xcart_Mo d-p-62.html |
All times are GMT -8. The time now is 03:27 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.