• Resolved td8000

    (@td8000)


    Hello,

    I would like to modify the content of the emails that me as seller and also the customer receives, when ordering products on our website.

    1. Is it possibld to place the real sender in the email head instead of the website’s admin email?

    2. Is it possible to display the purchased product(s) as subject in the email head instead of website/new order/order number?

    3. We work with deposits and after booking the customer has paid a part of the price as deposit. Still in the email is displaye “unpaid”. How can i change that to e.g. “partly paid” or remove it?

    Thank you so much for your help..

    Tobias

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support lionel.a11n

    (@lioneldaniel)

    Hello @td8000,

    Question 1: To address your first question about placing the ‘real’ sender in the email, I’m not sure what you mean. You can set the ‘From’ address to be any email address. Note that the “sender” is your server (or SMTP sending service if you use one), so you really must provide a ‘From’ address. Can you clarify what you’re trying to achieve here?

    Question 2: Dynamically changing the subject line like this would require new placeholders not available in core WooCommerce, so would take custom code or a plugin. One such plugin that might do some of what you want is AutomateWoo by disabling the ‘core’ emails and replacing them with your own dynamic versions. However, lists of products typically include newlines which might cause an issue in the message subject field – so you would possible still need custom PHP to make it work.

    Question 3: This support forum is appropriate for your core WooCommerce questions only – please contact WooCommerce.com support or the support for the plugin authors for help with your premium plugins.

    To edit the general content of your emails, plugins like Mailpoet lets you customize Woo emails. There is also the core way to override the content of the emails by using PHP template overrides, you can read more about that here: https://woocommerce.com/document/template-structure/

    If you’d like a hand, I suggest you check out the Community Slack or Facebook Group for community help with developer-level questions.

    We look forward to hearing back from you, and if you have any further questions or details please include those in your reply. Thanks!

    Thread Starter td8000

    (@td8000)

    Hello Daniel,

    and thanks a lot for your answer.

    We want to to be the sender adress of the order confirmation email to be the one from the person who placed the order. at the moment it is written the Website Titel and the email i set in the woocommerce settings.

    We used contact form 7 before and there it can be done by referring to the field that the sender has written in the email field of the form. this field has the label [your-email] and we can put this label into the “from” field of the cf7 email configuration. together with a self-domain email adress: looks like that: [your-name] [your-email] <[email protected]>

    We were hoping this to be possible also for the product orders and the resulting confirmation email.

    I hope i could clarify this issue to you and maybe there is a solution.

    Same thing would be with the subject. Though there is no subject “field” within the order process that could be referred to. Also it could become tricky, if more than one product is ordered. But i will try the plugin you suggested.

    For question 3 i am going to contact the 3rd party plugin provider. or i give it a try and modify the php files in the email folder of woocommerce plugin by adding a copy into my child theme folder.

    Regards, Tobias

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit email content’ is closed to new replies.