cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement partial redemption of vouchers only for certain products?

Former Member
0 Kudos

When evaluating a custom promotion restriction we can remove products from the products collection and return RestrictionResult.ADJUSTED_PRODUCTS. As a result, the promotion will only be applied for the remaining products, thus making it possible to exclude certain products from the promotion.

Is there a way to accomplish the same behaviour for voucher restrictions? As far as I can tell, the function:

 @Override
 protected boolean isFulfilledInternal(AbstractOrder abstractOrder) {
   // ...
   return false;
 }

will only return true/false and as such decide about the redemption for the entire cart. There is another signature:

 protected boolean isFulfilledInternal(Product product)

as well, however, it seems if the above function returns false, the voucher will still be rejected for the entire cart.

Former Member
0 Kudos

Hi , I am also facing the same issue. If anybody knows the answer for above question Please respond ASAP. It will help us to proceed further.

Thanks & Regards, mallikharjuna

Accepted Solutions (0)

Answers (0)