I am wondering what the best approach might be

Required Functionality for Digital Image Store:
File management, import from FTP & upload Options to bulk populate commerce_file fields for masscreating digital products from files

OPTION1: Upload or import via http://drupal.org/project/media and subsequently convert to products
- Feeds csv fetcher and http://drupal.org/project/views_data_export (view of files)
Needs: feeds mapper to map existing files without duplicating them http://drupal.org/node/1162602
- http://drupal.org/project/vbo
Actions & trigger
http://drupal.org/node/1186162 allowing commerce_file to use existing media assets

OPTION2: Import directly into products
- http://drupal.org/project/feeds_fetcher_directory
No parser http://drupal.org/node/1240036
- http://drupal.org/project/media_mover
Not ready for production

OPTION3: Create a dedicated module allowing to import from directory or massuploading
- Using code from Fupload and http://drupal.org/project/commerce_bpc integrating plupload or http://drupal.org/project/imce
- Use the media selector widget for commerce file fields on the http://drupal.org/project/commerce_bpc form as combinations for mass creating digital products, use a image/media/styles formatter for displaying a derivative image which doesn't count as a download (settings for "free version"/teaser format)

OPTION4: Automatically map media uploaded via media module to commerce files
- http://drupal.org/project/relation
- http://drupal.org/project/rules --> requires media to define a trigger http://api.drupal.org/api/drupal/modules--trigger--trigger.api.php/funct...
- http://drupal.org/project/media_browser_plus plugin

Further thoughts: defining titles, skus and prices for commerce_products when mass-reating

use http://drupal.org/project/exif data for title and sku:
- exif data doesnt get read on plupload, only after node update this might be adressed in http://drupal.org/node/667958#comment-5017480

Comments

discipolo’s picture

Issue summary: View changes

added further information

discipolo’s picture

there has been work on http://drupal.org/project/commerce_bpc i am currently inspecting whether this helps/solves the problem

discipolo’s picture

http://drupal.org/sandbox/atlea/1414774 seems promising: plupload for filefield sources.

discipolo’s picture

Issue summary: View changes

extended option 4

discipolo’s picture

looks like this might be a working approach!

BPC Commerce file

discipolo’s picture

bpc commerce file allows uploading multiple images into seperate products in one clean step. this is especially useful when selling differnt resolutions of files. with a little addition it would allow to upload a downscaled preview for that image into a public field as well.

sadly if adding many different files is the usecase i have not found a solution for automatically generating such a previewimage yet.

discipolo’s picture

Issue summary: View changes

added link to related issue