on 2018 Jul 06 2:52 PM
Hi,
I have a cart which will have applied promotion/voucher. How can I remove the applied promotion/voucher from the cart model. Below is what I have tried but it is not removing. Is there any documentation for the promotionService?
getPromotionsService().updatePromotions(getPromotionGroups(),
childCart, true,
de.hybris.platform.promotions.jalo.PromotionsManager.AutoApplyMode.APPLY_NONE,
de.hybris.platform.promotions.jalo.PromotionsManager.AutoApplyMode.APPLY_NONE,
getTimeService().getCurrentTime());
Request clarification before answering.
You can release the applied vouchers with the below code. voucherFacade.releaseVoucher(VoucherCode);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.