Forum

Thread tagged as: Question, Shop

Shop emails triggers

Hello,

Is it possible to send an email based on order status + whether one of the ordered items meets a condition (in a certain category)?

I realise I can check whether an item is in a certain category in the email template (and conditionally add content), which I'll probably do. However, ideally I'd like to send an additional email if one (or more) of the ordered items in a certain category.

Hussein Al Hammad

Hussein Al Hammad 105 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

There are API events that fire when an order changes status - it sounds like you could use those. Would that work?

Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

Yes, that would work. I wanted to check whether it is possible to do this through the Shop app as is.

Thanks Drew.

Drew McLellan

Drew McLellan 2638 points
Perch Support

At the moment, no. The emails just fire on the status change, there's no ability for additional filtering at that point unless you code it yourself.