Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Contributor chetnapatel

    (@chetnapatel)

    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 Patel

    katzulator

    (@katzulator)

    Thanks a lot for this tip!

    Plugin Contributor chetnapatel

    (@chetnapatel)

    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 Bhutka

    Thread Starter rnuts

    (@rnuts)

    Hmmm, 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

    Plugin Contributor chetnapatel

    (@chetnapatel)

    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 Bhutka

    Thread Starter rnuts

    (@rnuts)

    Oh great, now everything’s fine!

    Thank you a lot!

    Plugin Contributor chetnapatel

    (@chetnapatel)

    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 Bhutka

    aveca

    (@aveca)

    Please I don’t have the file email.php can you help me ?

    aveca

    (@aveca)

    Finally, i’ve only eddit the woocommerce-ac.php file and its awesome thank yuo so much

    Plugin Contributor chetnapatel

    (@chetnapatel)

    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 Bhutka

    Is 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?

    Plugin Contributor chetnapatel

    (@chetnapatel)

    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 Bhutka

    Hi,

    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,

    Plugin Contributor chetnapatel

    (@chetnapatel)

    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 Bhutka

    It 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.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Email header’ is closed to new replies.