Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Promotion Engine - calculating potential saving inside Evaluate

$
0
0

Hi, 

I am working with a custom promotion type, where I want to check the potential saving of the promotion, for each cart line item, inside the processors evaluate method. 

The aim is to check the potential saving, against a separate monetary value stored against the line item - if the potential saving isn't greater than the value stored against the line item, I'm attempting to not pass this RedemptionDescription back from the evaluate method. 

The problem I have is that the calculated savings in those Redemptions aren't available until its applied to the cart. 

How can I do this via the processor? 

Thanks!

Paul 


Viewing all articles
Browse latest Browse all 9076

Trending Articles