Miscellaneous Search Questions

Searching in Zen Cart
Some questions are important but brief. To make managing this FAQ easier, these questions are grouped in a single page, rather than separating each one into an individual article.

I want the search box in my site header. How do I do that?

See How do I display the search box in the header only?

How can I disable “search in description” in the search sidebox?

For the regular sidebox search, make the following change:

Edit includes/templates/YOURTEMPLATE/sideboxes/tpl_search.php and change

$content .= zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();


$content .= zen_hide_session_id();

For the header sidebox search, make the same change, but in includes/templates/YOURTEMPLATE/sideboxes/tpl_search_header.php.

Do you have a suggestion for a FAQ? Please post it to General Questions on the support forum.

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 September 7, 2020 by Scott C Wilson (0680304).