Skip to content

Commit 9966d45

Browse files
author
Anna Bukatar
committed
ACP2E-853: The cart will contain an incorrect number of items when you click Select All in the Related Products section and Add to Cart
- Static test
1 parent 65d5963 commit 9966d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/frontend/web/js/related-products.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ define([
5151
this.options.selectAllMessage : this.options.unselectAllMessage;
5252

5353
$(e.target).html(innerHTML);
54-
$(this.options.relatedCheckbox + ":visible").attr(
54+
$(this.options.relatedCheckbox + ':visible').attr(
5555
'checked',
5656
this.options.relatedProductsCheckFlag = !this.options.relatedProductsCheckFlag
5757
);

0 commit comments

Comments
 (0)