Preparing 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>
Note: The widget element only applies to Product Explorer metaphors. For information about the content for these tags, refer to the following topics:
- Save the XML file.
- Update the production server by importing the updated XML file.