The code is not working for me, i have xcart pro- 4.0.13.
the correct templete for modifications is...products_t.tpl or products.tpl
thanks
Quote:
Originally Posted by eleven
It took a while but I think i figured it out. This code works for me (X-Cart 4.0.13)
in include/search.php add this code after
$products[$k]['fulldescr'] = str_replace("\n","
",$products[$k]['fulldescr']);
Code:
#
# Add Manufacturer information
#
if (!empty($active_modules["Manufacturers"])) {
$idholder = $products[$k]['manufacturerid'];
$products[$k]['manufacturer'] = func_query_first_cell("SELECT manufacturer FROM $sql_tbl[manufacturers] WHERE manufacturerid = '$idholder'");
}
In products_t.tpl:
|