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

add cat description to subcat list

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-19-2008, 05:40 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default add cat description to subcat list

OK, when you click on the cats on the left a list of sub cats comes up. I would like to add the cat descition to the list of sub cats.

so

main Cat

Sub Cat1
Cat description lskdjhfsdhfsd;kjf;sdlkjkfd

Sub Cat2
Cat description lskdjhfsdhfsd;kjf;sdlkjkfd

Sub Cat2
Cat description lskdjhfsdhfsd;kjf;sdlkjkfd


Been working on it for a bit and can't get it to come up.

Any suggestions?
__________________
xcart 5.1.2
Reply With Quote
  #2  
Old 11-19-2008, 06:27 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: add cat description to subcat list

on a side note...

{$subcat.category.description}

adds the first letter of the subcat
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 12-09-2008, 02:53 PM
 
Bobarra_Webmaster Bobarra_Webmaster is offline
 

Newbie
  
Join Date: Nov 2008
Posts: 9
 

Default Re: add cat description to subcat list

Did you ever figured out this issue?

I'm also trying to pull the subcategory descriptions and nothing shows. I've tried $subcat.description, $subcat.desc, $subcat.descr and a bunch of other things.
__________________
Version 4.1.10
Reply With Quote
  #4  
Old 12-18-2008, 01:20 PM
 
bmjnine bmjnine is offline
 

Member
  
Join Date: Nov 2008
Posts: 11
 

Default Re: add cat description to subcat list

Has anyone figured this out? I can't get $subcat.description to come up either...
Reply With Quote
  #5  
Old 12-18-2008, 01:44 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: add cat description to subcat list

http://forum.x-cart.com/showthread.php?t=3848&highlight=category

check out post 137. I got that to work.

Ash
__________________
xcart 5.1.2
Reply With Quote
  #6  
Old 10-05-2009, 12:26 PM
 
webeditors webeditors is offline
 

Member
  
Join Date: Jul 2009
Posts: 20
 

Default Re: add cat description to subcat list

Any idea how to do this in 4.2?
__________________
www.webeditors.com
4.2.1 or 4.2.2
Reply With Quote
  #7  
Old 03-25-2010, 07:09 AM
 
Walteru Walteru is offline
 

Member
  
Join Date: Sep 2009
Posts: 21
 

Question Re: add cat description to subcat list

Any suggestions how this can work in 4.3? how is the smarty tag ?

Thanks!



Quote:
Originally Posted by Ashley
OK, when you click on the cats on the left a list of sub cats comes up. I would like to add the cat descition to the list of sub cats.

so

main Cat

Sub Cat1
Cat description lskdjhfsdhfsd;kjf;sdlkjkfd

Sub Cat2
Cat description lskdjhfsdhfsd;kjf;sdlkjkfd

Sub Cat2
Cat description lskdjhfsdhfsd;kjf;sdlkjkfd


Been working on it for a bit and can't get it to come up.

Any suggestions?
__________________
X-Cart Gold v4.3.2
Reply With Quote
  #8  
Old 03-25-2010, 05:04 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: add cat description to subcat list

Not sure since you will probably need to change the PHP also.

Ash
__________________
xcart 5.1.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 03:45 PM.

   

 
X-Cart forums © 2001-2020