Are there any plans to make this compatible with ubercart's conditional actions.
Great module idea, but I don't understand why you used an extra administration system instead of registering a new trigger, let's say "Regular Order Check" that is run via cron, and just use conditional actions for the rest.
Emails can already be send via conditional actions and there are a bunch of extra actions that we could use. For example, we could change the order state after a given amount of time.
For a possible D7 port I would recommend using rules.
Comments
Comment #1
labor b commentedHere is a quick approach for this issue. It isn't tested yet, so don't use it in a production site, but it should give you an idea of what i was trying to say.
There is a new trigger: Regular order cron (gets triggered via cron run)
A new condition: Check order's last modification date
And a new action: Update order modification date
The Condition shouldn't be used without the action.
Comment #2
m.stentaI like this idea a lot.
The real questions are: a) would would this add, and b) what would this make harder? Specifically, what is the module doing now that would be harder if we moved to a conditional actions approach?
I wonder if it would improve the performance of the module's email sending as well. Hard to say without testing because I'm not sure what the overhead of conditional actions is.
This may be able to close some other issues in the queue as well (maybe?):
#914012: Order Product Tokens and Images on Emails
#1263454: Role based follow-ups
#490674: Emails per content type
#1224864: Change the Input Format
#761600: Check if customer successfully placed another order before sending email
I haven't worked much with conditional actions, so I'm not sure what the potentials and/or limitations are.
No time to test this right now... but I'll keep an eye on it. If you feel like putting together a formal patch against the 6.x-1.x branch, I would love you forever. ;-)