| 
 | ||||||||||
|  | Shopping cart software Solutions for online shops and malls | |||||||||
|  |  |  | ||||||||
| X-Cart Home |  FAQ |  Forum rules |  Calendar |  Mark Forums Read |  User manuals |  Login | 
|  | 
| 2 Main Category Sections...how? | ||||
|  |  | |||
|  | Thread Tools | Search this Thread | 
| 
			 
			#1  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  2 Main Category Sections...how? Ok I did some searching and couldn't find anything on this.  FYI: I'm a total newb...so any help would be very appreciated! What I'm looking to do is have two main category sections/boxes. For Instance: <CATEGORY BOX #1> Systems (category name) Xbox (sub category) Nintendo Xbox 360 <CATEGORY BOX #2> Accessories Controllers Games Cables IAlso, by doing the above how do I control what goes in each categories fall under each main category? Please help!   X-cart 4.0.17 
				__________________ Stealth Cords - Discrete Power Cords for Automotive Enthusiasts www.stealthcords.com X-Cart version: 4.1.9 | |||||||||
| 
			 
			#2  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|   set the pos field on categories for section 1 below say 500 and section 2 above 500 then within the categories loop do something like Code: 
 then create a new tpl for categories2 with similar code but > 500 now include the new categories2 tpl file below the std one in home.tpl 
				__________________ Looking for a reliable X-cart host ? You wont go wrong with either of these.  EWD Hosting  Hands On Hosting | |||||||||
| 
			 
			#3  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|   THANK YOU SO MUCH! To be honest when I first read your post I was lost...but walked through the steps and BAM it worked! Thanks!  
				__________________ Stealth Cords - Discrete Power Cords for Automotive Enthusiasts www.stealthcords.com X-Cart version: 4.1.9 | |||||||||
| 
			 
			#4  
			
			
			
			
		 | |||||||
| 
 | |||||||
|   rkdiddy, you got a screenshot of how it came out? 
				__________________ Thanks to for your comments/help. X-cart Version 4.0.17 | |||||||
| 
			 
			#5  
			
			
			
			
		 | |||||||
| 
 | |||||||
|   I did this for one of my clients.  I created a new menu box with the categories links, then changed the code so the links wouldn't show in the main (default) category box.  I can't remember what I changed in the code, but I can find if for you if needed. You can see this as http://www.starvingpilotshop.com/shop/home.php 
				__________________ X-cart gold 4.5.2 (live) X-payments 1.0.5 http://www.professionalcarcare.com Your online source for all your car care needs | |||||||
| 
			 
			#6  
			
			
			
			
		 | |||||||
| 
 | |||||||
|   pcarcare, I like what you did. I'm good for now. I'll be sure to contact you if I can't figure it out. Note to all: I found a freebie code from BSCE (Carrie) that allows you to group categories and put a heading on each group. Heading 1 -abc -def Heading 2 -ghi -xyz 
				__________________ Thanks to for your comments/help. X-cart Version 4.0.17 | |||||||
| 
			 
			#7  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: 2 Main Category Sections...how? Quote: 
 This is just what I was looking for! Thanks! What is the code for a categories3 box, such as {if $categories[cat_num].order_by > 300 but <500} I've been searching, so far I haven't found what works. Thanks in advance for your help. | |||||||
| 
			 
			#8  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: 2 Main Category Sections...how? Quote: 
 {if $categories[cat_num].order_by > 300 and $categories[cat_num].order_by < 500} | |||||||
| 
			 
			#9  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: 2 Main Category Sections...how? Perfect, thank you so much!! | |||||||
| 
			 
			#10  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: 2 Main Category Sections...how? I am newbie, could you please explain which file you have edit... In order to get two categories boxes. 
				__________________ Current version: 4.1.5 Centos 4x | |||||||
|  |  | 
| Thread Tools | Search this Thread | 
| 
 | 
 | 
|  | |||
| 
X-Cart forums © 2001-2020
 | |||