Remove Double OptIn for Checkout
-
Hi,
i have enabled double optin on my site.
I need to have double option for login, but allow access to checkout.For this i use following code:
function removeWooCommGER_doicheckout() { global $wp_gdpr_wc_controller; $wp_gdpr_wc_controller = new WC_GZD_Customer_Helper; remove_action( 'woocommerce_checkout_init', array( $wp_gdpr_wc_controller, 'disable_checkout' ), 1 ); } add_action('init', 'removeWooCommGER_doicheckout');
Suddenly some Germanized error messages are displayed twice (under each other), for example, messages like – “Please activate your account through clicking on the activation link received via email.”
Curiously following message is displayed only once – “Did not receive the activation email? Try again.”
Thanks for your help
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Remove Double OptIn for Checkout’ is closed to new replies.