Pour corriger l'incompatibilité entre module DigressivePrice et le multi-déclinaisons, sur la page produit

This commit is contained in:
2021-08-06 13:50:28 +02:00
parent d73500fd0a
commit 1fd221182e
92 changed files with 6458 additions and 6452 deletions

View File

@@ -12,6 +12,10 @@
}
$(document).on('change', '#quantity', function() {
var $hasDigressivePrice = ($('#has-digressive-price').val() === 'true');
if (!$hasDigressivePrice) return;
var $form = $(this).closest('form');
$.ajax({
url: "{url path="/digressive-price-update"}",
@@ -36,6 +40,6 @@
});
});
$('#quantity').change();
// $('#quantity').change();
});
</script>