Closed kamilmaliszewski closed 3 years ago
Choose "Add/Update" option and select prepared CSV
Well, add/update should definitely not remove previously assigned categories.
@orlangur "Add/Update" means:
If you thnik that:
add/update should definitely not remove previously assigned categories.
Pleaes tell me how can I remove old category from product via CSV import. "Replace" will change the ID of products, so it is not solution.
Edit -> https://magento.stackexchange.com/questions/129974/functionality-of-add-update-replace-delete-clarity-needed Here the 1-st answer show the behavior of import for people who don't have knowledge about it. Generally:
@kamilmaliszewski, thank you for your report. We've acknowledged the issue and added to our backlog.
Hi @rahulwebkul. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if your want to validate it one more time, please, go though the following instruction:
[x] 1. Add/Edit Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[x] 2. Verify that the issue is reproducible on 2.3-develop
branchDetails
- Add the comment @magento-engcom-team give me 2.3-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop
branch, please, add the label Reproduced on 2.3.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[x] 3. Verify that the issue is reproducible on 2.2-develop
branch. Details
- Add the comment @magento-engcom-team give me 2.2-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.2-develop
branch, please add the label Reproduced on 2.2.x
[ ] 4. If the issue is not relevant or is not reproducible any more, feel free to close it.
Any update on this issue?
Yes, finding same issue in 2.2.5.
what's the status of this issue?
Hi, Any news on this issue? Still happening in 2.3.1.
Hi, Any news on this issue? Still happening in 2.3.1.
I'd also like an update as this is something that I could do with being fixed.
FYI, PR #18898 fixed the issue for me
the same issue occurred in the REST API.
Hi @rahulwebkul. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
[ ] 1. Add/Edit Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 2. Verify that the issue is reproducible on 2.3-develop
branchDetails
- Add the comment @magento give me 2.3-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop
branch, please, add the label Reproduced on 2.3.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 3. If the issue is not relevant or is not reproducible any more, feel free to close it.
@magento give me 2.3-develop instance
Hi @rahulwebkul. Thank you for your request. I'm working on Magento 2.3-develop instance for you
Hi @rahulwebkul, here is your Magento instance.
Admin access: https://i-15273-2-3-develop.instances.magento-community.engineering/admin
Login: admin
Password: 123123q
Instance will be terminated in up to 3 hours.
I am able to reproduce this issue on magento vanilla instance. issue exist in 2.3-develop branch
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Thank you for your contributions.
Preconditions
- Magento 2.2.3
- PHP 7.1
- MySQL ver 14.14 Distrib 5.7.21
Steps to reproduce
- Add one product with SKU "Test" and "categories" = "category A" (via CSV import or Admin Panel)
- Prepare an update CSV with single product -> SKU "Test" and "categories" = "Category B"
- Go to import module
- Choose "Add/Update" option and select prepared CSV
- Import it
Expected result
- Category A will be removed from "Test" product
- Category B will be assigned to "Test" product
- Finally "Test" product will have only one category -> "Category B"
Actual result
- Product "Test" is assigned to "Category A" and "Category B", so both instead new one
- "Category A" is not removed from this product.
P.S I know that for "Replace" old categories will be removed, but I don't want to do "Replace", becuase the ID will be replaced by new one. I want to have the same ID for updated product.
P.S 2: The same issue is for Images added via CSV import
Did you find a way of removing old categories during CSV import? I'm trying to do it with configurable products that have a lot of configurable options and a lot of categories, so I really don't want to remove old categories at the expense of losing the configurations, eg by creating a new product. Your help much appreciated.
@bigbadbaz did you figure it out? I cannot seem to find a way to do it.
@bigbadbaz did you figure it out? I cannot seem to find a way to do it.
Only by getting this extension. You can create category groups and assign and remove categories at the same time.
the way I would expect it to work would be by putting EMPTYVALUE__ in the category column to remove the previously assigned data.
however, when I tried this it just created a new category called EMPTYVALUE__ and assigned it to the product
Am I correct in thinking this is the intended behavior?
Preconditions
Steps to reproduce
Expected result
Actual result
P.S I know that for "Replace" old categories will be removed, but I don't want to do "Replace", becuase the ID will be replaced by new one. I want to have the same ID for updated product.
P.S 2: The same issue is for Images added via CSV import