You are here:  » Prices with £0.00

Support Forum



Prices with £0.00

Submitted by webie on Tue, 2007-07-03 13:49 in

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

Submitted by support on Tue, 2007-07-03 13:58

Hi Darren,

I've sent you an email with instructions for doing this.

Cheers,
David.

Submitted by scorpionwsm on Tue, 2007-07-03 14:06

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.

Submitted by dbfcs on Tue, 2007-07-03 18:56

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.

Submitted by webie on Tue, 2007-07-03 23:04

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

Submitted by scorpionwsm on Fri, 2007-07-06 11:58

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

Submitted by support on Fri, 2007-07-06 13:16

Hi Mark,

Here's the mods:

In html/searchresults.php

Change this line:

<em><?php print translate("from"); ?></em>&nbsp;<strong><?php print $config_currencyHTML.$product["minPrice"]; ?></strong><br />

To:
<?php
if (!intval($product["minPrice"]))
{
  print "<strong>Check Price On Site</strong>";
}
else
{
  print "<em>".translate("from")."</em>&nbsp;<strong>".$config_currencyHTML.$product["minPrice"]."</strong><br />";
}
?>

...and change this line:

<strong><?php print $config_currencyHTML.$product["price"]; ?></strong><br />

To:
<?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"]; ?>&nbsp;<?php print translate("from"); ?>&nbsp;

To:
<?php
if (!intval($mainProduct["price"]))
{
  print "Check Price On Site";
}
else
{
  print $config_currencyHTML.$mainProduct["price"]."&nbsp;".translate("from")."&nbsp;";
}
?>

In html/prices.php

Change this line:

<td><strong><?php print $config_currencyHTML.$product["price"]; ?></strong></td>

To:
<?php
if (!intval($product["price"]))
{
  print "<strong>Check Price On Site</strong>";
}
else
{
  print "<td><strong>".$config_currencyHTML.$product["price"]."</strong></td>";
}
?>