Skip to Content
Former Member
Feb 28, 2017 at 05:28 PM

Read custom field which is added to Abstract Rule.


We are adding custom field in Abstract Rule as ID. This ID will be same for group of promotion will be applied for the products(club products.) based on Items in the cart.

In CartCalculationStartegy we are calculating the promotion. The promotion result which is returned of type PromotionResultModel and it is not of type Abstract Rule.

Can anybody let me know how can I get the object of AbstractRule.

We created the custom column in Abstract Rule so that we can have the filed on backoffice screen for Promotion Rule.