How to set billing address “not required” in JQuery
-
Hi,
I have a question about Woo Hook code…When customer choose COD payment method, will hide billing address; when choose other payment method, will show the billing address. I have success use JQuery code to solve this.
However, I wish can further improve this code:
“When choose COD payment method, will set billing address not required; when choose other payment method, will set billing address required. ”I try to use the add_filter inside JQuery, but fail. It cannot produce the desire result. Please refer to the screenshot:
https://drive.google.com/file/d/1taTgDgRY3j3ERJ2LMb10iw3PSlHAEFcO/view?usp=sharingWhat should I write in JQuery, in order to make field required/not required?
- The topic ‘How to set billing address “not required” in JQuery’ is closed to new replies.