Monday 25 June 2018

Product image roles randomly disappear when update product through the Rest API

I think its issue on Magento 2.2.3 or below version

Open root/app/code/Magento/Catalog/Model/ProductRepository.php

protected function processMediaGallery(ProductInterface $product, $mediaGalleryEntries)
{

find : if (isset($entry['value_id']) // near line no : 499 TO
if (isset($entry['value_id']) && $entry['value_id'] != '') {

}

No comments:

Post a Comment