Develop > Presentation layer > Customize marketing > Work with Product Advisor > Create a metaphor XML input file
Prepare a Product metaphor
The steps in this section explain how to prepare a Product Comparison metaphor or a Product Exploration metaphor for a category.
Procedure
- Create an XML input file
- To build a Product Explorer metaphor within a category, type the following: <productExplorer> </productExplorer> To build a Product Comparison metaphor within a category, type the following: <productComparer> </productComparer>
- Insert a template element between the metaphor begin and end tags to specify the JSP page that the metaphor will be based upon. The template element will look similar to the following: <template>pe51.jsp</template> Where pe51.jsp would be replaced by the path and file name for some JSP that you have created for this purpose.
- Place the following elements between the metaphor begin and end tags, but after the template element for each feature you want to update:
<feature> <columnName></columnName> <order></order> <display></display> <widget></widget> </feature>
The widget element only applies to Product Explorer metaphors. For information about the content for these tags, refer to the following topics:
- Changing the columnName setting
- Changing the order # setting
- Changing the display setting
- Changing the sort setting
- Changing the widget setting for Product Exploration metaphors
- Save the XML file.
- Update the production server by importing the updated XML file.
- Changing the columnName setting
The steps in this section explain how to change the column that the search uses as an index.
- Changing the order setting
The steps in this section explain how to change the order in which different features are displayed.
- Changing the display setting
The steps in this section explain how to change the display attribute of a feature.
- Changing the sort setting
This steps in this section explain how to change the sequence in which the feature values display.
- Changing the widget setting for Product Exploration metaphors
To change how the customer selects the desired values for feature attributes:
Related concepts
Related tasks