We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9adcd9 commit 2413b70Copy full SHA for 2413b70
app/code/Magento/Swatches/view/base/web/js/swatch-renderer.js
@@ -506,7 +506,7 @@ define([
506
507
if ($widget.options.jsonConfig.canDisplayShowOutOfStockStatus) {
508
let salableProducts = $widget.options.jsonConfig.salable[item.id],
509
- swatchOptions = container.find('.swatch-option');
+ swatchOptions = $(container).find(`[data-attribute-id='${item.id}']`).find('.swatch-option');
510
511
swatchOptions.each(function (key, value) {
512
let optionId = $(value).data('option-id');
0 commit comments