magento / community-features

Magento Features Development is an Initiative to Allows Community Memebers Join to Development of Magento Features
46 stars 18 forks source link

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

Open kirtinariya1 opened 5 years ago

kirtinariya1 commented 5 years ago

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.
m2-assistant[bot] commented 5 years ago

Hi @kirtinariya1. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.3-develop instance - upcoming 2.3.x release

For more details, please, review the Magento Contributor Assistant documentation.

@kirtinariya1 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?


m2-assistant[bot] commented 5 years ago

Hi @engcom-Charlie. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

m2-assistant[bot] commented 4 years ago

Hi @engcom-Delta. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Delta commented 4 years ago

Magento 2 doesn't have possibility to add and update only categories via import CSV Looks like it could be marked as feature request. cc @sdzhepa