Hi everybody, I need to customize a store for a company that has a very complex order status pipeline. They move the order through a number of statuses i.e. the order get in the status [to be printed] then change to status [printed] then depending on the product type can be moved to [fulfillment] or [production] etc etc They have some 30-40 different statuses that the product can change to.
In addition I need to perform a series of action when the order change from one status to the other (i.e. sending an email, alerting the production team etc.)
My question is: what is the most efficient way to achieve this goal. Do I build a plugin (which I am sure is very complex)
OR
do I make changes like:
- adding more status to Nop.Core\Domain\Orders\OrderStatus.cs
- subscribe to EntityUpdated(order) and write custom code that send email, etc
Any suggestion would be greatly appreciated.
Thanks.