Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2011
    Posts
    5
    Plugin Contributions
    0

    Default Advanced Search Problem

    Hi, I am using the newest version of zen cart and have just noticed a problem with advanced search. Maybe someone can point me in the right direction?

    I only get the problem when using quotation for an exact search:

    index.php?main_page=advanced_search_result&search_in_stock_items=1&search_in_des cription=1&keyword="tag+heuer"

    That works ok, but when I click to the next page of results the URL looks like this:

    /advanced_search/search_in_stock_items/1?search_in_description=1&keyword=%26amp%3Bquot%3Btag+heuer%26amp%3Bquot%3B&inc_ subcat=0&sort=20a&page=2

    And I get an error page say there are no results for the search phrase.

    Any help will be appreciated. Thanks

    EDIT: The actual new page url is: index.php?main_page=advanced_search_result&search_in_stock_items=1&search_in_des cription=1&keyword=%26quot%3Btag%20heuer%26quot%3B&inc_subcat=0&sort=20a&page=2
    It changes in the search bar once the page loads - the problem here is the %26quot%3B instead of " and %20 instead of + etc...
    Last edited by Svender; 18 Aug 2011 at 10:58 PM.

  2. #2
    Join Date
    Jun 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Advanced Search Problem

    When I roll over the next button, I see this in the browser tool bar:

    index.php?main_page=advanced_search_result&search_in_description=1&search_in_sto ck_items=1&keyword="search phrase"&inc_subcat=0&sort=20a&page=1

    Which actually works if typed in, but when I click the link it turns it into this which doesn't work:

    index.php?main_page=advanced_search_result&search_in_description=1&search_in_sto ck_items=1&keyword=%26quot%3Bsearch%20phrase%26quot%3B&inc_subcat=0&sort=20a&pag e=1

    Same thing happens in other browsers.

    " is turning into " which is turning into %26quot%3B

    I have tried removing recently installed add-ons, but the problem still persists. Please does anyone have any idea why this might be happening?

  3. #3
    Join Date
    Jun 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Advanced Search Problem

    Sorry, I don't seem to be able to edit my posts anymore.

    Just wanted to post that I found a way around this. I'm sure it's not ideal, but I can't find anything else.

    In advanced_search_result/header_php.php I have changed:

    $_GET['keyword'] = zen_output_string_search($_GET['keyword']);

    to:

    $_GET['keyword'] = $_GET['keyword'];

    And it is now possible to view more than one page of search results that use quotation marks.

 

 

Similar Threads

  1. Advanced search problem :(
    By Valentina666 in forum General Questions
    Replies: 0
    Last Post: 19 Aug 2010, 04:11 PM
  2. Replies: 5
    Last Post: 20 Apr 2010, 12:54 PM
  3. Advanced Search problem
    By JohnBoyCR in forum General Questions
    Replies: 4
    Last Post: 1 Mar 2010, 02:03 AM
  4. CSS Problem in Search - Advanced Search?
    By Garby in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Sep 2009, 02:06 PM
  5. Advanced Search problem
    By trackerr in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 6 Sep 2006, 03:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR