Does not work with ARG Multi-step Checkout plugin
-
Hi,
I use the ARG Multi-step Checkout plugin to present my checkout form in multiple steps for a nice user experience.
This means that the
woocommerce_after_checkout_formdoes not run until the final step of the checkout. This hook is where CartBounty registers theadd_additional_scripts_on_checkoutaction which in turn enqueues the JS required on the front-end. So without the CartBounty JS running on the page the AJAX call that collects the entered customer information is never made and I don’t see any abandoned carts being stored.I was able to get this to work by changing this line in
includes/class-cartbounty.php:$this->loader->add_action( 'woocommerce_after_checkout_form', $plugin_public, 'add_additional_scripts_on_checkout' ); //Adds additional functionality only to Checkout pageto
$this->loader->add_action( 'woocommerce_checkout_billing', $plugin_public, 'add_additional_scripts_on_checkout' ); //Adds additional functionality only to Checkout pageHowever, this is quite intrusive, and ideally I’d like to not change plugin code directly. So I’m wondering if there’s a better way for me to do this from the outside?
It would be even better if the next release of the plugin could provide a fix so no manual intervention is required.
Thanks.
The topic ‘Does not work with ARG Multi-step Checkout plugin’ is closed to new replies.