Skip to content

Image label store overrides are not working when using CSV import #36872

@erwinschaap

Description

@erwinschaap

Preconditions and environment

  • Magento version: 2.4.3 and 2.4.4
  • Anything else that would help a developer reproduce the bug: Multi store Magento environment

Steps to reproduce

  1. Create a multi store Magento environment with some products
  2. Upload images for a specific product
  3. Import for example for the base image for each store view a different base/small/thumbnail image label
  4. The base/small/thumbnail image label showing in de backoffice AND in the gallery of the product in frontend are not showing the correct alt text

Expected result

The base image label is set correctly in the admin for the different store views and is visible in the gallery of the product

Actual result

The base image label showing in the admin is empty or is the default AND in the gallery of the product in frontend are not showing the correct alt text

Additional information

If you do it manual in de admin, the labels in each store view will be set into the table catalog_product_entity_media_gallery_value AND catalog_entity_varchar

If you do it with a CSV import, the labels in each store view will only be set into catalog_product_entity_varchar and not catalog_product_entity_media_gallery_value

After the import:
The alt texts in the product grid is correct
The alt texts in the product gallery is incorrect

Is there another way to set different image labels for images via import?

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: ProductComponent: CatalogIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: ready for devReported on 2.4.4Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions