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 51b58c5 commit 6ae60c3Copy full SHA for 6ae60c3
app/code/Magento/ConfigurableProduct/Block/Cart/Item/Renderer/Configurable.php
@@ -66,7 +66,7 @@ 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 ||
+ ) == ThumbnailSource::OPTION_USE_PARENT_IMAGE || (empty($this->getChildProduct()) ||
70
!($this->getChildProduct()->getThumbnail() && $this->getChildProduct()->getThumbnail() != 'no_selection')
71
) {
72
$product = $this->getProduct();
0 commit comments