Hi David,
Is it possible to make a conditions where as the visitors using a search box and than the result:
1. when the product only have one merchants (no compare price)
- only show on listing page
- title of result search listing would be directing to feed link. no need to link/show on details page.
2. when the product have more than one merchants (compare price)
- show on listing page and Title of result search listing would be show/pointer to details page
Regards,
Barra
Mindprice
Hi Barra,
Yes this is an easy modification;
In html/searchresults.php look for the following code at line 6:
<?php foreach($searchresults["products"] as $product): ?>
...and REPLACE with:
<?php foreach($searchresults["products"] as $product): ?>
<?php
if ($product["numMerchants"] == 1)
{
$product["productHREF"] = tapestry_buyURL($product);
}
?>
Cheers,
David.
--
PriceTapestry.com