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

There are two sideboxes for search.  You can control both through the Admin > Tools > Layout Box Controller.

The search.php sidebox is a conventional sidebox and can be turned on and off as normal. If you want search in the header, you will normally turn this sidebox off,
though it does have the advantage of providing a link to the advanced search page.


The search_header.php sidebox is specifically designed to display a search box in your Zen Cart header and so doesn't output all the HTML needed for a sidebox.
It is recommended therefore that you ensure that its left/right column status is set to OFF. To display it in the header, set the single column status to ON
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go...

Getting a BLANK PAGE? Here's the answer ...

If you're getting a blank page when trying to browse to a certain page on your store, or after...

What's New in the Upcoming v2.0 release?

Database Abstraction Layer and Sql CacheThe abstraction layer has been re-factored to include a...

Image Preparation - How-to

I've seen several posts where people obviously aren't quite sure about the best way to set up...

Some tips to modify stylesheet

1. Download Web Developer extension for FireFox here2. Install & restart FireFox. You should...