5 replies [Last post]
bmwagner's picture
Offline
Joined: 09/29/2009
Juice: 8
Was this information Helpful?

Greetings,

Have some issues with Product Import with a csv via Node Import:

1. How to import images directly from a URL at the time of the batch import of all products via Node Import. I am able to create the products with Node Import, and then go into each product node and use Filefield Sources to specify a URL for image import. This is a manual process... I'm looking for an automated process that essentially does the same thing Filefield Sources does, but takes the URL from the csv and imports the image along with the rest of the product information. Then have ImageCache work its magic to create an appropriately size image and thumbnail.
2. How to update products without duplicating products. Currently, when a new import is done, completely new products are created such that an exact duplicate now exists in the catalog. It would be great if the import looked for the same SKU (in our case we have a unique product ID) and if it finds the same SKU, it will either ask if the user would like to go product node by product node for those SKUs and merge, or simply overwrite the old product information with the new information. Even better would be to look at two fields, like SKU and part no., such that a confirmation that this is in fact the same product, just in case the product ID is not unique.
3. How to import taxonomy and make it useful. Currently, I used taxonomy import to import three levels of classification, ie., parents, children, and grandchildren, or Lawn and Garden (parent), Lawn Care (child),and trimmer (grandchild). Then, in the csv, I have three columns: Category 1 (parent), Category 2 (child), Category 3 (grandchild). This appears to place the product in the appropriate categories, but the counting for the Catalog is off. If I have two products in Lawn Care, since these products are classified as both Lawn and Garden AND Lawn Care, it looks like Drupal counts them twice, such that there are four Lawn and Garden Products. This may be a bug in the Taxonomy module, I'm not 100% sure.

If you need clarification on any of these points, please let me know. Also, if any of this would be more appropriate for a contracted developer to look at (functionality like this simply does not exist), please provide that advice, as I'm considering seeking out a qualified developer to help implement these items and make our product import work per our needs.

Cheers everyone!

Bret

jorditr's picture
Offline
Getting busy with the Ubercode.
Joined: 10/31/2007
Juice: 256
Hi bmwagner, 1. when

Hi bmwagner,

1. when importing nodes with "Node Import", you can add a column on you CSV file with the picture name, place all the picture on the proper folder inside you sites/all/files (or whatever) structure, and Node Import will do the rest

2. I've created a small module for that purpose "Stock & Price CSV Updater" that you'll find on http://www.ubercart.org/contrib/12428

3. you should be able to import taxonomies with "Node Import"

Cheers

bmwagner's picture
Offline
Joined: 09/29/2009
Juice: 8
importing images

Regarding item 1-

What if the images are on another server. For instance, I need to get the image here: http://www.psabrowse.com/catalog/images/CMP-05B.jpg... into my product node.

So when the images are not in a directory on the immediate server, what can we do to get the node import to go out and retrieve the image?

Regarding item 2-

Thanks for the notice! I'll have to take a closer look at Stock and Price. I'm going to be updating more than just stock and price but I see that this can be modified by adding to the array.

Cheers

kpastore's picture
Offline
Joined: 10/23/2009
Juice: 2
Importing Images from Another Server

I would like to know if it is possible to do a mass import of images from another server, as well. I am building a site that will need thousands of images imported from many different web sites. I would definitely like to do this during the import, similar to bmwagner's item 1.

Thanks for any thoughts on this.

Francois's picture
Offline
Joined: 08/19/2008
Juice: 387
Images on Server

What's worked for me in the past, and this might not work for you, is to add the url of the images in the "image link" field. You can only add 1 image though.

Would be nice if there was a stronger product import module though. I would think many potentials are being prevented from adopting Ubercart for this 1 reason.

--------
'Twas the end of the world, and you didn't even know it.

mwbyrd's picture
Offline
Joined: 12/25/2010
Juice: 9
Product Classes

Did you ever figure this out? I'm thinking of trying it by creating a Product Class with the same name as a custom node. I've been able to get the images from other servers to appear by massaging a CSV file in Excel (Added the appropriate HTML markup). What I'm concerned with is assigning the appropriate Taxonomy to the products.

Mike