Support for WooCommerce Waitlist transactional email
-
I’m using the WooCommerce Waitlist plugin (https://woocommerce.com/products/woocommerce-waitlist/) and it creates a transactional email that sends out an email notification when a product is back in stock; if a site visitor has signed up for the notification.
The email is listed under WooCommerce > Settings > Emails. Other plugins I’ve looked at are capable of editing the default emails, but not emails created by other plugins.
I created my own thread, but it looks like you mentioned you could provide support for other emails if you had the plugin? Below is the standard PHP template for the email that is default.
I appreciate your help.
<?php /** * Waitlist Mailout email * * @author Neil Pie * @package WooCommerce_Waitlist/Templates/Emails * @version 1.7.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } do_action( 'woocommerce_email_header', $email_heading, $user->user_email ); ?> <p><?php echo _x( "Hi There,", 'Email salutation', 'woocommerce-waitlist' ); ?></p> <p> <?php echo sprintf( $back_in_stock_text, $product_title, get_bloginfo( 'name' ) ) . ". "; echo $you_have_been_sent_text; ?> </p> <p> <?php echo sprintf( $purchase_text, $product_title, '<a href="' . $product_link . '">' . $product_link . '<a>' ); ?> </p> <?php if ( WooCommerce_Waitlist_Plugin::persistent_waitlists_are_disabled( $product_id ) && ! $triggered_manually ) { echo '<p>' . $remove_text . '</p>'; } do_action( 'woocommerce_email_footer', $user->user_email ); ?>
- The topic ‘Support for WooCommerce Waitlist transactional email’ is closed to new replies.