Hello,
There is no option available for this in the theme settings. This requires customization, which is beyond our support policy.
I have searched for a possible solution and found a custom function that you can add to your functions.php file. I have tested this code on our test site, and it is working fine.
If the provided code does not work as expected, unfortunately, we are unable to modify it further.
Add this to your theme’s functions.php file of the theme.
add_action( 'woocommerce_checkout_process', 'pk_minimum_order_amount' );
add_action( 'woocommerce_before_cart', 'pk_minimum_order_amount' );
function pk_minimum_order_amount() {
$minimum = 100; // Minimum order amount in Euros
if ( WC()->cart->total < $minimum ) {
if ( is_cart() ) {
wc_print_notice(
sprintf( 'The minimum order amount is €%s. Your current order total is €%s.', $minimum, WC()->cart->total ),
'error'
);
} else {
wc_add_notice(
sprintf( 'The minimum order amount is €%s. Your current order total is €%s.', $minimum, WC()->cart->total ),
'error'
);
}
}
}
Best Regards,