Announcement

Collapse
No announcement yet.

Search - Nothing found Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Search - Nothing found Page

    How is it possible to get the search results page to continue to the advanced search page rather than go back to the inital search page, from within the catalogue?
    Thanks for any help on this one.
    Dan

    #2
    Ooh - good question.

    The search script will, by default, just take the customer back to the page that they were on before they tried the (unsuccessful) search.

    I'm going to have to ask the developers whether you can hard-code (i.e. 'search.html') where customers are taken to.

    Comment


      #3
      Right

      This one requires a Perl script edit. If it goes wrong, original versions of all the Perl files can be found in the 'Original' folder.

      You need to go to your 'Site1' folder and open 'SearchScript.pl' in notepad. Locate the line...
      Code:
       $::g_sContentUrl, $::g_pSetupBlob,$::Session->GetLastShopPage(), \%::g_InputHash,
      and replace $::Session->GetLastShopPage() with ($::g_sWebSiteUrl . "search.html") so it reads
      Code:
       $::g_sContentUrl, $::g_pSetupBlob,($::g_sWebSiteUrl . "search.html"), \%::g_InputHash,

      Comment


        #4
        Thanks for that, it almost works, hoever the url thats in network setup is
        http://www.fineperfumes.co.uk/shop/acatalog/

        the url the serch moves on to is http://www.fineperfumes.co.uk/acatalog/search.html, thus a 404 error. Obviously it's difficult so split the code you gave to to put \shop\ in the middle.

        So a little bit of guess work came into play and so just set the new value as

        $::g_sContentUrl, $::g_pSetupBlob,("http://www.fineperfumes.co.uk/shop/acatalog/search.html"),
        \%::g_InputHash,

        thanks
        Dan

        Comment

        Working...
        X