I need my clients to select which fileformat (of an image) they want to purchase but I don't want to set up a product for each different format. Is there a way before they click on "Add to cart" that they can select what filetype they want to purchase? At the moment they can just buy the product and "choose" which fileformat to download but all of the formats are available to them which is a big problem for me :)

Comments

recrit’s picture

Status: Active » Closed (won't fix)

Product variations are setup as separate products, so you would have a product per file type and then thats the product that would get added to the cart. Any other way then there's no way to tell which file you are purchasing if they are all on the product. If the admin of multiple products is an issue, I would look into a feeds solution or some other mass creation of products.

hmartens’s picture

Thanks recrit

I solved this a while back. I think Rfay gave me some tips :) I had to add a field for every format under Product Types and then create a product for each filetype and then combine them all together and add a sql query to hide duplicates ;) So now in the product display you choose with a dropdown menu what fileformat you want to purchase and voila! You can check out the results ;) www. embroiderydelight.com

Drupal Commerce and Commerce File is so freakingly awesome! Thanks to recrit, rszrama and Commerce Guys for all the hardwork! Oh yes and also thanks to Randy Fay for the brilliant Module Tuesday videos ;)

funkeyrandy’s picture

Issue summary: View changes

can you explain this in more detail? not sure what u mean by
had to add a field for every format under Product Types