Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default [Done v1.3.8] include subcategories checkbox on advanced search screen not preserved

    If you modify any of the other fields on this screen, search, then do a back, the field values you used are preserved. This checkbox is not; it is always reset to true.

    Heres' the fix: go to includes/modules/pages/advanced_search_result/header_php.php line 250 (in 1.3.7) and paste in

    Code:
       if (!isset($_GET['inc_subcat'])) {
         $_GET['inc_subcat'] = '0';
       }
    swguy
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: include subcategories checkbox on advanced search screen not preserved

    Might want to add below that ...
    PHP Code:
    if (!isset($_GET['search_in_description'])) {
      
    $_GET['search_in_description'] = '0';

    Thanks for the heads up!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Advanced Search Include Subcategories Checked Default
    By Donn in forum General Questions
    Replies: 1
    Last Post: 29 Jan 2011, 01:09 AM
  2. Advanced Search - include subcategories
    By mOdit2me in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Dec 2008, 10:22 PM
  3. Can Advanced Search include separate Subcategory dropdown?
    By creative in forum Customization from the Admin
    Replies: 0
    Last Post: 24 Jul 2007, 08:59 PM
  4. Changing Advanced Search to include ARTIST
    By ginginca in forum Basic Configuration
    Replies: 0
    Last Post: 26 Feb 2007, 02:51 PM

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