I’m trying to setup a way for new orders in Woocommerce upon submission from my site to be copied on different emails based upon geographic location in addition to the admin email.
For example: For an order submitted from Alabama with a Zip Code of 35976 in the United states, it will email an individual in that region as well as the admin email as usual. This would be similar to other countries as well since we sell globally.
I’m familiar how to do this in Javascript as I’ve done it for Adobe pdf forms but I’m vaguely familiar with PHP.
I would presume, if this is possible, it would be within email-order-details.php
I have been unsuccessful trying to find a plugin to work for what we need.
Any assistance would be welcome and appreciated.
I have not attempted a solution at this time.