4 replies [Last post]
tassoman@drupal.org's picture
Offline
Joined: 02/26/2008
Juice: 97
Was this information Helpful?

Hi to all,
I have to import thousands of products using node_import. The problem is that main product doesn't exists, and would be a «virtual» product grouping real products of the same kind but different colors.

So when customers goto checkout is asked to select a colour as mandatory option.

The question is: is there some nodeapi for attributes and options to use while importing products? The goal is to assign custom options and prices and get the «virtual» base product priced by option selected.

doomed@drupal.org's picture
Offline
Bug Finder
Joined: 04/05/2008
Juice: 334
Re: custom attributes and options on node creation

In all honesty, forum support has been a little stale. Chances are people wont respond if you dont explain yourself clear and in good english.

Could you try again? Go slow and give an example of what you want and how it should work.

I may give some input because i went thru this (more or less) recently.

lavinm's picture
Offline
Joined: 01/24/2009
Juice: 6
uploading large number of product

Hi,
THis thread seems interesting to me.
I'd ty to illucidate the requirement from my perspective @ doomed

a) Get third party feeds of products from e-tailers (not really retricting this to the likes of standard e-tailers like shopping.com etc)
Get the feeds for products such that they fit into the dB with the correct Product SPecs attributes in place
e.g. if im importing feed for a laptop: atrributes for specs would be on the lines of RAM,Screen size, battery life, OS, HDD
On the other hand if im importing feeds for TV, then the attribute for the product's specs become like: screen size, resolution,LCD/PLASMA, etc.

Is there an automated process for (1) importing feeds for products (2) fitting these feeds into the right places in the dB??

b) Let third party e-tailers upload the feeds by CSV /XML files. Can the above process of feeding in the coreect dB tables be achieved in this method, how?

Andy's picture
Offline
Administrator
Joined: 08/07/2007
Juice: 1076
Re: uploading large number of product

There are an infinite combination of import methods (flat file, CSV, XML, FTP, pull from database, POST etc. . .) attribute features (attributes which must be selected or not, change the price or not, change the SKU or not, change the weight or not, change whether other attributes are available or not. etc. . . All of these options make it difficult to create an automated method for importing products from a specific feed, and mind bogglingly (is that a word? Smiling difficult to write a generic automated method to handle most or any feed.

Currently Ubercart import support is crude. It is designed with the concept that you are importing once in the process of moving from your old site to your new Ubercart site. Even then it is more of a starting point which you will need to modify a little to meet the specific requirements of your situation.

As a result, there is no easy way to do this. It will definitely require some custom code. Can it be done? Yes, absolutely, but it requires someone writing some non trivial code.
Peace,
Andy

lavinm's picture
Offline
Joined: 01/24/2009
Juice: 6
Re: Re: uploading large number of product

Thanks for the prompt reply, Andy!
Ca you guide me how to set up a custom attribute feature for the product in a single/marketplace UC
I'd like to get rid of certain features/attributes like Seller Commission(Cost), SKU (make it optional) and maybe ass a couple of custom fields to the Product.
AS my aim is to implement a product catalog only for multiple merchants. No cart. No Gateway!

Thanks again!