CSV import/export compatibility

LiteCart Fan
Od United States
Użytkownik od sty 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
Od United States
Użytkownik od sty 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
Od Sweden
Użytkownik od 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
Od United States
Użytkownik od sty 2017

I made sure the parameters matched those of the export.

I will make another set of files tonight.

Developer
Od Finland
Użytkownik od paź 2017

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

tim
Founder
Od Sweden
Użytkownik od maj 2013
tim

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

LiteCart Fan
Od United States
Użytkownik od sty 2017

Patch applied, will verify later.

Ten wątek został zamknięty z powodu zbyt długiej nieaktywności. Przesyłanie nowych odpowiedzi nie jest teraz możliwe.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.