• Resolved TrueLie

    (@footballher0)


    Hello.

    1. I turned on the checkbox function on the registration page and selected the sheet I needed.

    2. Since my registration goes through a form from Woocommerce, and not WordPress, this checkbox is not displayed. The solution was to add this snippet:

    add_action('woocommerce_register_form','_custom_add_register_form_hook');
    function _custom_add_register_form_hook(){
    	do_action( 'register_form' );
    }

    The checkbox is displayed correctly, but the user is not added to the list. Although the registration process is correct.

    I will be glad to receive any help in this matter.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bruna a11n

    (@bruberries)

    Hi @footballher0,

    Thanks for contacting us.

    As I understand, you’d like to enable the MailPoet checkbox on the WooCommerce registration form instead of having it only on the checkout page, is that correct?

    Unfortunately, we do not have a feature to enable it. I see you’re trying to use a custom filter to do that, but it seems you would need to add more information there in order to have the checkbox properly integrated with the plugin.

    Please refer to our API documentation here: https://github.com/mailpoet/mailpoet/tree/master/doc

    Thread Starter TrueLie

    (@footballher0)

    Hi @bruberries

    Yes, you understand everything correctly. It will be great if there is such an opportunity. We would like to provide not only customers to subscribe when placing an order, but also those who register on the site as users. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mailpoet checkbox in Woocommerce registration form’ is closed to new replies.