search.php needs to be amended to allow for this
search for where it says something like:
Code:
$sql_tbl[products].product like '%$substring%'
and change to:
Code:
$sql_tbl[products].product like '%$substring%' or $sql_tbl[products].productcode like '%$substring%'
This needs to be in customer/search.php as well as admin/search.php and provider/search.php for soem reason xcart did not unify this search mechanism on the 3.5 version and older store.
The productid shown on the product detail page is drawn from func.php
replace line 1773:
Code:
$product["producttitle"]="$product[product] #$product[productid]";
with:
Code:
$product["producttitle"]="$product[product] #$product[productcode]";
hth