You are here:  » "More information" link leading to price comparison


"More information" link leading to price comparison

Submitted by IG on Thu, 2006-03-30 11:52 in

As far as I undestand, the logic of the general search function is as following:
- If there is only one product the text link in the search results shows "More Information"
- If there are several products with the same title the text link in the search results shows "Price Comparison"

Now, when I search by merchant for a particular product and there are no other products of this merchant with the same title, then the link is correctly shown as "More Information". The problem/bug is that if I click on this link and other merchant have products with the same title, then I am ending up seeing a price comparison. This must be quite confusing for visitors and therefore it would be nice to show the right text link also when a search is done by merchant, brand or category.

I hope, I managed to explain self.

Cheers, IG

Submitted by support on Thu, 2006-03-30 12:00

Hi,

Yes - that does make sense. The problem is the result of performance tradeoff. When searching by merchant; the database uses the merchant index so that a full table scan (very slow!) is not necessary. Unfortunately, this means that you don't know how many (if any) other products there are in the database with the same name from different merchants. Therefore, I felt it best not to use a "Compare Prices" link; as it may only lead to 1 price, and is therefore not an accurate reflection of where the link takes you.

I agree, however, that nor is "More Information" in the case when additional merchants with the same product do show up; but I feel that is less of a confusion than "Compare Prices" would be if there is only 1 price in the database. If you wanted to change the text it would simply be a case of setting a translation in includes/translation.php as follows:

$translation["More Information"] = "Compare Prices";

...alternatively, you could hack search.php of course. Hope this makes sense.

David.