Email header
-
Hi!
When sending out an email (latest version of the Abandoned Cart Lite is installed) in mail i have a header: Abandoned cart reminderHow can i translate it or delete from the client email?
Thank you!
-
Hi,
Currently, in lite version of the abandoned cart plugin we have a static headers for the WooCommerce email style header. If you want to change it then you can change our plugin file. You can translate the header as your requirement or you can delete the header.
You need to update the code of the abandoned cart lite plugin. You need to change line number 5715 into “woocommerce-ac.php” file in abandoned cart plugin for test email and for email notification you need to change one line on line number 689 “send_email.php” file of cron folder of the abandoned cart lite plugin.
Please let me know if you have any further queries.
Regards,
Chetna PatelThanks a lot for this tip!
Hi,
I am glad to know that you are able to change the code of WooCommerce email style header.
Please let me know if you have any further queries.
Regards,
Chetna BhutkaHmmm, on woocommerce-ac.php i have only 2000+ lines, there’s no 5000 lines in my file…
and with the send_email.php ….only 448 lines
Hi,
I apologize for the trouble.
You need to change line number 2858 into “woocommerce-ac.php” file in abandoned cart plugin for test email and for email notification you need to change one line on line number 345 “send_email.php” file of cron folder of the abandoned cart lite plugin. I hope it is fine.
Kindly let me know if you have any further queries.
Regards,
Chetna BhutkaOh great, now everything’s fine!
Thank you a lot!
Hi,
I am glad to know that everything is working fine on your site.
Please let me know if you have any further queries.
Regards,
Chetna BhutkaPlease I don’t have the file email.php can you help me ?
Finally, i’ve only eddit the woocommerce-ac.php file and its awesome thank yuo so much
Hi,
I am glad to know that you are able to edit the code of the “woocommerce-ac.php” file in the abandoned cart lite plugin.
You need to find the “send_email.php” file at cron folder of the Abandoned Cart Lite plugin and you can change the code for WooCommerce email style header.
Please let me know that if you have any further queries.
Regards,
Chetna BhutkaIs there any way to hook these headers with a filter/action in the functions.php file of a child theme?
So they don’t have to be manually edited with every plugin update?
Hi,
Currently, it is not possible to use any hook of filter / action for changing the “Abandoned cart reminder email” header in the abandoned cart lite plugin.
We will include the feature in our abandoned cart lite plugin which will allow to change the headers in the email notification.
I will let you know when we release our plugin update.
Please let me know if you have any further queries.
Regards,
Chetna BhutkaHi,
In file /cron/wcal_send_email.php on line 347 there is an error in the code, which makes the “Abandoned cart reminder” email header impossible to translate.
The fix is very ease. Just delete the blank space in ‘woocommerce-ac ‘ string.
The correct code must be:
$wc_template_header_text = $value->wc_email_header != '' ? $value->wc_email_header : __( 'Abandoned cart reminder', 'woocommerce-ac' );Probably you can fix this shortly in the next lite version update.
Thank you,
Hi,
Thank you for sharing the code and pointing out the issue of our plugin. We highly appreciate it.
We will surely release this fix in the next Abandoned Cart Lite plugin version. Once we will release this fix, I will let you know.
Please let me know if you have any further queries.
Regards,
Chetna BhutkaIt doesn’t work.
On line 2858 of woocommerce-ac.php we have this :
$( "#preview_email_sent_msg" ).html( "Test email is not sent as the Email body is empty." );The send_email.php doesn’t exist, in the cron folder there is a file named wcal_send_email.php, and on line 345 we have this :
$var .='<tr align="center">Can you explain me how to change text header? Because it is imposible to change this : “Abandoned cart Email Template”
Thank you for your help.
The topic ‘Email header’ is closed to new replies.