Update cart-summary.js
Just add this space to separate this classes. It's to display or not carrier option when we select one or another carrier during order finalisation.
This commit is contained in:
@@ -792,7 +792,7 @@ function refreshDeliveryOptions()
|
|||||||
$.each($('.delivery_option_radio'), function() {
|
$.each($('.delivery_option_radio'), function() {
|
||||||
if ($(this).prop('checked'))
|
if ($(this).prop('checked'))
|
||||||
{
|
{
|
||||||
if ($(this).parent().find('.delivery_option_carrier.not-displayable').length == 0)
|
if ($(this).parent().find('.delivery_option_carrier .not-displayable').length == 0)
|
||||||
$(this).parent().find('.delivery_option_carrier').show();
|
$(this).parent().find('.delivery_option_carrier').show();
|
||||||
var carrier_id_list = $(this).val().split(',');
|
var carrier_id_list = $(this).val().split(',');
|
||||||
carrier_id_list.pop();
|
carrier_id_list.pop();
|
||||||
@@ -873,4 +873,4 @@ function updateExtraCarrier(id_delivery_option, id_address)
|
|||||||
$('#HOOK_EXTRACARRIER_' + id_address).html(jsonData['content']);
|
$('#HOOK_EXTRACARRIER_' + id_address).html(jsonData['content']);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user