Need help with csv import

  • Posts: 117
  • Thank you received: 6
10 years 6 months ago #191750

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.10
-- Browser(s) name and version -- : n.a.

Good morning

We have some problems with the import of a csv into Hikashop, using the Hikashop Products Cron Update Plugin.

It seems that, whatever we try (even when we import the CSV with column names translation, as explained here: www.hikashop.com/support/support/documen...hop-import.html#cron ), we cannot import NEW products, only update products which are already in the tables.
A zip with two examples, both csv and xml, is available here:
onpole.org/rnshop/images/examples.zip
There are 10 lines in the example, the real list has 9600 lines

We would be gratefull with any help to load the csv into the shop

Greetz, Dick, Bjørn

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 6 months ago #191757

Hi,

The issue here is your CSV. It is not valid.
Here is what I see when I open it with a text editor: take.ms/88OgK
As you can see, you have several problems:
- The lines start with a " which shouldn't be there
- All the " are actually "" so the system discard them.
- you have ; at the end of the lines which shouldn't be there either

So the line:

"11,4008429547218,""SHEBA ALU PATE MET RUND"" ,""100 GR"",,1800,18,13,288,""E20b"",39,""KAT"",""NATVOER"",""SHEBA"",16,0.78,0.94,9.993,12.091,21,10,19,21,""<p>Sheba Alu met zachte paté"; met rund is een delicaat menu, dat de scherpe zintuigen van uw kat prikkelt. Het product is zo verfijnd dat het zonder kunstmatige kleurstoffen, smaakstoffen en conserveringsmiddelen kan - de natuurlijke onvervalste smaak van het product spreekt voor zich.<br><br>Sheba Alu kuipjes zijn volwaardige maaltijden. Geef een Sheba kuipje per maaltijd. Een volwassen kat (4 kg) heeft voldoende aan ca. 2-3 kuipjes per dag.<br><br><strong>Ingrediënten:<br></strong>Vlees en dierlijke bijproducten (waarvan min. 4% rundvlees)," mineralen. </p>""";;;;;;

should actually be:

11,4008429547218,"SHEBA ALU PATE MET RUND" ,"100 GR",,1800,18,13,288,"E20b",39,"KAT","NATVOER","SHEBA",16,0.78,0.94,9.993,12.091,21,10,19,21,"<p>Sheba Alu met zachte paté met rund is een delicaat menu, dat de scherpe zintuigen van uw kat prikkelt. Het product is zo verfijnd dat het zonder kunstmatige kleurstoffen, smaakstoffen en conserveringsmiddelen kan - de natuurlijke onvervalste smaak van het product spreekt voor zich.<br><br>Sheba Alu kuipjes zijn volwaardige maaltijden. Geef een Sheba kuipje per maaltijd. Een volwassen kat (4 kg) heeft voldoende aan ca. 2-3 kuipjes per dag.<br><br><strong>Ingrediënten:<br></strong>Vlees en dierlijke bijproducten (waarvan min. 4% rundvlees), mineralen. </p>"

for the CSV to be in a valid format.

The following user(s) said Thank You: Formidog

Please Log in or Create an account to join the conversation.

  • Posts: 117
  • Thank you received: 6
10 years 6 months ago #191915

Thank you!

We thought so!
But since we got the csv from the supplier (and it is used by others in the same format) we were confused.
Many thanks for the quick reply

Dick

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum