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 6ae60c3 commit c7f0b4bCopy full SHA for c7f0b4b
app/code/Magento/ConfigurableProduct/Block/Cart/Item/Renderer/Configurable.php
@@ -66,8 +66,8 @@ public function getProductForThumbnail()
66
if ($this->_scopeConfig->getValue(
67
self::CONFIG_THUMBNAIL_SOURCE,
68
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
69
- ) == ThumbnailSource::OPTION_USE_PARENT_IMAGE || (empty($this->getChildProduct()) ||
70
- !($this->getChildProduct()->getThumbnail() && $this->getChildProduct()->getThumbnail() != 'no_selection')
+ ) == ThumbnailSource::OPTION_USE_PARENT_IMAGE || !($this->getChildProduct()
+ && $this->getChildProduct()->getThumbnail() && $this->getChildProduct()->getThumbnail() != 'no_selection')
71
) {
72
$product = $this->getProduct();
73
} else {
0 commit comments