[Feature Request] Include options before and after checkout terms and conditions
-
Hello,
I’m about to transition my client’s website to MailerLite, and while configuring and testing everything I notice that the options to Position the Checkout’s subscription box are limited. Ideally we want to add the checkbox alongside the Terms & Conditions checkbox. If we use the “Before submit button” option, the checkbox is hooked within the Submit button wrapper. This is a problem since many checkout gateways completely change the output of this button wrapper on the fly (e.g: PayPal’s gateway replaces everything), which in turn ends up removing the checkbox entirely. This is not a bug. It’s how it’s supposed to work.
To accommodate this, I would like to request the inclusion of more options. More precisely using both ‘woocommerce_checkout_before_terms_and_conditions’ and ‘woocommerce_checkout_after_terms_and_conditions’ hooks.
This could be easily done by editing the ../plugins/woo-mailerlite/includes/class.woo-mailerlite-integration.php file at line 113 and adding the following two lines:
'checkout_before_terms_and_conditions' => __( 'Before Terms and Conditions', 'woo-mailerlite' ), 'checkout_after_terms_and_conditions' => __( 'After Terms and Conditions', 'woo-mailerlite' )
I’ve tested and it works really well.
Please consider this for the next release.
Thank you
- The topic ‘[Feature Request] Include options before and after checkout terms and conditions’ is closed to new replies.