Layout 1 / Layout 5







<script type="text/javascript" charset="utf-8">

setInterval(function(){

var amt = jQuery('.totamtcart').text();

var amtmatch = amt.match(/(\d+)/g);

    var i = 0;

    for(i=0; i<amtmatch.length;i++)

    {

        var newamt =(amtmatch[i]);

    }

var fixamt=200;

if(newamt < fixamt) {

var newtxt = 'Minimum Checkout Rs 200';

jQuery('.proceedbtn').text(newtxt);

}

},500);

</script>



Layout 2





To use Minimum checkout feature, use below code. Change the amount and the button text as per your requirement. Refer Red color text below.


<script type="text/javascript" charset="utf-8">

setInterval(function(){

var amt = jQuery('.totamt').text();

var amtmatch = amt.match(/(\d+)/g);

    var i = 0;

    for(i=0; i<amtmatch.length;i++)

    {

        var newamt =(amtmatch[i]);

    }

var fixamt=599;

if(newamt < fixamt) {

var newtxt = 'Minimum purchase should be Rs 599';

jQuery('#summary_continue').text("Min 599");

jQuery('#summary_continue').attr("href","#");

jQuery('.proceedbtn').text(newtxt);

jQuery('.proceedbtn').css('padding','5px');

jQuery('.proceedbtn').css('color','#fff');

jQuery('.proceedbtn').css('background-color','red');

jQuery('.proceedbtn').css('margin-top','20px');

jQuery('.proceedbtn').css('border','1px');

jQuery('.proceedbtn').css('font-weight','bold');

}

else

{

jQuery('#summary_continue').text("Continue");

jQuery('#summary_continue').attr("href","/checkoutpayment.html");

}

},500);

</script>



Layout 3




<script type="text/javascript" charset="utf-8">

setInterval(function(){

var amt = jQuery('.totalpad').text();

var amtmatch = amt.match(/(\d+)/g);

    var i = 0;

    for(i=0; i<amtmatch.length;i++)

    {

        var newamt =(amtmatch[i]);

    }

var fixamt=299;

if(newamt < fixamt) {

var newtxt = 'Minimum Checkout Rs 349';

jQuery('#continue_button .rightnav').text(newtxt);

jQuery('#continue_button .rightnav').css('padding','5px');

jQuery('#continue_button .rightnav').css('color','#fff');

jQuery('#continue_button .rightnav').css('background-color','red');

jQuery('#continue_button .rightnav').css('margin-top','5px');

jQuery('#continue_button .rightnav').css('border','1px');

jQuery('#continue_button .rightnav').css('font-weight','bold');

jQuery('#continue_button .catprodimg').css('border','1px');

}

}, 200);

</script>