X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Split categories into separate sections (https://forum.x-cart.com/showthread.php?t=60590)

kooki 08-19-2011 02:19 AM

Split categories into separate sections
 
I'm trying to make my own separate sections to show dynamic category lists in - for example currently it is a single list like this:

Categories
Title 1
Title 2
Title 3
Title 4

And I'd like to do something like this:

Category 1
Title 1
Title 2

Category 2
Title 3
Title 4

I don't want them to show as categories with sub categories - the titles in bold above are the headings for the menu, with the categories and subcategories beneath them. I did something similar to this using an older version of X-cart in which I edited the fancycat templates, but it's all very different now and I'm not sure how to go about it.

BCSE 08-19-2011 01:06 PM

Re: Split categories into separate sections
 
Quote:

Originally Posted by kooki
I'm trying to make my own separate sections to show dynamic category lists in - for example currently it is a single list like this:

Categories
Title 1
Title 2
Title 3
Title 4

And I'd like to do something like this:

Category 1
Title 1
Title 2

Category 2
Title 3
Title 4

I don't want them to show as categories with sub categories - the titles in bold above are the headings for the menu, with the categories and subcategories beneath them. I did something similar to this using an older version of X-cart in which I edited the fancycat templates, but it's all very different now and I'm not sure how to go about it.


Try our free mod. It should do what you're wanting.

http://www.bcsengineering.com/store/category-heading-free-x-cart-modification.html

Thanks,

Carrie

kooki 08-23-2011 02:56 AM

Re: Split categories into separate sections
 
Thanks for the tip, I have tried the mod but it doesn't seem to do what I'm after.

With that mod, the headings show up like this ('new heading'):
http://img708.imageshack.us/img708/1197/unled4mv.png

But I need them to be split like this:
http://img263.imageshack.us/img263/8139/unled3xq.png

BCSE 08-23-2011 06:37 AM

Re: Split categories into separate sections
 
You can do that with some customizing to X-cart's category template. You'd need to change where the loop is that goes across the categories and have it span the whole template instead so that you get a new menu box for each header. But all the basics and changes to the database and php would be there to do this. You'd need to know a bit about smarty to do it.

I hope that's helpful.

Thanks,
Carrie

ADDISON 08-24-2011 03:45 AM

Re: Split categories into separate sections
 
Check this out: http://forum.x-cart.com/showthread.php?t=52284

kooki 08-24-2011 04:51 AM

Re: Split categories into separate sections
 
Yeah, that's me lol that's what I used for an older version - it doesn't work with the latest version of X-Cart


All times are GMT -8. The time now is 11:08 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.