How can I disable "search in description" in the search sidebox?

Narrowing search fields to exclude products_description

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();

to

$content .= zen_hide_session_id();

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




Still have questions? No problem! Just 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).