Hi all
Could anyone advise me on the best way to detect that a Quote has been activated via a plugin?
We are creating a plugin that will basically do some quite complex validation and logic when a quote is activated but because there is no "Activated" event for quotes (that I've seen) I'm wondering what the best way is to detect when a quote gets activated?
I'd like the plugin to be as granular as possible so that it only fires when there is a high likelihood that a quote was activated. As such I'm not sure if its best to try and use the update event or the SetState event?
The update event seems to be working for me but will obviously get called a lot. The SetState event seems like a good bet but doesn't seem to be getting called when I activate the quote at the moment....
Any advice would be greatly appreciated
Thanks all
S