Skip to content

Commit

Permalink
Merge pull request #278 from alma/feature/ECOM-1154/good-amount-in-th…
Browse files Browse the repository at this point in the history
…e-modal-if-we-change-the-quantity-before-add-to-cart

[insurance] Good amount in the modal if we change the quantity before add to cart
  • Loading branch information
Benjamin-Freoua-Alma authored Jan 8, 2024
2 parents 4ad4d9f + 798c60d commit 68e1425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alma/views/js/alma-product-insurance.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function openModalOnAddToCart() {
if (!insuranceSelected) {
event.preventDefault();
event.stopPropagation();
openModal('popupModal');
openModal('popupModal', quantity);
insuranceSelected = true;
addToCartFlow = true;
}
Expand Down

0 comments on commit 68e1425

Please sign in to comment.