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 d91c0c0 commit 108c2c5Copy full SHA for 108c2c5
app/code/Magento/Catalog/Block/Product/ImageBuilder.php
@@ -122,7 +122,7 @@ protected function getRatio(\Magento\Catalog\Helper\Image $helper)
122
public function create()
123
{
124
/** @var \Magento\Catalog\Model\Product\Configuration\Item\Option\OptionInterface $simpleOption */
125
- $simpleOption = $this->product->getCustomOption('simple_product');
+ $simpleOption = $this->product->getOptionById('simple_product');
126
127
if ($simpleOption !== null) {
128
$optionProduct = $simpleOption->getProduct();
0 commit comments