Thread: Newest Products
View Single Post
Old 07-07-2011, 06:28 AM
nickff nickff is offline

Senior Member
Join Date: Aug 2010
Posts: 132

Default Re: Newest Products

Also, you can add the manufacturer into the newproducts.php page by putting this into newproducts.php:

PHP Code:
if (is_array($newproducts)){
$newproducts as $k => $v) {
$newproducts[$k]["manufacturer"] = func_query_first_cell("SELECT manufacturer FROM $sql_tbl[manufacturers] WHERE manufacturerid IN (SELECT manufacturerid FROM $sql_tbl[products] WHERE productid ='$v[productid]')"); }} 

right above:
PHP Code:
# flag set that is used in home_main.tpl

nick hoag
looking forward to the future
xcart versions 4.2.x, 4.3.x, 4.4.x
Reply With Quote