I have an ecommerce website and I would like to sell ONLY to a specific Zip code.
When a user go to my check out page and insert their information I want to disable the "buy button" if the zip code field does not matching with a predefined zip code list.
I want to implement that function on my woocommerce store.
Do you think that is possible to implement that using JS? If so, could you pass me the code Please?
Thank you so much in advance! I really appreciate your help.
I'm newbie and I have Started to study coding only 2 month ago.