Changing WooCommerce checkout optin checkbox
-
A few months ago you recommended to another user a filter to change the position of the optin checkbox and label for the WooCommerce checkout integration:
add_filter( 'yikes-mailchimp-wooco-integration-checkbox-placement', 'yikes_mailchimp_move_woocommerce_integration_checkbox', 10, 1 ); function yikes_mailchimp_move_woocommerce_integration_checkbox( $placement ) { return 'order'; }
When I add this filter, the checkbox, which had been displayed after the details of the customer, disappears. Changing the value of ‘order’ to ‘account’ or to ‘customer’ changes nothing – still not displayed.
I would very much like the checkbox to be displayed as the last thing on the page, immediately after the section with the payment information (in my case, either the credit card details for stripe or the payment via paypal).
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Changing WooCommerce checkout optin checkbox’ is closed to new replies.