No WooCommerce retailer may proceed to do industry and not using a sequence of well-written and correctly deliberate emails. Each customer-action from preliminary placement of the order to the general success frequently triggers an e mail. The excellent news is that it’s simple to customise WooCommerce emails, proper inside the WooCommerce Admin house.

SEE: 5 Ways To Speed Up Your WooCommerce Store in 2018

Retailer homeowners have get entry to to easy but robust e mail customization choices situated beneath Emails > E mail Sender Choices. the usage of those possibility, retailer homeowners may upload customized header pictures, footer textual content, retailer’s title within the FROM box, among different customization choices. In consequence, the purchasers obtain emails that absolutely mirror the shop’s branding.

email customization options

Customizing WooCommerce E mail Templates

WooCommerce e mail templates usually duvet all the ecommerce procedure from preliminary “Thank You on your Order” e mail to the general bill e mail. As well as, the e-mail templates additionally duvet person control emails corresponding to new visitor registration e mail and password reset e mail.

As an example how retailer homeowners may customise WooCommerce emails. I will be able to describe the customization of Processing Order e mail template.

To get entry to the template, move to WooCommerce > Settings > Emails > Processing order.  As you’ll see, virtually all fields together with the e-mail topic and the HTML template may well be absolutely custom designed. The most productive section is the extra keep an eye on over the method via enabling or disabling the sending of the e-mail as a part of the shop e mail notification procedure.

Customizing WooCommerce Email Templates

The above procedure may well be used to customise the entire to be had e mail templates within the e mail segment.

The use of WooCommerce Hooks

In a different way of customizing WooCommerce e mail templates is thru WooCommerce hooks.

Those hooks will have to be positioned within the purposes.php document situated within the put in theme folder. On the other hand, you’ll make a seperate document (or a plugin) with the next code:

add_action( 'woocommerce_email_header', 'wpblog_additional_header',10,2 );

serve as wpblog_additional_header( $email_heading, $e mail ) {

    echo "

Cheers on behalf of buying groceries our retailer. Presently is your commentary

"; }

The next screenshot displays the hook in motion. You’ll simply customise the message via including your personal within the echo commentary.

WooCommerce Customize Email - Result

The next hook outputs the order main points:

add_action( 'woocommerce_order_item_meta_start', 'wpblog_item_order', 10, 2 );

serve as wpblog_item_order( $item_id, $merchandise, $order, $plain_text ){

    echo '

Your customized textual content

'; }

The above code snippet has 4 necessary variables, $item_id (merchandise identification, required for monitoring the order), $merchandise (the amount ordered), $order (the main points of the order) and $plain_text (further order knowledge).

Conclusion

As you’ll see, it’s simple to customise WooCommerce emails. In lots of circumstances, customized emails are a good way of alerting the purchasers in regards to the development in their order. The method may be very easy and lots of the paintings may well be executed from proper inside the WooCommerce possibility menu.

The put up How to Easily Customize WooCommerce Emails gave the impression first on WPblog.

Local SEO Agency

[ continue ]