Skip to content

Commit 120c141

Browse files
MAGETWO-45072: Can't save Bundle items quantities while editing bundle product in wishlist on storefront
1 parent 22629ab commit 120c141

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Wishlist/view/frontend/web/js/add-to-wishlist.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define([
1111

1212
$.widget('mage.addToWishlist', {
1313
options: {
14-
bundleInfo: 'div.control [name^=bundle_option]:not([name*=qty])',
14+
bundleInfo: 'div.control [name^=bundle_option]',
1515
configurableInfo: '.super-attribute-select',
1616
groupedInfo: '#super-product-table input',
1717
downloadableInfo: '#downloadable-links-list input',
@@ -43,6 +43,7 @@ define([
4343
$(event.handleObj.selector).each(function(index, element){
4444
if ($(element).is('input[type=text]')
4545
|| $(element).is('input[type=email]')
46+
|| $(element).is('input[type=number]')
4647
|| $(element).is('input[type=checkbox]:checked')
4748
|| $(element).is('input[type=radio]:checked')
4849
|| $('#' + element.id + ' option:selected').length

0 commit comments

Comments
 (0)