magento2-connector-community
magento2-connector-community copied to clipboard
Added position number to image import
Because images are always imported with position 0, the order in which images are sorted is based on value_id or record_id of the image. This can lead to incorrect orders, since the last imported image has the highest record_id.
This PR gives each image a position, at the order of import. The first imported image is image 0, the second is image 1, etc.