Page 1 of 1

Apply Offer Code Multiple times on order

Posted: Wed Apr 22, 2015 4:48 pm
by seohulu
Say I have a offer code to take 2$ off of whole order, This offer code will be added to order in one activity. But how can i applied this offer code to the order multiple times ? so that I take 2X$ off of whole order?

I already tried the but it is not working.

//here we added same offer multiple time in the list
List<Offer> offers = offerService.buildOfferListForOrder(order);
offerService.applyAndSaveOffersToOrder(offers, order);

thanks

Re: Apply Offer Code Multiple times on order

Posted: Thu Apr 23, 2015 10:42 am
by phillipuniverse
Struggling to understand the use case. You cannot apply an offer multiple times to an order, you would have to create multiple offers and allow them to be combinable (2 $2 off offers).