better management of shipping and basket summary display
This commit is contained in:
@@ -54,15 +54,6 @@
|
||||
$('#personal_data').collapse('show');
|
||||
});
|
||||
|
||||
$('#delivery_mode .delivery_mode').click(function() {
|
||||
var test = $(this).hasClass('at_house');
|
||||
if ($(this).hasClass('at_house')) {
|
||||
$('#delivery_addresses').closest('.card').removeClass('d-none');
|
||||
} else {
|
||||
$('#delivery_addresses').closest('.card').addClass('d-none');
|
||||
}
|
||||
});
|
||||
|
||||
function refreshBasketTotal(deliveryId, deliveryTypeId) {
|
||||
options = deliveryId + '/' + deliveryTypeId;
|
||||
$.get("{{ Route('Shop.Basket.getBasketTotal') }}/" + options, function(data) {
|
||||
|
||||
Reference in New Issue
Block a user