Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009
    Location
    Texas
    Posts
    209
    Plugin Contributions
    2

    Default Some Manufacturers in Advanced Search not showing

    Some of the manufacturers are not showing in Advanced Search.

    The pull down list doesn't seem to be populated with all my manufacturers. The sidebox seems to work just fine.

    I've tried switching over to classic and it still doesn't work.. so it doesn't seem to be a template problem. This cart is fairly well hacked so it's possible I might have munged something up.. but I was just wondering if anyone had an idea.

    Page is at: http://buydentalequipment.com/advanced_search

    Thanks for you time and consideration,
    Anthony

  2. #2
    Join Date
    Jul 2009
    Location
    Texas
    Posts
    209
    Plugin Contributions
    2

    Default Re: Some Manufacturers in Advanced Search not showing

    Ok.. I peeked in the code and sussed this out.

    Turns out my problem was inventory. The SQL statement in zen_get_manufacturers specifically looks for quantity > 0

    We don't use inventory on our cart. So our items were being ignored.

    This simple SQL statement fixed the problem:
    UPDATE `cart1_products` SET `products_quantity` = 1 WHERE `products_quantity` = 0;

    Still left to question is why the sidebox didn't show the same problem. I would suspect it does something a little different. Maybe not using zen_get_manufacturers or perhaps ignoring the inventory check by default.

    Hopefully this all helps someone else.

  3. #3
    Join Date
    Apr 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Some Manufacturers in Advanced Search not showing

    I just noticed the same error on my site this fixed it though cheers

    you'd think if stock control is off then they'd all be set to 1 really ?

 

 

Similar Threads

  1. adding manufacturers id to advanced search button
    By jeffiec in forum Code Collaboration
    Replies: 3
    Last Post: 16 Jul 2013, 08:38 AM
  2. Advanced Search Box not showing
    By kahli08 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Jul 2011, 03:32 PM
  3. Problem showing all manufacturers in advanced search
    By chriscops in forum General Questions
    Replies: 3
    Last Post: 11 Nov 2010, 05:30 PM
  4. Advanced search - search manufacturers without keywords
    By etrader in forum General Questions
    Replies: 4
    Last Post: 19 Sep 2006, 06:16 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