Skip to content

Can't able to update multiple same child category in different parent via CSV programmatically #207

@kirtinariya1

Description

@kirtinariya1

Magento 2 programtically import categories via CSV and re-importing via CSV but can't able to update child categories data as same categories of multiple parent.

Categories Example:

Default Category:
    -Mobile
        -Samsung
        -Sony
    -TV
        -Samsung
        -Sony
    -Device
        -Samsung
        -Sony

While re-importing categories via CSV only updating content of Mobile category child categories Samsung and Sony but not updated content of TV and Device child categories.

Preconditions (*)

  1. Magento 2.3.2
  2. Progrmatically Import categories via CSV

Steps to reproduce (*)

  1. Progrmatically import categories via CSV.
  2. Add same name child categories in different parent categories. category will created success.
  3. After update child categories data in CSV like description, is_active, etc. And re-import CSV.
  4. Only updating First same name child categories of parent. others same name category of child categories not updated.

Expected result (*)

  1. All the categories data should be updated successfully.

Actual result (*)

  1. Same name child categories data not updated. only updated first parent child categories of same name categories.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions