Preparing a Product metaphor

To prepare either a Product Comparison metaphor or a Product Exploration metaphor for a category, do the following:

  1. Create an XML input file
  2. 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>
  3. 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.
  4. Place the following elements between the metaphor begin and end tags, but after the template element for each feature you wish 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:

  5. Save the XML file.
  6. Update the production server by importing the updated XML file.