| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
category menu syntax | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
I'm creating custom menus for landing pages and I need the categories menu to only parse a specific subcategory. What I don't know is how to alter the syntax to limit to a specific category id. Here's the code I've got so far.
Code:
__________________
X-Cart 4.1.9 | PHP 5.2.6 | MySQL 5.0.51a | Apache 1.3.51 |
|||||||
|
#2
|
|||||||
|
|||||||
|
Bumping and clarifying. In the code above I'm looking for how to format
{foreach from=$c.subcats item=sc name=cm2} {if $sc.subcats eq ""} so it will only pull from a specific category number and it's subcategories instead of all categories.
__________________
X-Cart 4.1.9 | PHP 5.2.6 | MySQL 5.0.51a | Apache 1.3.51 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||