rdbms Posted September 29, 2010 Share Posted September 29, 2010 I got a product file from a supplier wich i would like to add to my new store. After a created the import file with alls the right fields, I got the strange thing that halve way the description text the import script thought is was already a new product, so all products where messed up. The cause was that the description text for several products had to many caracters to handle for the import script. Solution : Long description makes mess trimming one product to two. CubeCart import file is set to read 1000 characters from a line. Please download attached file and replace you current one admin/sources/products/import.inc.php Only change made is while (($data = fgetcsv($fp, 5000, $delimiter)) !== false) { where original line was while (($data = fgetcsv($fp, 1000, $delimiter)) !== false) { After this mod it worked great. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.