Minimum order amount | WordPress.org

Hello,
I use a minimum order code that works well, but I want to use this code according to the states that I have on my website.
I want state 1 to have a minimum of 30$ and state 2 to be 45$
I’m sending you a link to my code: https://pastebin.com/tQk0FcfB
The problem is that even if I don’t update my cart, it allows me to continue to checkout, also allows me to complete my order in checkout and I shouldn’t do it.

  • This topic was modified 4 days, 8 hours ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic



Source link