| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Category description | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||||
|
|||||||||
|
I am working on a store that has several categories with sub cats. When the root cat is clicked it brings up the first sub cats. I would like to put the category description on this page also. Any suggestions?
I played around with this but can't figure it out.... {if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description}<p />{/if} This gets the first letter of the category to show up... <td class="SubcatTitle"><a href="home.php?cat={ $subcat.categoryid }" class="ItemsList"><font>{ $subcat.category|escape }</font></a><br />{$subcat.category.description}</td>
__________________
xcart 5.1.2 |
|||||||||
|
#2
|
|||||||
|
|||||||
|
Replace this:
{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description}<p />{/if} with this: {$current_category.description}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||||
|
|||||||||
|
No dice... tried that first
__________________
xcart 5.1.2 |
|||||||||
|
#4
|
|||||||
|
|||||||
|
You are just trying to add the category description to the top of the page on each page, correct? Not under the icons...
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#5
|
|||||||||
|
|||||||||
|
__________________
xcart 5.1.2 |
|||||||||
|
#6
|
|||||||||
|
|||||||||
|
__________________
xcart 5.1.2 |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||