-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Fix payment instruction location in on-hold email (#31880) #31886
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
Fix payment instruction location in on-hold email (#31880) #31886
Conversation
vedanshujain
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@barryhughes suggested that we can actually just remove the text 'In the meantime, here’s a reminder of what you ordered: and that will also fix the issue. See inline comment
Yes, this would be the simplest solution if no one insists on keeping that sentence. |
I think simplicity wins, here—the existing solution is comprehensive and would otherwise be a good way to go: but that particular phrase doesn't really seem to be needed (not to mention, it can easily be added back by those who wish to keep it) so reducing the complexity and size of the change seems worthwhile 👍 |
|
Hi @Melebius, it seems that we agreed that just removing the "In the meantime..." part was a better solution. Could you please implement the change so we can unblock this pull request? |
Show payment instructions after the relevant sentence and before the intro to ordered items. New action 'woocommerce_email_payment_instructions' introduced.
5a80bc3 to
f44f02a
Compare
|
jorgeatorres
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
* Fix payment instruction location in on-hold email * Update template version tags. * Changelog. * Update version tag to 7.3.0. * Update version tag to 7.3.0. Co-authored-by: barryhughes <[email protected]>
Show payment instructions after the relevant sentence and before the intro to ordered items.
New action 'woocommerce_email_payment_instructions' introduced.
All Submissions:
Changes proposed in this Pull Request:
Closes #31880 using the more thorough solution (option 2). This is the new look of the email:
How to test the changes in this Pull Request:
Other information:
This change should be safe to use with extensions adding other offline payments methods. They would simply continue to show the payment instructions in the original location until they’re updated to use the new hook.
Changelog entry
FOR PR REVIEWER ONLY: