Skip to content

Commit d3feb28

Browse files
⏫ Forwardport of #12875 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/12875.patch (created by @srenon) based on commit(s): 1. 6d2f213
1 parent 8e77e2f commit d3feb28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/frontend/web/js/catalog-add-to-cart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ define([
9797
success: function (res) {
9898
var eventData, parameters;
9999

100-
$(document).trigger('ajax:addToCart', form.data().productSku);
100+
$(document).trigger('ajax:addToCart', form.data().productSku, form, res);
101101

102102
if (self.isLoaderEnabled()) {
103103
$('body').trigger(self.options.processStop);

0 commit comments

Comments
 (0)