
02-19-2009, 09:57 PM
|
|
 | |
|
|
 eXpert
|
|
Join Date: Apr 2008
Posts: 398
|
|
|
Re: Smarty help
Try this:
{include file="customer/fts_featured_products.tpl" group="`$current_category.category`"|replace:' ':'_'}
or else
assign the value to the variable and then use it in the include
like this:
{assign var="catname" value="`$current_category.category`"|replace:' ':'_'}
{include file="customer/fts_featured_products.tpl" group="`$catname`"}
__________________
MercuryMinds Technologies Development Team,
Professional X-Cart Design, X-Cart Development, X-Cart Customization Services
www.mercuryminds.com
X-Cart Mailchimp Ecommerce 360 Plugin/integration module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x)
Smasher, a smart search engine for x-cart store (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x)
One Page Checkout (OPC) - X-Cart module (Compatible with X-Cart 4.1.x, 4.2.x, 4.3.x)
|
|