Admin search

How you can search for products in the admin panel

The search in admin is shown as a field on the upper right hand side of the page Admin > Catalog > Categories/Products.

Admin Search

The contents of the search field is used to search the following fields:

Table Fields
categories_description categories_id, categories_name
products_description products_name, products_description
products products_id, products_model

You can see the database schema if you wish to learn more about how the database is structured.

To add a field to the admin search (such as products_mpn, for example), use the notifier NOTIFY_BUILD_KEYWORD_SEARCH or modify admin/category_product_listing.php and change the first argument to zen_build_keyword_where_clause. Note that products_mpn is added to the admin search in Zen Cart 2.1.0.




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified October 16, 2024 by Scott Wilson (da85271d).