Skip to content

Commit

Permalink
Merge pull request #195 from alma/feature/ecom-2042-ac-insurance-rese…
Browse files Browse the repository at this point in the history
…t-widget-on-qty-change

Insurance: Reset widget on qty change
  • Loading branch information
Francois-Gomis authored Sep 10, 2024
2 parents 2ec05dc + 1ba1c72 commit 4c0240a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions view/frontend/templates/catalog/product/insurance.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
qtyNode.addEventListener('input',function (e) {
var qty = e.target.value;
if(qty > 0){
resetInsurance();
utils.refreshWidget(
'<?= $block->getProductPriceInCent() ?>',
'<?= $block->getBaseProductId() ?>',
Expand Down

0 comments on commit 4c0240a

Please sign in to comment.