IBM Support

JR41101: CMVC 215570 - ADD A NEW PROMOTION FILTER TO APPLY PROMOTION ADJUSTMENTS TO THE LOWEST-PRICED ITEMS ONLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you create a custom promotion using the OOTB
    CategorySameItemPercentOffPurchaseCondition template and split
    the pattern into two constraints for the purchase condition "X1"
    and the reward "X2".
    
    Apply the filter  for "X1 to select the most expensive item in
    the order":
          <Filter
    impl="com.ibm.commerce.marketing.promotion.condition.ItemSorting
    Filter">
           <SortingMethod>PriceHighToLow</SortingMethod>
          </Filter>
    
    Apply the filter  for "X2 to select the cheapest item in the
    order":
          <Filter
    impl="com.ibm.commerce.marketing.promotion.condition.ItemSorting
    Filter">
           <SortingMethod>PriceLowToHigh</SortingMethod>
          </Filter>
    
    The promotion is not being recognized when multiple quantities
    of the same qualifying item is purchased (overlap in "X1" and
    "X2").
    
    For example, given an order with two units of item, the
    promotion does not apply as the promotion engine is unable to
    distinguish which unit is the qualifying and which is the reward
    item.
    

Local fix

Problem summary

  • USERS AFFECTED:
    All WebSphere Commerce users who would like to apply the reward
    to the lowest priced items only and use the ItemSortingFilter
    filter.
    
    PROBLEM ABSTRACT:
    Need to apply the promotion "Buy X, get additional X at % off"
    to the lowest priced items only.
    
    BUSINESS IMPACT:
    ItemSortingFilter filter default behavior remains the same.  The
    SplitMethod parameter must be specified and set to
    SplitEndToStart to take effect.
    
    RECOMMENDATION:
    

Problem conclusion

  • Split the purchase condition and reward into two constraints and
    sort in opposite directions using the ItemSortingFilter filter.
    The split method <SplitMethod>SplitEndToStart</SplitMethod>
    should be applied to only one constraint (the purchase condition
    or the reward and not both).  If applied to both, they will
    cancel each other out.
    
    For example,
    
    Create a custom promotion using the OOTB
    CategorySameItemPercentOffPurchaseCondition template and split
    the pattern into two constraints for the purchase condition "X1"
    and the reward "X2".
    
    Apply the filter  for "X1":
          <Filter
    impl="com.ibm.commerce.marketing.promotion.condition.ItemSorting
    Filter">
           <SortingMethod>PriceHighToLow</SortingMethod>
           <SplitMethod>SplitEndToStart</SplitMethod>
          </Filter>
    
    Apply the filter  for "X2":
          <Filter
    impl="com.ibm.commerce.marketing.promotion.condition.ItemSorting
    Filter">
           <SortingMethod>PriceLowToHigh</SortingMethod>
          </Filter>
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR41101

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function

  • Submitted date

    2011-11-03

  • Closed date

    2012-02-23

  • Last modified date

    2012-02-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
23 February 2012