Skip to content

Commit

Permalink
Merge pull request #1296 from mailchimp/Issue1288-2.3
Browse files Browse the repository at this point in the history
closes #1288 for magento 2.3
  • Loading branch information
gonzaloebiz authored Sep 7, 2021
2 parents f259255 + 6e761d7 commit 09ad414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Api/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 09ad414

Please sign in to comment.