Jump to content

Importing products issue solved


rdbms

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...