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

  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 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:

  5. Save the XML file.

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


Related concepts

Product Exploration metaphor

Product Comparison metaphor


Related tasks

Update the metaphor settings


+

Search Tips   |   Advanced Search