Class CartOpsPromotionProperties

java.lang.Object
com.broadleafcommerce.cartoperation.properties.CartOpsPromotionProperties

@ConfigurationProperties("broadleaf.cartoperation.service.promotion") public class CartOpsPromotionProperties extends Object
  • Constructor Details

    • CartOpsPromotionProperties

      public CartOpsPromotionProperties()
  • Method Details

    • isGiftOfferEligibleIfQualifierRemoved

      public boolean isGiftOfferEligibleIfQualifierRemoved()
      True by default. Allows gift offers to be re-considered if qualifying items are removed.

      If false, uses deprecated gift behavior offer when tracking ignored gift offers. Previous behavior results in these offers being ignored for the life of the cart if the gift is removed by the user, even if the qualifying items are removed or the cart is completely empty.

    • setGiftOfferEligibleIfQualifierRemoved

      public void setGiftOfferEligibleIfQualifierRemoved(boolean giftOfferEligibleIfQualifierRemoved)
      True by default. Allows gift offers to be re-considered if qualifying items are removed.

      If false, uses deprecated gift behavior offer when tracking ignored gift offers. Previous behavior results in these offers being ignored for the life of the cart if the gift is removed by the user, even if the qualifying items are removed or the cart is completely empty.