try to refresh total with recalculation by delivery and delivery_type
This commit is contained in:
@@ -21,3 +21,15 @@ ci-contre
|
||||
@include('components.form.textarea', [
|
||||
'name' => 'content',
|
||||
])
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$('.delivery_mode').click(function() {
|
||||
var deliveryTypeId = $(this).val();
|
||||
var deliveryId = $('input[name=delivery_id]').val()
|
||||
console.log(deliveryId);
|
||||
console.log(deliveryTypeId);
|
||||
refreshBasketTotal(deliveryId, deliveryTypeId)
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
Reference in New Issue
Block a user