Hi,
It is not possible to match the products in my XML sources because of all merchants make a slight difference in the product names. So I decided to show merchant names/logos and also visit store links in the search results by removing the more information link. Maybe more information link can be replaced with visit store link. And I want to add another column showing the merchant name and logo. If I can do that there will be no need to match the products by name. Is there any way to do it?
Thanks David,
I did it and it works. But how can I add merchant name in the results?
Hiya,
Within the loop in html/searchresults.php that displays the results, the merchant name is in the $product["merchant"] variable. For, example, look for the following code on line 20 of html/searchresults.php:
<p><?php print substr($product["description"],0,250); ?></p>
...you could add the following on the next line:
<p>From: <?php print $product["merchant"]; ?></p>
Hope this helps,
Cheers,
David.
Hi,
Have a look at the following thread for the Buy Now link on the search results:
http://www.pricetapestry.com/node/514
Have you already added code to show merchant logos but just need help to show the logos on the search results?
Cheers,
David.