Thanks for your mod Anton
It didn't work for me until I used Jason mod.
Quote:
Originally Posted by jdiehl
If you look at the file /*xcart_dir*/include/categories.php you will find on lines 74-78 (in version 4.0.12 at least) the code that looks like this:
Code:
if ($short_list) {
$to_search = "$sql_tbl[categories].categoryid,$sql_tbl[categories].parentid,
$sql_tbl[categories].categoryid_path,$sql_tbl[categories].category,
$sql_tbl[categories].product_count,$sql_tbl[categories].avail,$sql_tbl[categories].description,$sql_tbl[categories].order_by";
} else {
$to_search = "$sql_tbl[categories].*";
}
... for the first "$to_search =" statement above just add ,$sql_tbl[categories].description between the quotes at the end....
|
On my version, instead of
Code:
{section name=cat_num loop=$subcategories}
I had
Code:
{foreach from=$subcategories item=subcat}.
My subcategories listing is single column.
So I put
Code:
{$subcat.description|escape}
instead of
Code:
{ $categories[cat_num].description|escape }
and its working fine now.