Originally Posted by anandat
I tried to play with the code at localhost & I got the following error
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in D:\xampp\htdocs\blog\wp-content\plugins\xcart.php on line 57
I have replaced all your web site links with my site links & changed the database setting also.
I guess in following line of the code there is no file "imager.php" is my x-cart root directory.
$xcart_output= $xcart_output."<div><div>".$productdata[product]."</div><div><img id='product_thumbnail' src='http://www.willowtreecrafts.co.uk/shop/imager.php/product_thumb.jpg?width=500&image=http://www.willowtreecrafts.co.uk/shop/images/T/".$productdata[filename]."' width='100' style='margin:5px;' alt='".$productdata[product]."' /></div>";
Please help to resolve the issue
Did you get this working?
X-Cart version 5 (Previously 3.5-4)
Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.
Shout me a Coffee!