View Single Post
  #8  
Old 06-15-2005, 09:41 PM
 
tiju tiju is offline
 

Newbie
  
Join Date: Jun 2005
Location: PERU
Posts: 3
 

Default Re: This code should work

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:
Code:
__________________
xcart Pro - Version 4.0.13
Reply With Quote