Skip to content

Images Not Replaced via CSV Import #14398

Closed
@itsabe

Description

@itsabe

Preconditions

  1. Magento 2.2.2
  2. CSV file with columns [sku], [additional_images] and one row of values
  3. Current images of sku is A, B, C, D.
  4. My CSV file contains images A, B, E, F, G

Steps to reproduce

  1. Create CSV file
  2. First column is sku with one existing sku in catalog.
  3. Second column is additional_images with comma separated values of relative path.
  4. Import file into Magento with Add/Update Import Behavior.

Expected result

  1. Images of the sku should be A, B, E, F, G. (The images I have in my CSV file).

Actual result

  1. Images of the sku are A, A, B, C, D, E, F, G. All the images got appended to the product.

I know there is a Import Behavior of Replace but that recreates the whole item. Is there a way to do so without recreating the item?

Metadata

Metadata

Labels

Component: CatalogImportExportFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions