You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not. Hope to have it in there before the non-beta release and that's waiting on me getting Sprout Forms out the door. Custom Events can be registered via EVENT_REGISTER_NOTIFICATION_EVENTS if you'd like to try to add something you need before I get to it and happy to answer questions around the API if I can be helpful there.
@john-henry On second pass, based on my available time this year and the remaining plugins I need to get released on Craft 4, I'll probably be focusing on adding a Commerce feature set like these once I'm upgrading to Craft 5.
So for now, adding these as integrations via the EVENT_REGISTER_NOTIFICATION_EVENTS is probably the best way to go if you need them sooner. There are several examples of Notification Events in the codebase, all extending BarrelStrength\Sprout\transactional\notificationevents\NotificationEvent
Commerce has improved support of email triggers since the initial release.
Is this a place Notification Events can add value?
The When a Craft Commerce order status is changed event could provide two template variables.
{order.number}
{{ object.order.number }}
{orderHistory.newStatus.name}
{orderHistory.prevStatus.name}
{{ object.orderHistory.newStatus.name }}
{{ object.orderHistory.prevStatus.name }}
The text was updated successfully, but these errors were encountered: