[order_details], but without payment instructions

Top WooCommerce & WordPress Plugins Forums Custom Emails for WooCommerce [order_details], but without payment instructions

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #108064
    blankDorian Simon
    Participant

    Hello,

    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,
    Dorian

    #108086
    blankDorian Simon
    Participant

    I 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.

    #108263
    blankDorian Simon
    Participant

    Going 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,
    Dorian

    #108299
    blankMoshtafizur
    Moderator
    Plugin Support

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.