GETTING STARTED - POWER SEARCH FACETED NAVIGATION CODE The links used by power search contain references to the facets and either pass the previous value of the facet or a nul value depending on the situation. Do not try to make any of these into short links. Search engines don't insert keywords and run searches so you don't need to please them. Rather you need to pass all the variables in the link to the next page. This quick start guide will incorporate a category, price range, three custom field, and two attribute-options facets into your existing Power Search. ************************************************************************************************************************ These are the hidden inputs you insert into the main search form on the SRCH page. Replace the value where you see the upper case custom field or attribute-option with the actual field code. For example CUSTOM FIELD 1 might be changed to "color" if color is the code of the custom field you want to create faceted navigation on. If you are not going to use some of the facets, then remove the upper case text so the value="". This section initializes the variables which tell Power Search which facets to display and use in the searches. This is the only section where you need to change the code by putting in the field names. The other sections on this page are simple copy and paste. All the variables in those links are universal, i.e. will work in any store. ************************************************************************************************************************ This section contains the code for displaying the facets on the SRCH page. You can copy and paste just the ones you want or all (recommended) of them. If they are not activated in the main search form above, the facet will be skipped. The links maintain the current state of the facet or change it if clicked on. Change the title of each of the facets where you see the upper case titles, e.g. FIRST CUSTOM FIELD NAME.
Category
&mvt:searchcat:name; (&mvt:searchcat:count;) &mvt:searchcat:name; (&mvt:searchcat:count;)

Expand


Retail Price Range
&mvt:group9:label; (&mvt:group9:count;) &mvt:group9:label; (&mvt:group9:count;)

Expand

FIRST CUSTOM FIELD NAME
&mvt:group1:name; (&mvt:group1:count;) &mvt:group1:name; (&mvt:group1:count;)

Expand

SECOND CUSTOM FIELD NAME
&mvt:group2:name; (&mvt:group2:count;) &mvt:group2:name; (&mvt:group2:count;)

Expand


THIRD CUSTOM FIELD NAME
&mvt:group3:name; (&mvt:group3:count;) &mvt:group3:name; (&mvt:group3:count;)

Expand

FIRST ATTRIBUTE NAME
&mvt:group5:label; (&mvt:group5:count;) &mvt:group5:label; (&mvt:group5:count;)

Expand

SECOND ATTRIBUTE NAME
&mvt:group6:label; (&mvt:group6:count;) &mvt:group6:label; (&mvt:group6:count;)

Expand


Expand All
************************************************************************************************************************ The links in the Page Count section in the Power Search admin screen need to include reference to facets. There are two links. Replace them with this link. *********************************************************************************************************************** In the Product Layout section in the Power Search admin screen make these changes. Change the link around the product code as follows. &mvt:product:code; There are three forms in this section; Add to Basket, Next, and Previous. You do not need to insert any code into the buy now form. Insert the following hidden input into the three forms. These values pass the existing values of the variables on to the next page. ************************************************************************************************************************ If you are going to use the Return to Search link on the product page it needs to contain all of the facet variables. Return to Search I only included 3 of the searchable fields in this link. If you have other fields which the customer can choose to be searched then you need to include code to maintain their state. Here is the example in this link for the product name &srch_name=&mvta:global:srch_name; Let's say you had a field called actors and customers could select to search just that field, you would need to include &srch_actors=&mvta:global:srch_actors; in the link above. ************************************************************************************************************************ Now that you have completed the edits, you need to build the lists for the custom fields, price ranges, and attribute-options that you decide to use. Go back to the main install doc for those instructions.