Reload part of checkout on changed shipping method
Question
So I added the following action to add extra content about ‘local pickup’ to the checkout page.
add_action( 'woocommerce_review_order_before_payment', 'my_custom_action', 20 );
When I change the shipping method I want to ‘reload’ the action to hide/show the content in case the shipping method is local pickup.
I’m not an expert on hooks or wordpress ajax… can’t figure this thing out
0
hooks, php, woocommerce
3 years
2020-04-04T12:51:33-05:00
2020-04-04T12:51:33-05:00 0 Answers
71 views
0
Leave an answer