on 07-24-2017 7:06 PM
Hi, I have an incidence similar to that previously reported, but it is not the same
I am trying to update the promotions of a cart (I do not know if it is correct) ... in doing so, it generates the exception: Failed to updatePromotions Java.lang.IllegalArgumentException: Unit must not be 'null'
Here's the line: promotionsService.updatePromotions(promotionGroups, cart, false, PromotionsManager.AutoApplyMode.APPLY_ALL, PromotionsManager.AutoApplyMode.APPLY_ALL, new Date());
However, I see that when I turn the cart in order, the promotions are updated.
What is the right thing to do?
Regards! Amy
Add comment · Share
Failed to updatePromotions Java.lang.IllegalArgumentException: Unit must not be 'null' :
If your Promotion is Order Free gift promotion - Make sure your free gift type (Size/Style/Appareal) Product is having unit as "pieces" in Backoffice/hmc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.