Description
Preconditions (*)
Magento 2.4
Two Magento instances: the first with Sample Data, the second without it
Case 1
Steps to reproduce (*)
- Use a standard installation with sample data deployed.
- Go to System -> Export and export all products.
- Go to a second installation without sample data deployed.
- Go to System -> Import and use the previously exported csv file.
Expected result (*)
I would expect the products to be imported to the new installation and the export function to provide a working csv file that can be used in any installation. In most systems that's the case except for Magento, so I think this could be considered more of a bug than a feature.
Products.zip
Actual result (*)
- First of all I get errors about the missing configurable attribute color and size.
- After creating or adding those attributes to the attribute set I receive an error about the missing options for those.
- After creating the missing options for the configurable attributes in the backend, the products are created but the configurable products are missing their associations.
Case 2
Steps to reproduce (*)
- Create a csv file for mass import some new products with attribute options
- Use a second installation without Sample Data
- Go to System -> Import and use the previously created csv file.
Additional information
Some cases I could encounter for this scenario. I would like to mass import some new products in the system in the same installation so I take out an export of the current situation and clean up all lines.
I then append new lines similar to the ones that were exported for the new products with attribute options that I don't know if they currently exist in the system.
Expected result (*)
The new attribute options are appended to the currently existing attributes.
Actual result (*)
- The system complains about the missing attribute options
- After creating the missing options for the configurable attributes in the backend, the products are created but the configurable products are missing their associations.