If you have Power Search version 5.116 or newer you can easily add its advanced search features to your mobile version of your store. The following instructions are for modifying the basic mobile optimization which uses the technique Miva designers developed using a mobile_content tab on applicable pages. Changes are made to three pages to modifying existing mobile optimized stores. If you don't have the MBL_HEAD and MBL_NAVBAR pages and the mobile_content of the SRCH page, you do not have the compatible mobile optimization in your store. Step 1 *************************************************************************************************************** Page MBL_HEAD Change to Step 2 *************************************************************************************************************** Page MBL_NAVBAR Change the search input line and move the Screen assignment from the form tag into a select variable. This gives the customer the option to search using the Tool Kit Simple Search or the more advanced features of Power Search. Alternatively, if you want to go straight to Power Search you can simply make the Screen assignment a hidden input with SRCH as the value. This "div" displays the first line in the search area, i.e. search input, button and drop down.
Change to Add Power Search inputs to the search form You can have up to 7 select drop downs by turning on the values in their inputs. searchcatcount and priceranges value of 1 will turn them on. If you want them off, make it value="". There are 3 customfield inputs. In the value put the name of the field, e.g. brand. There are 2 attribute option inputs. See the main Power Search doc on how price, custom field and attribute-options files are created. Make the changes as applicable in the inputs above and also in the inputs in the search form inputs in the SRCH page template below. If you are using field boosting and/or keyword relevance (with FULLTEXT search, include the these two inputs in the list above with appropriate values. Make sure the psrelevance value agrees with the FULLTEXT fields you used when you rebuilt the mirror. Also, if you are going to use these, you can change the hidden input for "sort" above to value="". With a nul value, the Power Search uses the psboost and psrelevance by default. You will also need to include them in the search form inputs on the mobile_content tab of the SRCH page template below. If your store uses MySQL and you have the Power Search's soundex fuzzy search setup you can put this on the page in the conditional where no products are found. In my store, I put it right after "No products matched your search criteria". .
Did you mean? your search criteria.
Step 3 *************************************************************************************************************** On the SRCH page template you should already have a mobile_content. Replace the contents on that tab with the below code. Change your phone number below or remove the line which is displaying the phone number. &mvt:global:mobile_page_name; : &mvt:store:name;


You can have up to 7 filters. We are testing 6 in this store.
+
1 product found &mvte:global:mobile_search_product_count; products found    _ _ [&mvt:pages:number;] &mvt:pages:number;

&mvte:global:Maintenance_Warning_Message;

Search results in All > &mvt:breadcrumb:name; &mvt:breadcrumb:name;

&mvt:global:mobile_page_name;

&mvt:global:mobile_page_name;

No products matched your search criteria
********************************************************************************************************************* THIS INFO IS FOR YOUR REFERENCE. YOU DO NOT NEED TO COPY AND PASTE IT. Variable list expanded: &mvt:global:sessionurl; Screen=SRCH &Store_Code=&mvta:global:store:code; &Search=&mvta:global:search; &filter_cat=&mvta:global:filter_cat; &Category_Code=&mvta:global:Category_Code; &sort=&mvta:global:sort; &ProductsPerPage=&mvta:global:ProductsPerPage; &layout=&mvta:global:layout; &PowerSearch_Begin_Only=&mvta:global:PowerSearch_Begin_Only; &mvta:global:psboost; &psrelevance=&mvta:global:psrelevance; &searchcatcount=&mvta:global:searchcatcount; &filter_cf1=&mvta:global:filter_cf1; &filter_cf2=&mvta:global:filter_cf2; &filter_cf3=&mvta:global:filter_cf3; &customfield1=&mvta:global:customfield1; &customfield2=&mvta:global:customfield2; &customfield3=&mvta:global:customfield3; &filter_ao1=&mvta:global:filter_ao1; &attropts1=&mvta:global:attropts1; &filter_ao2=&mvta:global:filter_ao2; &attropts2=&mvta:global:attropts2; &priceranges=&mvta:global:priceranges; &filter_price=&mvta:global:filter_price; &range_low=&mvta:global:range_low; &range_high=&mvta:global:range_high; &mvt:powersearch:field_url; Variable list as url: &mvt:global:sessionurl;Screen=SRCH&Store_Code=&mvta:global:store:code;&Search=&mvta:global:search;&filter_cat=&mvta:global:filter_cat;&Category_Code=&mvta:global:Category_Code;&sort=&mvta:global:sort;&ProductsPerPage=&mvta:global:ProductsPerPage;&layout=&mvta:global:layout;&PowerSearch_Begin_Only=&mvta:global:PowerSearch_Begin_Only;&mvta:global:psboost;&psrelevance=&mvta:global:psrelevance;&searchcatcount=&mvta:global:searchcatcount;&filter_cf1=&mvta:global:filter_cf1;&filter_cf2=&mvta:global:filter_cf2;&filter_cf3=&mvta:global:filter_cf3;&customfield1=&mvta:global:customfield1;&customfield2=&mvta:global:customfield2;&customfield3=&mvta:global:customfield3;&filter_ao1=&mvta:global:filter_ao1;&attropts1=&mvta:global:attropts1;&filter_ao2=&mvta:global:filter_ao2;&attropts2=&mvta:global:attropts2;&priceranges=&mvta:global:priceranges;&filter_price=&mvta:global:filter_price;&range_low=&mvta:global:range_low;&range_high=&mvta:global:range_high;&mvt:powersearch:field_url;