-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resend order mails #315
Comments
As far as I can see is this not easy to integrate at the moment.
This triggers the EventListener cart/Classes/EventListener/Order/Finish/Email.php Lines 23 to 27 in cb2a245
... which executes cart/Classes/EventListener/Order/Finish/Email.php Lines 49 to 56 in cb2a245
... which is using the MailHandler's method cart/Classes/Service/MailHandler.php Lines 292 to 310 in cb2a245
As the referenced lines show needs the MailHandler the The scope to refactor this seems quite big and no other seemed to miss the feature. I would propose to close this issue. |
But a question I got: Why is the cart not stored? |
Why we should store the cart (session) to the database? Perhaps one can do this with an own Event. There is an model for storing the cart to database, but this is intended to store the cart while the customer was redirected a payment provider. In error case the cart can be restored from there. I it should be possible to add a button (to the backend) which directly instantiate the MailHandler or trigger an event. I think the MailHandler can be used for that process, because You may also want to have a separate template for the resend that contains different wording and makes it clear that it is a resend of the email and not a new order. This could probably also be solved. |
I just realized that there are two
The first is the one which could be stored by a payment provider. But the second is needed. And it is really needed because it stores the currency (
|
Follow-up: It is possible to solve this. Maybe the email-templates should even be cleaned up (not sure). Because: All those information are stored in the table These information are persisted, this is used in the backend:
... and imo should anyway also be used in the emails!? |
Yes. I think we can try to get rid of properties of the cart object in email templates. Most should be easily replaceable. |
it would be nice to have the possibility to resend the order mail to customer.
A customer deleted his mail and asks me to resend.
The text was updated successfully, but these errors were encountered: