Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Split categories into separate sections

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-19-2011, 02:19 AM
 
kooki kooki is offline
 

Member
  
Join Date: Jun 2008
Posts: 20
 

Default 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.
__________________
X-Cart 4.4.2
Reply With Quote
  #2  
Old 08-19-2011, 01:06 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,091
 

Default 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
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #3  
Old 08-23-2011, 02:56 AM
 
kooki kooki is offline
 

Member
  
Join Date: Jun 2008
Posts: 20
 

Default 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
__________________
X-Cart 4.4.2
Reply With Quote
  #4  
Old 08-23-2011, 06:37 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,091
 

Default 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
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #5  
Old 08-24-2011, 03:45 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: Split categories into separate sections

Check this out: http://forum.x-cart.com/showthread.php?t=52284
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote
  #6  
Old 08-24-2011, 04:51 AM
 
kooki kooki is offline
 

Member
  
Join Date: Jun 2008
Posts: 20
 

Default 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
__________________
X-Cart 4.4.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:25 AM.

   

 
X-Cart forums © 2001-2020