OfferCode is not deleted when not applicable
Posted: Sat Sep 07, 2013 4:22 am
Hi,
Our company started using broadleaf recently and I am working on promotion engine. We support promotions through offer code.
So I started checking the related code and found that from broadleaf cart controller when a offer code is added, OfferActivity gets invoked through pricing workflow. But this activity does not seem to take responsibility to remove the offer code added to a order when it is found to be not applicable in filterItemLevelOffer.
Is there code anywhere else that takes care of removing xref between offer code and order when it is not applicable? Or promotion engine has to be modified by me to take care of this?
Our company started using broadleaf recently and I am working on promotion engine. We support promotions through offer code.
So I started checking the related code and found that from broadleaf cart controller when a offer code is added, OfferActivity gets invoked through pricing workflow. But this activity does not seem to take responsibility to remove the offer code added to a order when it is found to be not applicable in filterItemLevelOffer.
Is there code anywhere else that takes care of removing xref between offer code and order when it is not applicable? Or promotion engine has to be modified by me to take care of this?