Code

Discussion on WooCommerce Email Template Customizer

Discussion on WooCommerce Email Template Customizer

Cart 4,969 sales
Recently Updated

villatheme supports this item

Supported

This author's response time can be up to 1 business day.

568 comments found.

Before the latest update I was using this code in email body to give me a clean tracking code that is in meta [wec_order_meta key=’tracking_code’] but now in email it shows like this [“CE00000000”] instead of clear tracking code CE00000000. Any ideas how can I fix that?

Hi,

We are back to work after the national holidays, thank you for your patience.

The output looks quite weird, please try the below shortcode instead:

[wec_order_meta key='tracking_code' array_key='0']

If this alternative does not help, kindly reach to your order tracking plugin, they should help you in this situation.

Best regards.

Well that’s a shame because I am not using order tracking plugin. I just make a metafield in the order and used to display that via this code. When I change it to [wec_order_meta key=’tracking_code’ array_key=’0’] then the email won’t send at all.

Hi,

Thank you for your response.

To provide you the right direction to solve this problem, please contact us on our support forum, we will would need to clarify the order metafield you want to display and guide you in this specific case.

Our forum: https://villatheme.com/supports

Best regards.

Hi,

I have 2 questions:

1. Is it possible to add custom font to the emails? 2. Is it possible to add cost of products to the admin email using this plugin: https://woocommerce.com/products/woocommerce-cost-of-goods/

Thanks

Hi,

Thank you for contacting us.

1. We do not offer the feature to add a custom font to the email template, however, you can add your desired font using PHP snippets, you can see this guide: https://villatheme.com/faqs/#faq-773166396

It is noted that the custom font may not apply because the style may inherit/override the email server’s style

2. Can you clarify where exactly this information should appear within the admin standard WooCommerce email template?

Best regards.

Hi there, 1. Good. 2. There is no place for it in the original woocommerce email, but is it possible to add via webhook? as it stored in the order data.

Hi,

Thank you for responding.

Our plugin supports WC Hook to display 3rd plugin’s email content.

You can try this function in our free version, try 3 webhook positions and observe if this information can be shown.

You can refer to:

+ Free version: http://bit.ly/woo-email-template-customizer

+ This article, the 1 Using WC Hooks: https://villatheme.com/knowledge-base/compatibility-scenarios-with-3rd-party-email-plugins/

Best regards.

hi,

i have this shortcode [iben_geniki_tracking] witch shows the shipping number.

How i can add this to email template?

Hi,

Kindly follow our guide to write correct shortcodes in our plugin: https://villatheme.com/knowledge-base/how-to-include-shipment-tracking-numbers-in-message-templates/

Let us know if you encounter any difficulties.

Best regards.

Hi! How to show data from short codes this are default nothing happens when i use them.

// To retrieve the user’s email address

// To retrieve the user’s name

// To retrieve the user’s address

// To retrieve the total amount of the order

// To retrieve the date of the order

// To retrieve the name of the product in the order

// To retrieve the quantity of the product in the order

// To retrieve the status of the order

{wec_order_meta meta_customer_order=”yes” key=’user_email’} {wec_order_meta meta_customer_order=”yes” key=’user_name’} {wec_order_meta meta_customer_order=”yes” key=’user_address’} {wec_order_meta meta_customer_order=”yes” key=’order_total’} {wec_order_meta meta_customer_order=”yes” key=’order_date’} {wec_order_meta meta_customer_order=”yes” key=’product_name’} {wec_order_meta meta_customer_order=”yes” key=’product_quantity’} {wec_order_meta meta_customer_order=”yes” key=’order_status’}

Hi,

Thank you for reaching out to us.

First, please replace the curly brackets with square brackets: [wec_order_meta meta_customer_order=”yes” key=’META_KEY_NAME’]

Also, seems the metakeys are incorrect. You need to find the metakeys yourself. Some order metakey is like _billing_last_name _billing_first_name _shipping_last_name _shipping_first_name

As a note, the parameter ‘meta_customer_order’ is to get user meta. Which means if you add the value ‘yes’ >> the metakey must be user metakey instead of order metakey.

Best regards.

only curly bracket come visual in this coment form

Hi,

To build your shortcode and display the metadata value, kindly refer to the provided documentation: https://docs.villatheme.com/woocommerce-email-template-customizer/#configuration_menu_6277

let’s keep us updated if you have any difficulties.

Best regards.

hi , how to change size of main canvas template now is 600px. i need to set a main template for smallest size 302px to send a small email. Now i use a one row with two cell to prevent this and add padding 100px to arange a elements to left side.

thank you

Need help integrating email fields from NEW ORDER TEMPLATE 1- Payment form – folds to comment on additional customer field. at the normal Plain text email have this inforamation.

submit a ticket in your system

Hi,

We received your ticket on our support forum and responded to you, kindly update it: https://villatheme.com/supports/topic/help-with-external-short-codes-short-code/

Best regards.

Hello, I’m selling digital good and below download link in the emails appear <time datetime=’2024-03-31’ title=’1711843200’>March 31, 2024</time>. I test the demo. Is that piece of code in full version? I don’t like it, of course…

Hi,

I just tried again on my dev site, setting the expiry date for the downloadable product. It is still displayed correctly, no HTML structured exposed. If you want me to check it for you, feel free to contact via the Support Forum address above.

Thank you for trying :) Tomorrow I will have time to try it on my published website and spent some time with it.

Hi,

Yes, keep in touch with us on our support forum if the problem persists, we are ready to assist.

Best regards

Hi I have created a email class so i can use your plugins styles for a reminder email from the order but I am struggling to override the subject and heading with a dynamic title using the product variation name Here is my send function in the class but it picks up the subject and header from the first item in the loop and keeps it for all?However the order note and error log refernce are correct? private function send_reminder_email($order, $event_id) { // error_log('Sending reminder email for event variation ID: ' . $event_id); // Create a unique meta key for each event in the order $meta_key = 'reminder_email_sent_for_event_' . $event_id; $already_sent = get_post_meta($order->get_id(), $meta_key, true); if ('yes' === $already_sent) { return; // Stop if already sent for this specific event } // Setup order object and other operations... $this->object = $order; $this->recipient = $this->object->get_billing_email(); $this->event_id = $event_id; $event_product = new WC_Product_Variation($this->event_id); $eventname = $event_product->get_name(); // Replace variables in the subject/headings and send the email... // Amend the email subject to include the event name $this->subject = 'REMINDER: Booking for ' . $eventname . ' is coming up!'; $this->heading = 'It is almost time for your Booking for ' . $eventname.'!'; $this->find[] = '{order_date}'; $this->replace[] = date_i18n(wc_date_format(), strtotime($this->object->get_date_created())); $this->find[] = '{order_number}'; $this->replace[] = $this->object->get_order_number(); $this->send($this->recipient, $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments()); // Mark as sent for this specific event update_post_meta($order->get_id(), $meta_key, 'yes'); // Add a note to the order indicating that the reminder email has been sent $note = sprintf(__('Reminder email sent for "%s".', 'text-domain'), $eventname); $order->add_order_note($note); error_log('Event Product Name: ' . $eventname); }

Any thoughts?

Hi,

Thank you for keeping in touch with us.

We understand your concern; however, we regret to inform you that we cannot provide support in this case, as it involves custom codes within our plugin and is against our regulations.

If you have any other questions regarding our plugin, please do not hesitate to contact us.

Best regards.

Can I use the header and footer for non woocommerce emails? I need a styled email header and footer for my contact forms emails. If I use an additional plugin to allow this it adds an extra header and footer on the woocommerce emails.

Hello, I need to activate a Yith email notification (New Quote Confirmation). I tried with this code, but not working. Can you help me please. Capture: https://drive.google.com/file/d/1urox8DylSKRCBxik8AY2B6JtTYA6aSi2/view?usp=sharing add_filter( 'viwec_accept_email_type', function ($email_types) { return wp_parse_args($email_types,[ 'yith_ywraq_send_email_request_quote_customer'=>'yith_ywraq_send_email_request_quote_customer', 'bvos_custom_ywraq-new'=>'bvos_custom_ywraq-new' ]); }, 9999 );

Hi,

This Yith email notification is a new email type in WooCommerce emails and it can be added to our email template. To add this new email type, refer to the guide titled Creating New Email Types by 3rd Party Plugin.

Best regards.

Hi, I found a bug on your latest plugin the reset password email template doesn’t work when request a password on WP backend link user -> send reset password

it send out the Raw HTML and not using the template?

Can you please help check and fix this bug ASAP!

Thanks

Hi,

We will review this issue on our end, and give the necessary updates if the bug is discovered. Kindly wait for our response on the issue.

Best regards.

Hi. I used the WC Hook; (woocommerce_email_order_meta) .. when previewing the email the text from the Hook shows larger than the text in the email.

Most of my email is 12pt and the hook shows large text. How can i change the (woocommerce_email_order_meta) text size, matching the rest of the email text??

Hi,

In Preview mode, the email content of the 3rd plugin from the WC hook will not appear unless you test with a real order.

Besides, with a real order, if the content is not the same format you set, although our plugin supports options to customize this content, but the 3rd plugin may also override it. In that case, you would need to reach out to the 3rd plugin’s author to modify it.

Best regards.

Hello,

Each product, has a custom field “Provider SKU” There is a way to show them in the product details?

Here : https://prnt.sc/vasn_Q1apMMb

Please let me know if there is any option for that.

Thanks.

Hi,

Yes, the custom field “Provider SKU” can be shown in the product details by overriding the current template, please follow our developer documentation.

Best regards.

Hello,

There is a way to show the unit price of product, not just the total in the email? https://prnt.sc/tQ794dot0egu

I didn’t find any option for that.

Thank you for your help.

Hi,

The unit price of the product can be added to the email template by overriding the current template.

To override the template, please refer to our developer documentation.

Best regards.

Hello,

Good plugin very useful !

I have just 2 questions :

1) The product (vertical layout) show the quantity before the variation attribute, how to display the quantity after ?

For example, it’s displayed like ” Nike Air Max – Quantity : 3 – Size : 40 ” when i want “Nike Air Max – Size : 40 – Quantity: 3 “

2) I’d like to add custom data after each product item,is there an hook for that ?

Thanks

what about the viwec_after_item_price hook ?

Hi

As we offer template overriding through the developer documentation, it provides more flexibility and effectiveness than the mentioned hook.

Best regards.

Ok, i was about to use the hook instead of template overriding but u dont look too confident about this hook :) So i’ll override the template !

Thanks

Hi, is it possible to add custom email teplates using your premium plugin to another email types from 3rd party plugin SUMO subscriptions? or maybe add another email types using data-id from email template

Hi,

Our plugin can add email types from 3rd plugins, you can see this guide 3. Creating new email types by 3rd plugin.

You can try our free version.

Best regards.

Hello All email go to spam, what is the issue ? Regards

Hi,

Thank you for reaching out to us.

Email servers automatically filter certain emails to the spam tab. We enlist some most common cases why email go to spams, kindly refer to this article for causes and solutions.

Best regards.

Hi,

can we include the value added tax in the cost breakdown under the total section within the email templates?

Best regards

Hi,

Yes, it can display tax values on email templates in the same way as standard WooCommerce emails. You can try our free version to experience.

Best regards.

Thank you!

Hi there! Just wanted to say that your plugin doesn`t send email customized by me. I have tried even reinstall the plugin with no succes. To much headeaches and I just uninstalled for good.

Hi,

We have identified common cases where the email template fails to send as customized, along with their corresponding solutions. Kindly review to see if your case matches any of these, and follow accordingly.

Best regards.

Does this plugin support High Performance Order Storage now

Hi,

Yes, this plugin supports HPOS since version 1.2.0 Let us know if you have any problems.

Best regards.

Hello, I have seen that the plugin is also compatible with the Germanized plugin. Now I would like to insert a Gemanized shortcode {tracking_id} into the “order completed” email. Is that possible?

Hi,

Thank you for reaching out to us.

Our plugin supports shortcodes in the text editor of the email template, however, it should be this type of shortcode, see this guide: https://docs.villatheme.com/woocommerce-email-template-customizer/#configuration_menu_6277

Best regards.

Hi, i have a doubt about your plugin and I need to know if pro version solve it.

I have created a little plugin to allow to add some meta informnation to a order after the order was done. When a user (no registered) acces to this space where he add more information this information added to order meta and I need to send an email to send this information to this user and the administrator.

I need to creat a hook to send this emails with this new information. I need to know if your plugin allow to connect this hook with email template. I see into documentation i would be using default template, but i don’t understand if It allow my situation.

Can you help me to solve my doubts? Thank you

Hi,

Thank you for reaching out to us.

Our plugin supports displaying the information of 3rd plugins on our email template. In this case, please use the WC hook element (You can try our free version), or use the shortcode for the order metadata (This is a premium version).

Best regards.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey