From d1566118eed73270ddea78d2227bdd68d558c79c Mon Sep 17 00:00:00 2001 From: Gonzalezuy Date: Tue, 7 Sep 2021 12:06:09 -0300 Subject: [PATCH] closes #1288 for magento 2.3.6-p1 --- Model/Api/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/Api/Product.php b/Model/Api/Product.php index 879d1000..11796b1f 100644 --- a/Model/Api/Product.php +++ b/Model/Api/Product.php @@ -400,7 +400,7 @@ protected function _buildProductData( } else { $parent = $this->_getParent($product->getId(), $magentoStoreId); if ($parent && $parent->getImage() && $parent->getImage()!='no_selection') { - $filePath = 'catalog/product'.ltrim($parent->getImage(), '/'); + $filePath = 'catalog/product/'.ltrim($parent->getImage(), '/'); $data["image_url"] = $this->_helper->getBaserUrl($magentoStoreId, \Magento\Framework\UrlInterface::URL_TYPE_MEDIA).$filePath; } }