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

Adding a second 'categories' section

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-01-2008, 05:05 AM
 
RickDavisFL RickDavisFL is offline
 

Member
  
Join Date: Oct 2007
Location: Ft. Lauderdale, FL
Posts: 22
 

Default Adding a second 'categories' section

Is it possible to add a second "categories" box below the first?

I have the categories and subcategories setup however I would also like to make a seperate listing below that for "product lines". This way both the categories listing and a second listing would be stationary as the customers looked through the products.
__________________
X-Cart v4.1.9
PHP 5.2.6
MySQL 5.0.67
Apache 2.2.9

Hosted by Handsonwebhosting.com
Reply With Quote
  #2  
Old 03-01-2008, 11:42 AM
  rkdiddy's Avatar 
rkdiddy rkdiddy is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 60
 

Default Re: Adding a second 'categories' section

I would like to know the same. When I upgraded my cart, it seems the code was lost and now the code from 4.0 doesn't work with 4.1.

Please help.
__________________
Stealth Cords - Discrete Power Cords for Automotive Enthusiasts
www.stealthcords.com
X-Cart version: 4.1.9
Reply With Quote
  #3  
Old 03-01-2008, 09:56 PM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Adding a second 'categories' section

Yes i would like to know basically the same as the above posters do. Per the left navigation, instead of just one long list of links under a category, how would you add a caption to each one.

For instance

Mens Items
xxxx
xxxx
xxxx
Womens items
xxxx
xxxx
xxxx

etc,... how can this be done?
__________________
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
Reply With Quote
  #4  
Old 03-18-2008, 03:48 PM
 
EyeDreamers EyeDreamers is offline
 

Newbie
  
Join Date: Sep 2007
Posts: 1
 

Default Re: Adding a second 'categories' section

Try this mod:
X-Cart 3 Level Advanced Dynamic Category Menu v4.x

It gives the appearance for what you are wanting and with positioning you can get it exactly the way you want.
http://www.xcartmods.co.uk/category/x-cart-navigation/
__________________

Steve Krause
www.eyedreamers.com
Version 4.1.11
Alter cart:
On Sale
One Page Check Out
Download Expander
Product Page Download
Buy Together
Provider Sales Report
BCS:
Inventory Pricing
Newest Products
Product Sort
Firetank:
Marketing Manager Professional Bundle
Reply With Quote
  #5  
Old 03-18-2008, 04:02 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: Adding a second 'categories' section

I believe that this could be done with an if statement so that products say numbered from 1 - 500 appear in the first box and products from 501 - 1000 appear in the second box.

You would have to copy the original categories tpl file to a second file name with the if statement in place in both files.

You would also have to modify the customers home page to include the new box.

I am not exactly sure how to write the if statement, by I will work on it.

Hopefully someone will help out here.
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #6  
Old 03-18-2008, 04:04 PM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Adding a second 'categories' section

Quote:
Originally Posted by Duramax 6.6L
I believe that this could be done with an if statement so that products say numbered from 1 - 500 appear in the first box and products from 501 - 1000 appear in the second box.

You would have to copy the original categories tpl file to a second file name with the if statement in place in both files.

You would also have to modify the customers home page to include the new box.

I am not exactly sure how to write the if statement, by I will work on it.

Thank you Duramax for looking into this.
__________________
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
Reply With Quote
  #7  
Old 03-18-2008, 04:24 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Adding a second 'categories' section

That would be something like this:

{foreach from=$categories item=c}
{if $c.order_by gt 200 and $c.order_by lt 300}
<div class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems">{$c.category}</a></div>
{/if}
{/foreach}

That will show categories with a POS between 200 and 300.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 03-18-2008, 04:52 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: Adding a second 'categories' section

Thank you balinor, You are always a help here.

There was a post on here on how to add a second box. Do you by chance know where it is, I am searching and can not find.
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #9  
Old 03-18-2008, 04:53 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Adding a second 'categories' section

Only when I'm not bugging people to update their signature or post in the right place
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #10  
Old 06-10-2008, 11:21 AM
  rkdiddy's Avatar 
rkdiddy rkdiddy is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 60
 

Default Re: Adding a second 'categories' section

Thanks Ryan.
__________________
Stealth Cords - Discrete Power Cords for Automotive Enthusiasts
www.stealthcords.com
X-Cart version: 4.1.9
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 01:25 PM.

   

 
X-Cart forums © 2001-2020