Handling Attribute Defaults

Attribute default values are handled as follows when applying a promotion to a customizable product line item. Attribute default values are handled as follows whether modifying, upgrading, or recommending a promotion:

  • If the current attribute value of an existing component is allowed by the promotion definition (because it is either listed in an Include rule, or omitted from an Exclude rule), then the attribute value is retained.

  • If the current attribute value of an existing component is not allowed by the promotion definition, or if the component was added (for example, by applying default values), in which case the current attribute value is nonexistent, then:

    • If an Include rule is defined, then the current attribute value is updated with the default value.

      This default value is controlled by the Sort Specification on the business component ISS Promotion Item Attribute Value. If the Sort Specification is set to Created, then the default value is the first created attribute value for the promotion in the Promotion Item Attribute Value List Applet.

    • If an Exclude rule is defined, then the default value cannot be specified in the rule. The current attribute value is initialized according to the existing behavior.