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.
2 parents a56b509 + c3ba85a commit b123294Copy full SHA for b123294
app/code/Magento/Swatches/Helper/Data.php
@@ -429,7 +429,7 @@ public function getSwatchesByOptionsId(array $optionIds)
429
foreach ($swatchCollection as $item) {
430
if ($item['type'] != Swatch::SWATCH_TYPE_TEXTUAL) {
431
$swatches[$item['option_id']] = $item->getData();
432
- } elseif ($item['store_id'] == $currentStoreId && $item['value']) {
+ } elseif ($item['store_id'] == $currentStoreId && $item['value'] != '') {
433
$fallbackValues[$item['option_id']][$currentStoreId] = $item->getData();
434
} elseif ($item['store_id'] == self::DEFAULT_STORE_ID) {
435
$fallbackValues[$item['option_id']][self::DEFAULT_STORE_ID] = $item->getData();
0 commit comments