Top WooCommerce & WordPress Plugins › Forums › Custom Emails for WooCommerce › [order_details], but without payment instructions
- Support forum for the Custom Emails for WooCommerce.
- This topic has 3 replies, 2 voices, and was last updated 10 months, 1 week ago by
Moshtafizur.
- AuthorPosts
- January 23, 2023 at 3:06 pm #108064
Dorian Simon
ParticipantHello,
I would like to use [order_details] in my emails, but if someone had payed via BACS this shortcode contains the email instructions on how to pay. Which is useless/confusing in an email the client receives after the order is finished and the client has already payed.
1. Is there another shortcode I could use to only show the actual order table?
2. Is there a chance you yould activate other “standard placeholders” (https://woocommerce.com/document/email-variables-and-merge-tags/#section-2) like {item_names}, {order_subtotal}, {order_tax}, etc. which I guess I could use instead?Cheers,
DorianJanuary 23, 2023 at 4:16 pm #108086Dorian Simon
ParticipantI think I’m pretty close to what I need using
[order_func func="email_order_items_table"].The problem with email_order_items_table is that the formatting of the whole email content sowehow gets messed up. All of the contents are beeing put inside of the table of ordered items … could you guys fix that?
All similar stuff from https://woocommerce.github.io/code-reference/classes/WC-Order.html only shows “Array” in the emails.
January 25, 2023 at 4:11 pm #108263Dorian Simon
ParticipantGoing back to [order_details] – I have realized this depends on the status of the order:
Not paid yet: payment instructions are included. Already paid: no instructions are included.
Perfect, I can use it. Sorry about the misunderstanding.Cheers,
DorianJanuary 26, 2023 at 5:37 am #108299Hi Dorian,
I am glad to know that the issue has been resolved.
If you have any other questions, then please let us know.
Kind regards,
Moshtafizur - AuthorPosts
- You must be logged in to reply to this topic.