New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable variations can't import when delimiter is set as Pipe |
#8754
Comments
it is a duplicate #11026 |
Semantics, but it can't be a duplicate. |
I got the same error in Magento 2.2.0 |
I can confirm this is still an issue in Magento 2.3.2 Field separator: ; With this combination configurable attributes are not imported correctly. |
Still happening in 2.3.4. It's basically impossible with import configurable variations AND product categories at the same time - and if it is the documentation doesn't clearly list how. Example for a configurable product:
Field separator: , will lead to the categories being created correctly, but the product variations won't associate with the original configurable SKU. If you switch the Multiple value separator to "," - then the product variations will correctly associate with the configurable product, but instead of them being assigned to |
I have the same problem. Any new item created by scheduled import that is configurable, dose not get the chidden associated with it in Magento. For our scheduler: Now, if I take the same import, pull out all the parent items, the entire row with the configurable associations, create a new .csv file with just the parent. Then take that file and import it through Import>Validation, it passes validation, and them I import right their after validation = the children are now associated with the parents. For that import: Problem is, I don't know when employees here put in new items, so we had lots of products no one could buy. And our photographer for the products dose not know, so she will go in and load the images in the products with out the associations, save it, and......now the product is set too simple. And now we can't fix the item, have to go in the database and cage the simple items that are suppose to be configurable to configurable, and then re-import the data through the validation import. :( My developers have not been able to fix the issue. They are suggesting we spend a bunch of money to get our inventory management company to re-program our overnight export file with out using the "|" for a mother column we have. Did you ever get this resolved or have any idea what I could do to get this resolved? Any advice would be greatly appreciated. Thanks! |
When you import products and set the Multiple value separator as a pipe
|
.The configurable variations will not work.
Preconditions
Magento Version:
2.1.5
Php version: 7.0.15
Mysql version:
5.7.17Product set has a
configurable product`Steps to reproduce
pipe
(Theconfigurable_variations
will be exported aspipe
seperating multiple key value pairs seperated by a,
) eg:sku=shirt-black,color=Black|sku=shirt-red,color=Red
|
Expected result
Actual result
The issue is the file
magento/module-configurable-import-export/Model/Import/Product/Type/Configurable.php
It is hardcoded to use the seperator:
ImportProduct::PSEUDO_MULTI_LINE_SEPARATOR
which is a|
. Then it uses the$this->_entityModel->getMultipleValueSeparator()
seperator you set as the delimiter of key value pairs. Which is clearly not possible as the delimiters need to be different.The text was updated successfully, but these errors were encountered: