Hi david
I am creating a site where some of the affiliate feeds show £0.00 in the price, is there any way of inserting some sort of text to replace this ie ask for price, ideally linking to the product on the affiliate web site.
Also I wish t put adverts on the right hand side of the search results and product page, what would be the best way to do this?
Thanks
Brent
Hi David
Worked great thanks, one more query, recently you sent me a filter for the left hand side, is there any way to but things under this such ads or text.
Brent
Hi Brent,
Sounds like that was a modified version of html/searchresults.php - in that code look for the following beginning at around line 99:
print "</form>";
print "</td>";
...the </form> marks the end of the filter section, so to add your own advertising HTML, REPLACE with...
print "</form>";
?>
<!-- your left column advertising HTML here -->
<?php
print "</td>";
Cheers,
David.
--
PriceTapestry.com
Hi Brent,
To display "Check Website" instead of £0.00 (or whatever currency the site is in), do a couple of search and replace operations. Firstly, on
html/featured.php and html/searchresults.php
Search:
print $config_currencyHTML.$product["minPrice"];
Replace:
print ($product["minPrice"]<>"0.00"?$config_currencyHTML.$product["minPrice"]:"Check Website");
And in html/product.php
Search:
print $config_currencyHTML.$mainProduct["price"];
Replace:
print ($mainProduct["price"]<>"0.00"?$config_currencyHTML.$mainProduct["price"]:"Check Website");
...and finally in html/prices.php
Search:
print $config_currencyHTML.$product["price"];
Replace:
print ($product["price"]<>"0.00"?$config_currencyHTML.$product["price"]:"Check Website");
To place adverts on the right hand side of the search results, create the following 2 new files:
html/user_searchresults_before.php
<table>
<tr>
<td valign='top'>
html/user_searchresults_after.php
</td>
<td valign='top'>
<!-- your right hand column advertising code here -->
</td>
</tr>
</table>
Cheers,
David.
--
PriceTapestry.com