In sitebuilder website cart page to set a minimum order message need to update in shopping cart tab. When minimum order amount is below $35. Then a message will show and the the checkout button made disable.
var stotal = $(“#carttablerowtotal .carttablecellamount”).text().slice(1).replace(/,/g, ”);
var st = Number(stotal).toFixed(2);
if (st < 35) {
$(“<span class=’minimumorder’>A minimum order amount of $35.00 is required</span>”).prependTo(“#carttablerowfinaltotal .extcartborder”);
$(“#handle_cartMainPortlet #checkout”).prop(“disabled”, true);
$(“.minimumorder”).css(“color”, “red”);
$(“.minimumorder”).css(“font-weight”, “600”);
}