CSV import/export compatibility

LiteCart Fan
از کشور United States
عضو از ژانویهٔ 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
از کشور United States
عضو از ژانویهٔ 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
از کشور Sweden
عضو از مهٔ 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
از کشور United States
عضو از ژانویهٔ 2017

I made sure the parameters matched those of the export.

I will make another set of files tonight.

Developer
از کشور Finland
عضو از اکتبر 2017

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

tim
Founder
از کشور Sweden
عضو از مهٔ 2013
tim

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

LiteCart Fan
از کشور United States
عضو از ژانویهٔ 2017

here's the product export (which is only one product).

below is the error. 

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)

The screenshot is the options, which I basically only selected English to export.

LiteCart Fan
از کشور United States
عضو از ژانویهٔ 2017

Patch applied, will verify later.

This thread has been closed due to long inactivity. Posting to it is not possible.
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.