Develop > Presentation layer > Customize marketing > Work with Product Advisor > Create a metaphor XML input file > Prepare a Product metaphor


Changing the widget setting for Product Exploration metaphors

To change how the customer selects the desired values for feature attributes:


Procedure

  1. Edit the XML input file

  2. Find the <widget> element corresponding to the feature that to configure. The <widget> element will be inside the <feature> element.

  3. Set the widget for the feature by entering one of the following names. The display method is described immediately following the widget name.

    com.ibm.commerce.pa.widget.DropDownListFormElement

    The customer selects a single feature value from a drop-down list.

    com.ibm.commerce.pa.widget.CheckBoxFormElement

    The customer selects multiple feature values from a set using a check box.

    com.ibm.commerce.pa.widget.RadioButtonFormElement

    The customer selects a single feature value from a set using a radio button.

    com.ibm.commerce.pa.widget.HyperTextLinkFormElement

    (Default) The customer clicks a link to select a feature value. The links are displayed in a column.

    com.ibm.commerce.pa.widget.MultiListFormElement

    The customer selects one or more feature values from a list.

    com.ibm.commerce.pa.widget.SingleListFormElement

    The customer selects one feature value from a list.

    com.ibm.commerce.pa.widget.TextEntryFormElement

    The customer types a single feature value.

    The type of widget most appropriate for the metaphor you are building depends on the number and type of attribute settings that are available for the category. You can try a number of different widget types and then preview the metaphor in the browser. The PACreateMetaphorBatchCmd scheduler command does not verify if the widget is appropriate for the feature value. Save the XML file.

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


Related concepts

Product Exploration metaphor


Related tasks

Prepare a Product metaphor

Changing the order setting

Changing the display setting

Changing the sort setting


+

Search Tips   |   Advanced Search