1. כאשר לקוח בוחר איסוף עצמי בדף עגלה, שלא יהיה שדה של כתובת
2. שהבחירה של משלוח תיהיה בהתחלה ריקה כמו פה: http://www.brownfield.co.il
<!-- ticket 81392 //-->
$(document).ready(function() {
if($(".layout_order").length){
//Shipping method selection + alert
$(function () {
var Payment_Buttons = $("#summery-buttons > div > a");
var Shipping_Selector = $("#order_shipping_option_id");
Shipping_Selector.prepend("<option selected=true>בחר</option>");
Payment_Buttons.click(function (event) {
if( $("#order_shipping_option_id option:selected").text() == 'בחר' ) {
event.stopPropagation();
alert('נא לבחור סוג משלוח');
}
});
});
$('#wrapper #order_shipping_option_id').change(function(event) {
if($(this).val() == '3514'){
$('#order_show_order_form > div > span > label:nth-child(2)').hide();
}
else{
$('#order_show_order_form > div > span > label:nth-child(2)').show();
}
});
}
});
<!-- end ticket 81392 //-->/* ticket 81392 */
#cart_shipping_option > a {
display: none;
}
#wrapper #order_shipping_option_id {
display: inline-block;
max-width: 280px;
}
/* end ticket 81392 */