- Posts: 146
- Thank you received: 2
Text to Columns Exported CSV
-- Joomla version -- : 3.3.1
Trying to properly set up my csv file for import. However, when I export what is currently in the store demo and open up the csv using excel is breaks up the entries into multiple columns, because the description has commas. I then cannot use the "Text to Columns" function to see the the structure.
Any work around?
Please Log in or Create an account to join the conversation.
When you open the CSV file in to Excel, you have to choose the column delimiter.
You have to use ";" and only ";". If you select another delimiter, Excel could read the CSV wrong and display something unreadable.
I open the CSV you attached, it's good ; no problem.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I checked this csv file and it seems to be correct, the line 57 don't have any problem at the product description.
I'm using Excel.
Please Log in or Create an account to join the conversation.
I still get the descriptions split. See attached screenshots below...struggling and frustrated over here.
Please Log in or Create an account to join the conversation.
Like previously, not a single problem.
Please check that you're right opening the CSV as a CSV using " ; " as delimiter and double quote (") as text delimiter.
It is one of the main rules of the CSV format.
en.wikipedia.org/wiki/Comma-separated_values
I don't have Excel, I'm using OpenOffice/LibreOffice. But a lot of users are using Excel for the CSV (or HikaShop team, like Xavier) and they didn't have special problem, so I suppose that one main option is not right when you open the file.
But for more details, I will suggest you to see with Excel support ; it is outside our knowledge.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
There are several lines, where the export has a hard return, causing parts of the entry to start a new line. It's not a delimiter issue, there is an actual line break.
In the screenshot (LibreOffice Import Settings.jpg), you can see the CSV settings in LibreOffice and the CSV has already has a new line under the entry for 1847 (1% Spandex).
Please look at lines AFTER 1847, 2136, 2139, 2161 as examples in the attached CSV for examples.
Does that make sense?
Please Log in or Create an account to join the conversation.
As you can see there is no problem.
I see that in the "text delemiter" option of your LibreOffice you don't have the double quotes selected while I do have them selected on my end (as far as I know " is there by default).
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
CSV format allow line break (carriage return) into text cells.
So there is not specific problem if the software read correctly the CSV like OpenOffice/LibreOffrice or Microsoft Office.
en.wikipedia.org/wiki/Comma-separated_values
Fields with embedded line breaks must be quoted (however, many CSV implementations simply do not support this).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
So everything looks fine.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.