CSV import/export compatibility

LiteCart Fan
Tól től United States
Tagság jan. 2017 óta

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
Tól től United States
Tagság jan. 2017 óta

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
Tól től Sweden
Tagság máj. 2013 óta
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
Tól től United States
Tagság jan. 2017 óta

I made sure the parameters matched those of the export.

I will make another set of files tonight.

Developer
Tól től Finland
Tagság okt. 2017 óta

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

tim
Founder
Tól től Sweden
Tagság máj. 2013 óta
tim

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

LiteCart Fan
Tól től United States
Tagság jan. 2017 óta

Patch applied, will verify later.

Ezt a témát a hosszú inaktivitás miatt bezártuk. A hozzászólás nem lehetséges.
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.