Plugin customer details issue at checkout
-
Hi, I’m using a custom plugin for ticketing: https://ww.wp.xz.cn/plugins/tickera-event-ticketing-system
The issue i faced in that plugin which i use with woo commerce that in this plugin we don’t have shipping details so i canceled it in woocommerce and in your plugin too but when i contacted tickera support i got that issue that need to be fixed to they replied like that below:
I’ve found the issue with the multi-step plugin. They have put woocommerce_checkout_after_customer_details hook only on the shipping step 🙂 That means that you can tickets related fields only on the shipping step. Since you don’t use shipping, we can put that hook on the billing page.
//THIS IS THEIR FUNCTION and you can see their hook located in the shipping tab only:
if ( !function_exists('wmsc_step_content_shipping') ) { function wmsc_step_content_shipping() { do_action( 'woocommerce_checkout_shipping' ); do_action( 'woocommerce_checkout_after_customer_details' ); } }​
The quickest possible fix would be to put this function in your functions.php (of your theme for instance):function wmsc_step_content_billing() { do_action( 'woocommerce_checkout_before_customer_details' ); do_action( 'woocommerce_checkout_billing' ); do_action( 'woocommerce_checkout_after_customer_details' ); }I think all we need to do is to add this to the wmsc_step_content_billing
do_action( 'woocommerce_checkout_after_customer_details' );Also, i want to thank you for the great support and for this great plugin specially 🙂
The topic ‘Plugin customer details issue at checkout’ is closed to new replies.