CSV import/export compatibility

LiteCart Fan
Från United States
Medlem sedan jan. 2017

in litecart admin, I exported the csv of one product.

i opened this csv in excel, and altered the id to be '2', which is unique and new.

i saved it to a different csv file.

i then attempted to import this new csv with the import new products option checked.

(the end goal was to clone the product by editing csv / adding to it)

I received the following, and no new product in the database.

Is the export incompatible with the import? thanks...

CSV Import

Warning: Inconsistent amount of columns on line 2 in ~/includes/functions/func_csv.inc.php (Line 63)
Warning: Invalid argument supplied for foreach() in ~/admin/catalog.app/csv.inc.php (Line 271)

LiteCart Fan
Från United States
Medlem sedan jan. 2017

ok, in an attempt at making the problem less complex, I simply downloaded a csv export, and reuploaded it with no alteration, and still get the same error.

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

They should be compatible with one another. Attach your export here in the thread so I can see what's wrong in it. Did you set any specific parameters during import?

LiteCart Fan
Från United States
Medlem sedan jan. 2017

I made sure the parameters matched those of the export.

I will make another set of files tonight.

Developer
Från Finland
Medlem sedan okt. 2017

Hijacking this thread for couple words, sorry. Idea for Tim: make a Duplicate/Clone feature to products.

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

@kuopassa this feature is already in the list of products. Admin -> Catalog

LiteCart Fan
Från United States
Medlem sedan jan. 2017

Patch applied, will verify later.

Den här tråden har stängts på grund av lång inaktivitet. Det går inte att posta inlägg till den.
Denna webbplats använder inga kakor och ingen spårningsteknik från tredje part . Vi tror att vi kan göra det bättre än andra och tänker verkligen på din integritet.