Categories
Mastering Development

Display product ACF fields on a specific WooCommerce email

So I almost got it, but this last detail of specifying WooCommerce emails is leaving my head in a bit of a knot here. I need to show ACF (advanced custom fields) fields of products (in this case it’s a custom shipping time) But only in the new order email (processing order and waiting payment […]

Categories
Mastering Development

Add Custom Product Field in WooCommerce ‘Order Completed’ Emails

Is there any way I can add content from a custom product field to ‘order completed’ WooCommerce emails? I have added this code to my functions.php in order to save my custom field to the product meta information. //1.1 Display Activation Instructions field in admin add_action(‘woocommerce_product_options_inventory_product_data’, ‘woocommerce_product_act_fields’); function woocommerce_product_act_fields(){ global $woocommerce, $post; echo ‘<div class=”product_custom_field”>’; […]

Categories
CMS Development Wordpress

Include customer details in woocommerce 3rd part plugin email

I’m using Woocommerce Simple auctions plugin. When an auction finishes the admin gets an email saying the following: The auction for (Auction name). Winning bid is R5,000. This is the code for that template: <?php /** * Admin auction finish email * */ if ( ! defined( ‘ABSPATH’ ) ) exit; // Exit if accessed […]

Categories
CMS Development Drupal

How can I send mass emails as part of a bulk operation?

I have a view where the webform submissions of the site authenticated users are shown. In that view I have some bulk operations (created by me) that change the value of a field in these submissions (e.g. status). My question is how a mass email can be send to the users that made an application […]

Categories
Development Plugins

Problem with overwriting an email template in WooCommerce

I modified an email template by putting those files in ‘mytheme/woocommerce/emails’: customer-processing-order.php email-footer.php email-header.php email-order-details.php email-order-items.php Everything works correctly, it seems that email template is succesfully replaced. I’ve checked it by using WooCommerce Email Test plugin (https://pl.wordpress.org/plugins/woocommerce-email-test/) and in WooCommerce status. All files are propertly replaced. But in email received after doing an order it […]