magento2: IMPORT: additional_attributes are completely ignored in 2.2.3
Preconditions
In a Magento admin login, we should have custom attributes created.
- Navigate to Store>products page: Click on new attribute button, and just add the name of the attribute eg: Cust_Att1. Without any other changes, save the attribute.
- Navigate to Store>Attribute Set: Click on the default attribute set record, Drag and drop the color attribute and as well the above created Cust_Att1 attribute. Save the attribute set.
Steps to reproduce
- Prepare a CSV file with below content to import it further.
sku,price,attribute_set_code,product_type,name,additional_attributes
913352,1,Default,simple,ImprotProd5,"cust_att1=ca_edited,color=Blue"
917252,1,Default,simple,ImprotProd6,cust_att1=ca_edited
Note- This above given file data matches according to the above pre condition example data.
- Navigate to Admin login > System> Import page.
- Select Entity type- product and import behaviour add/update
- Select the checkbox - Fields enclosure.
- Choose the above created file, click on check data and followed by import.
- Navigate to Catalog>products and search with the SKU text - 913352, and open the product.
- Check the product’s custom attribute value whether that is as per imported file content.
Expected result
Additional attributes should be included along with the other product data.
Actual result
Products get created, but misses to store with the additional attribute column data.
Note: We get to see this issue only when the checkbox Fields enclosure filed is checked while importing in the Import page.
About this issue
- Original URL
- State: open
- Created 6 years ago
- Reactions: 2
- Comments: 40 (2 by maintainers)
Anyone reading this, don’t tick the box “Fields enclosure” - leave that unchecked. In my tests, when checking that box, importing additional_attributes would not work
2.3.5-p1 imported 15k products, then realized no additional attributes… nice
This is still an issue on version 2.3.5 p1. is there a fix we can do directly on our installation or something??
I can confirm the same issue occurs on 2.2.9. Is this something that is being addressed?
Thanks.
Still on 2.3.4. Just bumped into the issue today.
Same problem with version 2.4.3
If the “Field Enclosure” box is checked the import of attributes does not work.
No problem if the option is not checked
dont waste your time here just use full import module from
https://docs.met.tdintern.de/pacemaker/1.3/ce_installation.html
install
composer require techdivision/import-cli-simpleadditional_attributes doesn’t work in magento 2.3.5-p1 but it works if I put all the custom attributes as columns, but not via “additional_attributes” field. Please check and provide some fix.
still on 2.3.3 I got into this problem yesterday for the first time. So from my side this is a +1
I can recommend using https://github.com/bigbridge-nl/product-import. It took me a day to get the Magento import working, only to find out it didn’t do anything with the attributes… I converted the CSVs I had to XMLs, and within an hour I had all my data imported. Saves you a lot of hassle of inserting in the right tables…
FFS… Seriously, one and a half year later and still not working…
Same on 2.3.2