My request is for Commerce file to allow multiple files to be apart of one overall product so the customer can choose, for example, the audio quality and pay more for better quality and less for worse quality. Also, the ability to be able to select multiple options if he/she wants more than one.

My first thought was having an attribute select list with radio/checkbox buttons link up with various uploaded files.

Has anyone have a solution for this limitation?

I am building a site that requires 3-5 different selectable options of the product. This way the customer doesn't have to download every different format of audio and can select what works for their system. This also opens up the opportunity for the business to make more money if the customer decides he/she needs multiple formats.

CommentFileSizeAuthor
#3 sample.pdf109.87 KBashok64554
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

darri’s picture

I've managed to do this with D7 Ubercart, but haven't had any luck with D7 Commerce.

This is a big shame for me as I would love to implement D7 Kickstarter distro with it's phenomenal faceted search, but have to give it a miss as my client requires his products to be priced depending on the user's choice of file format.

MacRonin’s picture

I haven't had a chance to load up kickstarter and actually experiment yet, but from what I've read, shouldn't you be able to do that with some sort of attribute (like sizes on a T-Shirt) ? The format (mp3,aiff, etc) being the attribute?

ashok64554’s picture

FileSize
109.87 KB
destinationsound’s picture

To my knowledge the attribute does not actually change the file associated to commerce file. attributes is designed for physical products and not yet easily integrated for automated digital download products.

If someone can prove me wrong and has made this work with attributes that would be awesome!

bojanz’s picture

Category: feature » support
Status: Active » Fixed

Different "formats" should be different products, all referenced from the same product display node.
That way they can be selected from an add to cart form, which will change the price and the file being licensed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

funkeyrandy’s picture

Issue summary: View changes

id like to reopen this as i have a use case that has 1 product that needs a selector for build version. since the files are bought with the single product, how do allow a user to choose the build and only have that file available as a download AND on their user page?

i cant make each option a different product because i need the single product sku to be the one used

funkeyrandy’s picture

Status: Closed (fixed) » Active
bojanz’s picture

Status: Active » Fixed

The system was designed so that you can use separate products for separate versions, united in a single product display.
I don't see logic in using the same SKU for different versions, it goes against the idea of a unique identifier, and makes it impossible
for you to identify the breakdown of versions bought.

Going against this architecture would require significant changes to the commerce_file module, so you'd have to code that yourself.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Daniel Schaefer’s picture

Status: Closed (fixed) » Active

How about using the Image formatters in Drupal? I haven't really played around with product attributes yet so I couldn't judge how we could implement it. But I think it would make sense to define the image size, for example, as attributes rather than seperate products.

I use a lot of fields on my image entity. With your suggested way I would have to upload each variation as a seperate file, or am I wrong? I don't think this would be good design.

DamienMcKenna’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Status: Active » Fixed
DamienMcKenna’s picture

Closing as this is a site architecture issue, which is out of scope for this module.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.