How to apply or invalidate non-coupon based promotions based on cart custom fields value
Summary:
How to apply or invalidate non-coupon-based promotions based on cart custom field value? We want to check for some conditions before OCC applies promotion to the cart item, based on that condition's result we will decide whether to apply that promotion or NOT.
Content (please ensure you mask any confidential information):
We have a business requirement where a user submits a request for an additional discount. Once a user submits the request, we update the dynamic property to set the request status and internally block the cart based on this status. While the cart is blocked, we don't want new promotions on the cart. OCC applies new promotions automatically, we want to avoid this by putting some additional checks.