• Resolved DODO Internet

    (@studioviv)


    Hello,

    I have a webshop with this plugin and WooCommerce TM Extra Product Options. TM Extra Product Options add some options to the product and add the selected options to the order.

    Normally it added the options to the woocommerce mail, but this plugin removes the options from the mail. Is this plugin changing some info in the mail settings?

    i hope to get a response soon.

    Regards,
    Matyas – studioviv

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author pinal.shah

    (@pinalshah)

    Hi Matyas,

    The plugin does not interfere with any emails coming through from WooCommerce. However, it does send out some custom emails such as the New Quote Request Sent (customer), Request for New Quote (admin) & Send Quote (customer).

    Would you like to add the WooCommerce TM Extra Product Options data in the emails sent by the plugin?

    If yes, then the emails sent by the plugin can be customized the same way as WC emails.

    The best approach here is to copy the email template using WooCommerce->Settings->Emails->Manage Email (for the template you wish to edit)->Copy template to theme button.

    Once the email template has been copied to your active theme, you can edit it as needed.

    I hope this helps.

    Thanks,
    Pinal

    Thread Starter DODO Internet

    (@studioviv)

    Hello,

    Thanks for the information. But I am wondering. Why is the plugin not using the default woocommerce email order details?

    Regards,
    Matyas – Studioviv

    Thread Starter DODO Internet

    (@studioviv)

    Hello,

    And do you know how I can change the table to the standard woocoomerce order detail table?

    Regards,
    Matyas – Studioviv

    Plugin Author pinal.shah

    (@pinalshah)

    Hi Matyas,

    The plugin doesn’t use the standard WC email as we do not want to send the standard template (including prices) in the first round of emails sent to the customer.

    There are some standard WC hooks which you can use to display the standard WC order detail table. For e.g.

    1. Order Table:
    do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );

    2. Order Meta:
    do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );

    3. Customer Details:
    do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );

    I hope this helps.

    Thanks,
    Pinal

    Thread Starter DODO Internet

    (@studioviv)

    Hello Pinal,

    Sorry for the very late respons. I have one question. Where do I need to put the action functions?

    Thanks,
    Matyas – Studioviv

    Plugin Author pinal.shah

    (@pinalshah)

    Hi Matyas,

    No issues. We all are busy with something or the other and sometimes it takes time to get around to things.

    You can customize the email template by copying it from WooCommerce->Settings->Emails->Quote EMail (which needs to be edited)->Manage

    Inside copy the email template to the active theme folder by using the Copy template button. Once copied you can find the email template PHP file in the wp-content/themes/<active theme folder>/quotes-for-wc/

    Edit the template as desired by adding any of the actions mentioned above. I hope this helps.

    Thanks,
    Pinal

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WooCommerce TM Extra Product Options’ is closed to new replies.