|
Hello,
I'm at a loss for how to define this promotion. It seems to be a pretty common use case. I want the customer to receive 25% off all products in a specified category if they have 12 (or more) of those products in their cart.
I can get the promotion to work if I want "Buy 12, get 25% off those 12 items". but not if I want the discount to extend beyond the initial 12 items.
Here is the entity XML that I am using:
<ProductPromo productPromoId="BUY12"
promoName="Buy 12"
promoText="Buy 12 get 25% off all widgets"
userEntered="Y"
showToCustomer="N"
requireCode="Y"
createdDate="2010-01-01 00:00:00.000" />
<ProductPromoRule productPromoId="BUY12"
productPromoRuleId="01"
ruleName="25% off" />
<ProductPromoCond productPromoId="BUY12"
productPromoRuleId="01"
productPromoCondSeqId="01"
inputParamEnumId="PPIP_PRODUCT_QUANT"
operatorEnumId="PPC_GTE"
condValue="12" />
<ProductPromoAction productPromoId="BUY12"
productPromoRuleId="01"
productPromoActionSeqId="01"
productPromoActionEnumId="PROMO_PROD_DISC"
orderAdjustmentTypeId="PROMOTION_ADJUSTMENT"
quantity="12"
amount="25" />
<ProductPromoCategory productPromoId="BUY12"
productPromoRuleId="01"
productPromoActionSeqId="01"
productPromoCondSeqId="01"
productCategoryId="WIDGETS"
andGroupId="_NA_"
productPromoApplEnumId="PPPA_INCLUDE" />
<ProductPromoCode productPromoId="BUY12"
productPromoCodeId="BUY12"
userEntered="Y"
requireEmailOrParty="N" />
<ProductStorePromoAppl productPromoId="BUY12"
productStoreId="TR_STORE"
fromDate="2010-01-01 00:00:00.000"
sequenceNum="1" />
Thanks
-craig
|