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)
-   -   add cat description to subcat list (https://forum.x-cart.com/showthread.php?t=43781)

ARW VISIONS 11-19-2008 05:40 PM

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?

ARW VISIONS 11-19-2008 06:27 PM

Re: add cat description to subcat list
 
on a side note...

{$subcat.category.description}

adds the first letter of the subcat

Bobarra_Webmaster 12-09-2008 02:53 PM

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.

bmjnine 12-18-2008 01:20 PM

Re: add cat description to subcat list
 
Has anyone figured this out? I can't get $subcat.description to come up either...

ARW VISIONS 12-18-2008 01:44 PM

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

webeditors 10-05-2009 12:26 PM

Re: add cat description to subcat list
 
Any idea how to do this in 4.2?

Walteru 03-25-2010 07:09 AM

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?


ARW VISIONS 03-25-2010 05:04 PM

Re: add cat description to subcat list
 
Not sure since you will probably need to change the PHP also.

Ash


All times are GMT -8. The time now is 09:01 PM.

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