Answer the question
In order to leave comments, you need to log in
How to make a minimum order amount for only one of the delivery zones?
Good afternoon!
I can’t figure out how to set up such a delivery calculation scheme. If that's even possible.
I'll start from afar.
There are 2 delivery regions.
For the first one, everything is simple: up to 2000 rubles delivery is 300 rubles, more than 2000 - free of charge.
But for the second, it is necessary that the minimum order amount is + paid delivery of 500 rubles.
Here in it and a question. How to make a minimum order amount only for the second region.
Answer the question
In order to leave comments, you need to log in
there is a woocommerce_checkout_process hook
, you can run a function on it, check the conditions in it, and if the conditions are not ice, report an error.
example: https://github.com/uptimizt/wooyd/blob/master/inc/...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question