Thanks for your solution. It works great to make the "checkout" button disappear if the total amount is below a set number.
If the total is at the right level, the button is there, no problem.
BUT, this code seems to disable the possibility to increase th enumber of any item in the cart, to make it reach the right $ amount. The number goes up, but the cart does not calculate a new $ total, and if I refresh the page, the number goes back down to 1.
Very strange, but I think I saw other people having the same problem.
Any idea around here?
Thanks in advance!
I found a workaround for this problem.
Go to your settings, click shipping and delivery.
Create a shipping profile with a condition. Set the condition to your desired amount, and set the shipping rate. For my shop, the condition is 500 pesos=free shipping
Go to settings, click checkout
Scroll down until you find Manage Checkout Language
Under checkout language, use the search tool to find the error message showing on your checkout page. In my case, whenever a customer orders below 500 pesos, an error message is showing that "there is no available shipping method in their area". I copy this error message and pasted it on the search tool under checkout language to quickly find it.
I changed this error message to "Minimum order purchase is 500 Pesos. Please add more items to your cart to be eligible for free shipping"
I also changed the other error message saying "We don't offer shipping to Metro Manila" to "To be eligible for free shipping, please add more items to your cart."
Now whenever my customer is adding items to their cart below my minimum order purchase, this is what they see in the checkout page
I did not code anything, I just changed the checkout message so that my customers will be informed that the minimum order value should be 500 pesos to checkout. I hope this helps