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 would be real nice to have the mollie checkout url for a customer as a variable for email templates. The regular Shopware routine for failed payments is not the best one in terms of conversion and we've received better results by directly sending customers the mollie checkout url.
The text was updated successfully, but these errors were encountered:
@SeanMerger sadly this is currently not possible. The variables which are used in E-Mail templates are generated from the last Order.
Which means if we add new variables, they will be overwritten when a new order is placed. I tried to add the needed variables to the template but when i create an order without mollie payment, the variables were gone.
In Order to do this shopware need to create an interface wehere we can append custom variables to existing mail templates. For now there is no official way to do so.
@BlackScorp thanks for the feedback. The only workaround I could imagine would be service in the plugin that generates the payment link based on the order id. E.g. shop.url/api/_action/mollie/config/paymentlink?order={{ order.orderNumber }} but not entirely sure if that would work in shopware, plus not a clean solution.
@SeanMerger currently you have even access to the variables. if your last order was made via mollie, you have access to order.customFields.molliePayments and there you have all variables.
how ever if you add the variable to your mail template and an order is made without mollie, the email will not be sent, since there will be an error with missing variables.
Best solution would be if shopware would provide some kind of interface or event where we could inject custom objects
It would be real nice to have the mollie checkout url for a customer as a variable for email templates. The regular Shopware routine for failed payments is not the best one in terms of conversion and we've received better results by directly sending customers the mollie checkout url.
The text was updated successfully, but these errors were encountered: