
Originally Posted by
minddigger
Hello mbheald, As I klick on your link I got a message :
1146 Table 'hotnbott_zc2.products' doesn't exist
in:
[select * from products where products_id ='1136']
When you have a PREFIX entered on your install of Zencart (before the tablename), you have to add the prefix as well in the query. This is not done by the original developper of the embed.php.
You also can change the code of embed.php line
$product = $db->Execute("select * from products where products_id ='" . (int)$pID . "'");
to
$product = $db->Execute("select * from ".TABLE_PRODUCTS." where products_id ='" . (int)$pID . "'");
wich also will solve this issue....