Page 1 of 1

How to support multi file uploadin for online photo printing

Posted: Wed Aug 06, 2014 11:48 am
by stoan
I would like to develop an online photo printing service using Broadleaf. May you please recommend a good approach to meet this requirement?

I have never used Broadleaf nor Spring but I'm a junior Java developer.

Do I develop a new module?

How do I count uploaded files?

How do I link the uploaded files to an Order?

Do I use 3rd party uploaders? e.g. http://fineuploader.com/demos.html

P.S. I would really prefer to keep the files on Amazon s3

Any help or direction will be appreciated.

Thanks
Siya

Re: How to support multi file uploadin for online photo printing

Posted: Thu Aug 14, 2014 10:03 pm
by phillipuniverse
You will probably want to make individual Products representing each photo that you would sell. One way to do this would be to associate media to a Product via the 'media' map. You could specify a file that you uploaded in the admin (which can be stored on S3 with the S3 file provider: http://www.broadleafcommerce.com/docs/amazon/current) or the public URL of the file on the S3 bucket.

You could upload the actual images themselves onto S3 in a different process or you could upload them through the admin if you are using the S3 file provider.

The files would be linked to an Order because they are individual products. Products/Skus are added to the order. From there you can get the file that the user actually purchased.

Re: How to support multi file uploadin for online photo printing

Posted: Fri Aug 15, 2014 2:08 am
by stoan
Thanks for the reply @phillipuniverse :-) but I think you missed my requirement. I don't want to sell my own photos. I want to be a virtual printing photo lab for photographers and other consumers.

I wish to create a service like:

http://www.snapfish.com/

http://www.shutterfly.com/

http://www.mpix.com/