You are here:  » Altered Search Page

Support Forum



Altered Search Page

Submitted by babyuniverse on Sat, 2010-07-03 12:30 in

Hi David,

Would it be possible to alter the search.php to link directly to jump.php, so instead of "more information" on the search page it would have an option to visit store directly. The search results would then be the only page my visitors see

My intention is to take 1 extra click out of process. similar to how it is done here http://www.shopzilla.com/womens-shoes/10110000/products
The only sticking point I could see was when there is more than one merchant, in this instance it would still go the the product.php page.

Do you know if anyone has done similar?

Thanks
Richard

Submitted by support on Sat, 2010-07-03 12:38

Hi Richard,

No problem - in search.php and look for the following code at line 270 (latest distribution) or line 164 (original distribution)

if ($config_useRewrite)

...and REPLACE with:

if ($product["numMerchants"]==1)
{
  $searchresults["products"][$k]["productHREF"] = tapestry_buyURL($product);
}
elseif ($config_useRewrite)

Cheers,
David.