Add Search Form To Miva Merchant Pages

One of the most requested bits of info when it comes to miva merchant “how-to’s” is how to add a search form to your global header, left column, or anywhere else within your site.

It’s actually very simple.

Paste the code below wherever you want it drawn into a template.

<form method=”post” action=”&mvt:global:sessionurl;” name=”MiniSearch”>
<input type=”hidden” name=”Store_Code” value=”&mvte:store:code;”>
<input type=”hidden” name=”Screen” value=”SRCH”>
<input type=”text” name=”Search” size=”20″ value=”Enter keywords” onFocus=”document.MiniSearch.Search.value=”;”>
<input type=”Submit” Value=”Go”>
</form>

You can edit the code as you feel led to achieve desired results. Maybe others can post comments related to decorating this up with <div>’s and css. If we get the time, we’ll make the addition.

About the Author

Ted Hust is the President of Aarc Media Group LLC which owns and operates AarcMediaGroup.com, BonitaJ.com and LaxFactor.com. Ted has been working in the web design world for 13 years and has specialized in Miva Merchant design and development for over 10 years.