How to get value of SELECT field to compare?
-
I want to apply fees based on value selected on my checkout page.
I have created field as ‘billing_district’.
I want to compare value against this SELECT id i.e. billing_district.I tried below 2 ways,
1. $value= $_POST[‘billing_district’];
2. $value = WC()->customer->billing_district;but I am not getting the value which is selected by customer.
How can I get the value?Thanks in advance!
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.