Page 1 of 7 123 ... LastLast
Results 1 to 10 of 62
  1. #1
    Join Date
    Jun 2011
    Posts
    194
    Plugin Contributions
    0

    bug Advanced Search Question (limit to category box)

    Hello,

    I have a slight error in my store somewhere that i can't figure out - when you go to advanced search the Limit to Category box has one of the categories in it - i would like it to default to All Categories.

    Where do i change that?

    link to the site is wwwDOTlimelightproductsDOTnet/index.php?main_page=advanced_search

  2. #2
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Advanced Search Question (limit to category box)

    It is an inherited behavior of the template you are using and not the normal behavior of zen cart.

    Delete the tpl_advanced_search_default.php from your template/templates and let the one out of template_default take over and the issue should take care of itself.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

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

    Default Re: Advanced Search Question (limit to category box)

    OK that doesn't make any difference - i'm pretty sure it must be something to do with HideCategories that i installed it started happening after that!!

    But i have no idea where to start looking!!

    Any help appreciated!

  4. #4
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Advanced Search Question (limit to category box)

    I just downloaded that add on and in your instructions it says

    Folders can either be hidden from the main menu (sidebox and main page) or you can go a step further and hide them from All Products, New Products, Featured Products, Advanced Search, and Best Sellers as well.

    Can you log into admin and unhide it from advanced search?

    The default is down to the last category instead of the top which is all.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

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

    Default Re: Advanced Search Question (limit to category box)

    Quote Originally Posted by usernamenone View Post
    I just downloaded that add on and in your instructions it says

    Folders can either be hidden from the main menu (sidebox and main page) or you can go a step further and hide them from All Products, New Products, Featured Products, Advanced Search, and Best Sellers as well.

    Can you log into admin and unhide it from advanced search?

    The default is down to the last category instead of the top which is all.
    Doesn't make any difference

    Does anyone know what i need to search for to edit the default value for that drop down box?? It must be an easy fix because this is ZenCart but where abouts do i find it??

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

    Default Re: Advanced Search Question (limit to category box)

    What happens if you turn off the SEO/rewrites?

    What happens if you switch to the Classic Template?
    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!

  7. #7
    Join Date
    Jun 2011
    Posts
    194
    Plugin Contributions
    0

    Default Re: Advanced Search Question (limit to category box)

    Quote Originally Posted by Ajeh View Post
    What happens if you turn off the SEO/rewrites?

    What happens if you switch to the Classic Template?
    SEO - makes no difference

    Classic template fixes the problem! so it is something to do with my template but not the tpl_advanced_search_default.php as i replaced the one in my template with the default and it made no difference!

    I have another problem i have just found! the login page has quit working - when i enter my login info as a customer it just refreshes the page but doesn't log me in. If i add something to the cart and then checkout - the small login page shows up and logs u in fine!!!

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

    Default Re: Advanced Search Question (limit to category box)

    I would turn off the SEO/rewrites and work on fixing these issues ...

    I really cannot test anything as your site is down for maintenance ...
    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!

  9. #9
    Join Date
    Jun 2011
    Posts
    194
    Plugin Contributions
    0

    Default Re: Advanced Search Question (limit to category box)

    Quote Originally Posted by Ajeh View Post
    I would turn off the SEO/rewrites and work on fixing these issues ...

    I really cannot test anything as your site is down for maintenance ...
    Ok I turned SEO off

    Turned down from maintenance off......

    Both errors are confusing me completely!!!

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

    Default Re: Advanced Search Question (limit to category box)

    Can you look at the file:
    /includes/modules/pages/advanced_search/header_php.php

    What do you see on the file for:
    Code:
      $sData['categories_id'] = (isset($_GET['categories_id'])    ? zen_output_string((int)$_GET['categories_id']) : 0);
    is that set to 0?

    Can you edit the file:
    /includes/templates/template_dir/common/tpl_main_page.php

    and under the <body add the line:
    Code:
    <?php echo 'I SEE: ' . $_GET['categories_id']; ?>
    I just want to see what it thinks that value is when on the Advanced search

    NOTE: if you have that file in your templates and overrides, then edit that one ...
    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!

 

 
Page 1 of 7 123 ... LastLast

Similar Threads

  1. Width of "Limit to Manufacturer" under advanced search
    By elena1707 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 May 2011, 11:20 PM
  2. Advanced search Limit the manufacturers list
    By ladyink in forum General Questions
    Replies: 1
    Last Post: 9 Oct 2009, 04:10 PM
  3. Replies: 0
    Last Post: 27 May 2009, 06:59 PM
  4. Questions about "Limit to Manufacturer" in Advanced Search.
    By marshall in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Jun 2007, 05:05 AM
  5. "Limit to Category" in Advanced Search defaults to subcateogry
    By lukemcr in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Mar 2007, 04:26 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