CSV import/export compatibility

LiteCart Fan
Depuis United States
Membre depuis janv. 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
Depuis United States
Membre depuis janv. 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
Depuis Sweden
Membre depuis mai 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
Depuis United States
Membre depuis janv. 2017

I made sure the parameters matched those of the export.

I will make another set of files tonight.

Developer
Depuis Finland
Membre depuis oct. 2017

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

tim
Founder
Depuis Sweden
Membre depuis mai 2013
tim

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

LiteCart Fan
Depuis United States
Membre depuis janv. 2017

Patch applied, will verify later.

Ce fil de discussion a été fermé en raison d'une longue inactivité. Il n'est pas possible de publier dessus.
Ce site n'utilise aucun cookie ni aucune technologie de suivi tierce. Nous pensons pouvoir faire mieux que les autres et nous nous soucions vraiment de votre vie privée.