Changing the widget setting for Product Exploration metaphors
To change how the customer selects the desired values for feature attributes:
Procedure
- Edit the XML input file
- Find the <widget> element corresponding to the feature that you want to configure. The <widget> element will be inside the <feature> element.
- 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 your browser. The PACreateMetaphorBatchCmd scheduler command does not verify if the widget is appropriate for the feature value. Save the XML file.
- Update the production server by importing the updated XML file.