Hi David
Im using pricesexternal in posts , and all works fine , but if the item is removed from the feed by the retailer then nothing will be displayed.
is it possible if there is no match to display a price of a product, that it uses those keywords and displays in the searchExternal instead as something should then always be displayed when items are deleted from a feed
Hi Jonny,
Sure - as both use $_GET["q"], in pricesExternal.php, look for the following code around about line 56:
$numRows = database_querySelect($sql,$rows);
...and REPLACE that with:
$numRows = database_querySelect($sql,$rows);
if (!$numRows)
{
require($common_path."searchExternal.php");
}
Cheers,
David.