Hi All
I'm trying to create a product node automatically (in cron) for some uploaded photos, but I'm having a bit of trouble finding the right functions to use.
My photos have 2 attributes in a class(web and publications) - 2 different versions of the photo.
What I'm doing is using my iptc module ( http://drupal.org/project/iptc ) to extract the iptc data out of the photo (iptc.caption becomes the description, iptc.keywords go into the catalog). And I've got about 200 photos to process (and the photographer doesn't seem to want to stop taking photos!), hence doing it automatically.
So, I've got the resized images, a watermarked image suitable for the catalog, and the text for the product. Now I'm having trouble creating a full product, with catalog image and attribute image downloads.
I know I could do this in sql, but I'd prefer to do it thru drupal if possible.
Can anyone give me any pointers or point me to some uc module that does this, that might make things a bit clearer?
Cheers



Are you talking about using the product attribute system and associating a different image w/ an attribute? Or are you wanting to associate a separate file download based on a different product SKU? Will need a little more explanation.



Joined: 12/13/2007