If you are looking for restricting delivery on specific days like Sundays or national holidays, then this is the feature you are looking for.





Modify the dates below and Paste below code in Settings --> Advanced Feature --> Third party Javascript


<script>

var unavailableDates = ["10-3-2014", "14-3-2014", "17-3-2014"];

function unavailable(date) {

    dmy = date.getDate() + "-" + (date.getMonth() + 1) + "-" + date.getFullYear();

    if ($j.inArray(dmy, unavailableDates) == -1) {

        return [true, ""];

    } else {

        return [false, "", "Unavailable"];

    }

}

function showDatePicker(name){

if(name=="dobDate"){

$j("#dobDate").datepicker({dateFormat:"dd-mm-yy",changeMonth:true,changeYear:true,yearRange:"1947:2047"});

$j("#dobDate").datepicker("show");

}else{

if(name=="deliveryDate"){

var _24a=$j("#calanderMinDate").val();

$j("#deliveryDate").datepicker({dateFormat:"mm/dd/yy",minDate:_24a,maxDate:"+5Y",changeMonth:true,changeYear:true,yearRange:"+0:2063",inline:true,beforeShowDay: unavailable});

$j("#deliveryDate").datepicker("option","minDate",_24a).datepicker("show");

}

}

};

</script>