What is the problem you are trying to solve?
Order Rules are a very powerful way to implement custom order logic but they are only supported by OSGi modules. It would be more maintainable if we could developer our Order Rules as Client Extensions so that they are easier to maintain between Liferay version upgrades and so that the logic could be implemented using any supported language, not just Java.
While it is possible to do something similar today with an Order Action, it’s not a very easy to use solution because the order action is fired on every action so you are responsible for implementing your own logic to determine when to fire and your own solution for determining who the rule should apply to (eligiblity). You are also for implementing your own feedback mechanism to display the error message to the user when an order fails validation.
What is your project about? (e. g. Intranet, Partner Portal, Enterprise Website, etc)
Customer Portal with Commerce capabilities
What is your proposed solution? (optional)
Provide an extension point for implementing Order Rules as a Client Extension. Ideally, this would not be a new type of ‘rule’ but would be compatible with the existing Order Rules so all order rules (OSGi based or CX) could be managed from the same interface and so that the CX based order rules could leverage the same Configuration UI and use of the Eligibility Framework.