How to use or change the update_order_review function output .
-
Hi , currently i add a custom payment gateway . But i need to hide new one when customer select specified billing_state. For this i write the following jQuery
jQuery("[name='billing_state']").change(function(){ var state=jQuery('[name="billing_state"]').val(); if(state=="123" ){ $("#payment_method_my_new_gateway").hide(); } });
It’s working . But after this an ajax call from the woocommerece for updating the order is happen . checkout?wc-ajax=update_order_review And it will show my new paymentgateway . Please tell to how to modify the result .
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to use or change the update_order_review function output .’ is closed to new replies.