Jump to:

2088 Posts in 1007 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » add file upload to product

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1239 Views
  • maryfran
    Avatar
    Community Member
    12 Posts

    add file upload to product Link to this post

    Hi!

    I am building an e-commerce site that would require the ability to upload an image from a customer's computer to a product. Is this possible, and where would I start?

    Any advice would be appreciated as it is my first e-commerce site and I am building it for a friend as a favor and I really don't want to learn drupal or joomla to make this happen.

  • Stijn
    Avatar
    Community Member
    46 Posts

    Re: add file upload to product Link to this post

    Anybody?

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: add file upload to product Link to this post

    @maryfran: to do this you'll need to understand how to "Decorate" dataobjects, how to build forms in SS, and also how to edit .ss templates.
    You'll want to decorate Product with an ImageUploadForm that uploads the customer image to the product.

    If you want 'many' images for one product, you'll probably want to decorate Product with "many_many" CustomerImages.

    Following the SS tutorials may be a good place to start: http://doc.silverstripe.org/sapphire/en/tutorials

    1239 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.