Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jan 2022
    Location
    UK
    Posts
    64
    Plugin Contributions
    0

    Default Manufacturers search

    Can anyone come up with a search facility for manufacturers please?

    It's really quite annoying that this essential feature does not exist.

    Thanks in advance

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,144
    Plugin Contributions
    11

    Default Re: Manufacturers search

    Addvanced search allows you to limit your search by manufacturer.

    https://docs.zen-cart.com/user/searc...ed-search-page

  3. #3
    Join Date
    Jan 2022
    Location
    UK
    Posts
    64
    Plugin Contributions
    0

    Default Re: Manufacturers search

    Quote Originally Posted by dbltoe View Post
    Addvanced search allows you to limit your search by manufacturer.

    https://docs.zen-cart.com/user/searc...ed-search-page
    Thanks. I should have said in the Admin console. There is no way to search for a manufacturer.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,144
    Plugin Contributions
    11

    Default Re: Manufacturers search

    You will need to reset between searches but, go to ADMIN >> Catalog >> Categories/Products and enter a manufacturer in the Search: box.

    The only downside is that it will bring up the term even if it is in a cat/product's description.

    Still, you should be able to get through the fog that way.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Manufacturers search

    Quote Originally Posted by dbltoe View Post
    You will need to reset between searches but, go to ADMIN >> Catalog >> Categories/Products and enter a manufacturer in the Search: box.

    The only downside is that it will bring up the term even if it is in a cat/product's description.

    Still, you should be able to get through the fog that way.
    Unfortunately, with zc157c anyway, the search function looks only at the products' name, description, model and id values. Custom code is required to look in the manufacturers as well.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Manufacturers search

    I could have *sworn* that in 1.5.8 you could go to the manufacturers page and open a listing page showing all products. Guess not.
    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.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Manufacturers search

    Quote Originally Posted by swguy View Post
    I could have *sworn* that in 1.5.8 you could go to the manufacturers page and open a listing page showing all products. Guess not.
    That's not what the OP requested. S/he is looking for that search functionality from the admin's Catalog :: Categories/Products listing.

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Manufacturers search

    Understood, but this would provide the same functionality - better because there would be no false positive matches.
    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.

  9. #9
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,685
    Plugin Contributions
    9

    Default Re: Manufacturers search

    Quote Originally Posted by lat9 View Post
    That's not what the OP requested. S/he is looking for that search functionality from the admin's Catalog :: Categories/Products listing.
    in v158, 2 new lines of code and it's done.

    PHP Code:
            if ($search_result && $action != 'edit_category') {
                    
    $keyword_search_fields = [
                        
    'pd.products_name',
                        
    'p.products_model',
                        
    'pd.products_description',
                        
    'p.products_id',
    // first new line:
                        
    'man.manufacturers_name',
                    ];
                    
    $where .= zen_build_keyword_where_clause($keyword_search_fieldstrim($keywords));
    // second new line:
                    
    $products_query_raw.= " LEFT JOIN " TABLE_MANUFACTURERS " man ON (man.manufacturers_id = p.manufacturers_id) "
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #10
    Join Date
    Jan 2022
    Location
    UK
    Posts
    64
    Plugin Contributions
    0

    Default Re: Manufacturers search

    Quote Originally Posted by dbltoe View Post
    You will need to reset between searches but, go to ADMIN >> Catalog >> Categories/Products and enter a manufacturer in the Search: box.

    The only downside is that it will bring up the term even if it is in a cat/product's description.

    Still, you should be able to get through the fog that way.

    That's fine when you want to search all products under a manufacturer but it does not return the manufacturers record so that you can edit it quickly

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v153 Any way to return 2 manufacturers in a manufacturers search
    By seanscully in forum General Questions
    Replies: 1
    Last Post: 14 Nov 2014, 11:34 PM
  2. adding manufacturers id to advanced search button
    By jeffiec in forum Code Collaboration
    Replies: 3
    Last Post: 16 Jul 2013, 08:38 AM
  3. 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