Extending Broadleaf Offer Rule Engine for One To Many Reln
Posted: Sun Nov 16, 2014 9:56 am
Hi All,
I want to extend the offer targeting functionality of Offer Admin. Here is what i would like to do..
I would like to build a rule that a particular offer is valid for customers belonging to a one particular city. My complication is how to write the field builder in "CustomerFieldServiceImpl". Currently, all *FieldServiceImpl have fields which are One-To-One, in my condition, address is a list in CustomerImpl.
Can someone point me out how to achieve this, considering the robust rule engine, this would not be very difficult.
Thanks
Dev
I want to extend the offer targeting functionality of Offer Admin. Here is what i would like to do..
I would like to build a rule that a particular offer is valid for customers belonging to a one particular city. My complication is how to write the field builder in "CustomerFieldServiceImpl". Currently, all *FieldServiceImpl have fields which are One-To-One, in my condition, address is a list in CustomerImpl.
Can someone point me out how to achieve this, considering the robust rule engine, this would not be very difficult.
Thanks
Dev