In VM configuration created VM Shipment - By weight, ZIP and countries and VM Payment - Standard. Set both minimum order amount 5000.
And now if I have total sum <5000 I see only notifications "We are sorry, no shipment method matches the characteristics of your order." and "We are sorry, no payment method matches the characteristics of your order. Please ." But still can press button "Confirm Purchase" and create order amount 1$.
In VM 1.1 in shop configuration I could set minimal order amount. In VM 3.0.18 I can't find that parameter.
How can I block checkout confirmation, if the order amount is less than 5000?
In VirtueMart 2 and VirtueMart 3. The users need to select a Payment Method and a Shipment Method to be able to checkout. But you can set this automatically and hide the payment method and shipment method selection areas in the front-end with CSS. That way the user do not have to select a method during checkout.
Create a standard payment and a standard shipment method in VirtueMart backend. Then go to VirtueMart Configuration and sent them as automatically selected under checkout tab. Later you can add some custom CSS in your template to hide the selection areas in the checkout page.
I know it. I need: when customer opens checkout page, he gets notice that minimal order sum is 5000, but in the cart only 4843.
Do something like in the cart template detect the cart total and if less than 5000 hide the checkout button and show a message
GJC, he has the problem with the autoselect, which does not check the conditions.
Just use the last version http://dev.virtuemart.net/attachments/download/1041/com_virtuemart.3.0.18.9a_extract_first.zip