How can I change customers shipping zone in WooCommerce to a different zone if the customer is admin for example?
Let’s say that I have 2 shipping zones that both have same region. I would want one shipping zone for customers that aren’t admin and the other one would be for admin users.
I have tried to use different Woocommerce hooks in PHP to change the shipping zone, but I haven’t been able to. I have no idea how could I change the shipping zone through code.
It would be helpful if someone could show me an example of how to change customers shipping zone using PHP.