Re: root cat
Try this:
{$current_category.categoryid_path|regex_replace:" /\/[0-9\/]*/":""}
this fetches the root category from the path. It finds the first "/" and replaces everything after it with nothing leaving the current root cat id.
Hope this helps.
__________________
_____________________________________________
www.webcreatives.nl | X-Cart Shops
X-Cart Versions 4.1.x | 4.2.x | 4.3.x | 4.4.x
Parallelweg 124-14, 1948 NN BEVERWIJK
The Netherlands
|