Thread Starter
Jebble
(@jebble)
I mean the checkout files not cart.php ofcourse.
The plugin hooks into ‘woocommerce_checkout_fields’ to add the checkbox to the checkout page and fires a custom function called ‘maybe_add_checkout_fields’.
You should be able to manually call this using SS_WC_Integration_MailChimp->maybe_add_checkout_fields($checkout_fields) and pass it the WooCommerce checkout fields array.
Marking this resolved. Let me know if you still have any issues.
Thread Starter
Jebble
(@jebble)
Hi there,
I’m sorry this took so long but I had no time working on this website before. The checkout page is completely customized. The woocommerce hooks are not used at all because the client needed a completely custom design for it.
I don’t understand the manual call you’re showing because SS_WC_Integration_Mailchimp is not known in the form_filling.php
Can you tell me what woocommerce_checkout_fields does.
Does this literally show all the checkout fields? Because in that case we can’t use it.