PDA

View Full Version : no search found redirect page


00lewis
29-Nov-2006, 03:05 PM
Hi,

If a customer uses the quick search function and finds no matches the text "No matching products were found.
Please wait for your browser to forward you to the next page or click here. " appears, is there any way to have this page redirect to another page?

I would like to create a page somehow with something like,

We are sorry but no matched no results, if you would like to send us an enquirey please fill in the form below....

So i gues i will have to create another page somehow will a contact form on also, well if this can be done?

00lewis
29-Nov-2006, 03:41 PM
in fact i could just rediver the no matches found page to the mailform.pl page and just edit the top line "ase complete the details below and then press Send" and change it accordingly.

00lewis
30-Nov-2006, 10:00 AM
just re-read taht last one and sounds like i know how to re-direct the quick search-no matchs found. to the mailform.pl page.

I have found threads on how to change the bounce page once added to the cart and once mailform page has been sent, but not from quicksearch,

Can anybody help out on this one?

Nadeem
01-Dec-2006, 02:49 PM
Hi there

Find and open SearchScript.pl in a text editor like notepad

Find where it says:
"$::g_sContentUrl, $::g_pSetupBlob, $::Session->GetLastShopPage(),"

Change this to the address you want, eg

"$::g_sContentUrl, $::g_pSetupBlob, "http://www.yahoo.co.uk","

Best place to find the above would be to search for 'GetLastShopPage'

Kind Regards