

$(document).ready(function() {
$('#ddlPaymentMethod option[value="deaa51ed-e249-4ff5-80d9-97941017cbdf"]').hide();
});
$(document).ready(function() {
$('#ddlPaymentMethod option[value="19c3db46-9f35-4e85-a8bf-b6c490c5c2d2"]').hide();
});
$(document).ready(function() {
$('#ddlPaymentMethod option[value="deaa51ed-e249-4ff5-80d9-97941017cbdf"]').attr("selected", "true");
});
$(document).ready(function() {
$('#ddlPaymentMethod option[value="19c3db46-9f35-4e85-a8bf-b6c490c5c2d2"]').attr("selected", "true");
$('#ddlPaymentMethod').trigger('onchange');
});
$(document).ready(function() {
$('#ddlPaymentMethod option[value="deaa51ed-e249-4ff5-80d9-97941017cbdf"]').attr("selected", "true");
$('#pnlPaymentType').hide();
});
$(document).ready(function() {
$('#ddlShippingType option[value="paste-value-here"]').hide();
$('.page-checkout table').each(function() {
var cartTotal = $(this).find(".checkout-order-totals-ordertotal td:last-child").html();
var cartTotalNumber = Number(cartTotal.replace(/[^0-9.-]+/g, ""));
if ((cartTotalNumber) > 200) {
$('#ddlShippingType option[value="paste-value-here"]').show();
$('#ddlShippingType option[value="paste-value-here"]').attr("selected", "true");
}
});
});
If you have any ideas for portal customizations you'd like to see us tackle or need help implementing any of this code, email our support team at support@docketmanager.ca