emilychiang
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Add author email to a New Order WooCommerce emailHi!
I used this code but it doesn’t seem to work.
add_filter( ‘woocommerce_email_headers’, ‘hasan_headers_filter_function’, 10, 2);
function hasan_headers_filter_function( $headers, $object ) {
if ($object == ‘new_order’) {
$user_email = get_the_author_meta( ‘user_email’, $product->post->post_author );
$headers .= ‘CC:’ . $user_email . “\r\n”;
}
return $headers;
}Noted with thanks.
Hi,
The users are automatically added to mailchimp when I set the Implicit to Yes. The moment a user signs up, they are subscribed to mailchimp. I do not want this to happen hence I set Implicit to No where user needs to manually subscribe to mailchimp by enabling it through checkbox in the registration form, which may impact my business performance…
What I am looking for is:
1. No checkbox in registration page
2. Plugin auto sync user to mailchimp as soon as they activate their buddypress accounts
3. Plugin does not sync user to mailchimp if they do not activate their buddypress accountsIt would be great if you have a solution to this.
“MC4WP > Integrations (BuddyPress)” -> https://prnt.sc/sf5ug7
Yes I am using user sync plugin, I recently disabled the auto-sync because I realized the mailchimp unsubscribed user gets subscribed again. I guess it is coming from auto-sync.
That’s a bummer. Thanks anyway, Ethan.
Tested, worked perfectly. Thank you!
Forum: Plugins
In reply to: [WooCommerce] Removing the “order again” button@medsforvets go to cpanel /public_html/wp-content/themes/yourthemename/functions.php and insert the snippet into the file.
Thanks!
Managed to fix the issue by rollback version to 7.12.32
7.12.33 and above, admin email will not be triggered.
is there WP SMTP plugin you are using in your test env?
No problem. Great plugin btw!
No I haven’t, as I am worried I might lose my current theme contents.