Hi David,
Is there a way of telling the script if there is price of £0.00 returned to wright see shop for prices and write merchant link instead of displaying £0.00
Many Thanks
Darren
Hi Darren,
It is always best to have a disclaimer such as I use
This is a fun free website and no legal action can be taken against either our website, or the merchants advertised. Prices are subject to either rise or fall so please always check the merchants website before purchasing for the latest price.
At least this way you are reasonably covered a little bit.
I would always recommend using a disclaimer on a price comparison website and wherever possible, I would try to include a date of the last update.
This story from Kieron (a respected affiliate marketer) may be of interest. It's what could happen if you don't have a disclaimer.
Hi
Many thanks to you all for that warning I did not even think about that one once again thank you I will get this done this week.
all the best
Darren
Hi David,
Would be interested in this as well, if it's not too long or complicated, could you post here, sometimes theres a lot of feeds that do not have prices, such as hotels.
Regards
Mark
Hi Mark,
Here's the mods:
In html/searchresults.php
Change this line:
<em><?php print translate("from"); ?></em> <strong><?php print $config_currencyHTML.$product["minPrice"]; ?></strong><br />
<?php
if (!intval($product["minPrice"]))
{
print "<strong>Check Price On Site</strong>";
}
else
{
print "<em>".translate("from")."</em> <strong>".$config_currencyHTML.$product["minPrice"]."</strong><br />";
}
?>
...and change this line:
<strong><?php print $config_currencyHTML.$product["price"]; ?></strong><br />
<?php
if (!intval($product["price"]))
{
print "<strong>Check Price On Site</strong><br />";
}
else
{
print "<strong>".$config_currencyHTML.$product["price"]."</strong><br />";
}
?>
In html/product.php
Change this line:
<?php print $config_currencyHTML.$mainProduct["price"]; ?> <?php print translate("from"); ?>
<?php
if (!intval($mainProduct["price"]))
{
print "Check Price On Site";
}
else
{
print $config_currencyHTML.$mainProduct["price"]." ".translate("from")." ";
}
?>
In html/prices.php
Change this line:
<td><strong><?php print $config_currencyHTML.$product["price"]; ?></strong></td>
<?php
if (!intval($product["price"]))
{
print "<strong>Check Price On Site</strong>";
}
else
{
print "<td><strong>".$config_currencyHTML.$product["price"]."</strong></td>";
}
?>
Hi Darren,
I've sent you an email with instructions for doing this.
Cheers,
David.