• Resolved jalara

    (@jalara)


    Hello,

    during an update a new line was added to the my-account/edit-account/ page with “Subscribe to our newsletter”.

    I would like to delete this line or at least translate it. Unfortunately the translation doesn’t work with the Loco Tranlate plugin. Can you help me?

    Here is a picture of the line: https://ibb.co/KGdd0WX

    Thank you and best regards
    Anna

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support khungate

    (@khungate)

    Hi @jalara, thanks for your patience. You can change this by going to the plugin’s Settings -> Audience -> Opt-In Checkbox settings to change the default text or hide it altogether: https://a.cl.ly/OAu2rlWP.

    Please let us know if you need anything else. We appreciate you using the plugin.

    Thread Starter jalara

    (@jalara)

    Hi @khungate,

    Thank you for the answer. This changes the checkbox at the checkout page, right? I have already changed the text there.

    My question is about the checkbox at the my account page. Is it possible to change or hide that as well?

    Thank you and best regards
    Anna

    Plugin Support khungate

    (@khungate)

    Hi @jalara, this code snippet should allow you to remove it:

    remove_action('woocommerce_edit_account_form', array(MailChimp_WooCommerce_Public::instance(), 'user_my_account_opt_in'), 100);

    If you need additional assistance on custom translations, we would recommend engaging a 3rd party developer to help with that request.

    Let us know if you need anything else.

    Thread Starter jalara

    (@jalara)

    Hi @khungate,

    I have added the snippet to my functions.php. Unfortunately, the following error came there:https://ibb.co/Vv1n9m0

    Where should I insert the snippet?

    Kind regards
    Anna

    Plugin Support khungate

    (@khungate)

    @jalara, I apologize for getting ahead of myself in my previous response. The information I provided is relevant to version 2.7.7 of the plugin, which is currently being tested for final release. If you are interested in trying out the beta version of the plugin, you are welcome to do so. However, it is important to make backups or use a staging server before updating, just in case.

    Plugin Support khungate

    (@khungate)

    Hi @jalara thanks for your patience. This issue should now be resolved in the most recent version as noted (v2.8.)

    Thread Starter jalara

    (@jalara)

    Hi @khungate

    Thanks, it works now!

    Best regards,
    Anna

    but what about how to edit it, rather than just remove it from the edit-account page? like jalara, we managed to change it on the checkout page but there seems to be no obvious way to edit the words on the edit account page.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Delete or translate “Newsletter” row in my account edit’ is closed to new replies.