You must be logged in to see replies to this topic. Click here to login or register
Hey,
for a customer, we had to send a different email (template id) if the order contained a specific product. Unfortunately, this is not possible with the rules in the backend of your plugin.
To make this work, we had to extend the filter viwec_find_email_template_id_with_rule_order and add an additional variable $order.
This gives us the option of evaluating the order via a filter and returning a different template ID.
In my opinion, the $order variable is very important at this point and should generally be added, as it allows to control the ID of the template very flexibly.
You must be logged in to see replies to this topic. Click here to login or register