Jump to:

2084 Posts in 1005 Topics by 453 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Adding Additional Images

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: 670 Views
  • jbundy
    Community Member
    8 Posts

    Adding Additional Images Link to this post

    I've read all throughout this forum and see that people have touched on this topic quite a bit, but there are no definitive answers. Either the posts raise the question and go unanswered or it's years old.

    I am looking to add the option to include multiple images to the e-commerce module. I have tied many posted solutions but nothing seems to work. I am currently running e-eCommerce module 8.2-rc1 and the payment module 0.3 and have dataobject_manager installed.

    This post seems to get me close, but it still does not seem to work.

    I'm getting various error messages when I add this block of code to my ecommerce/code/products/Product.php. I assume I am adding it in the wrong spot.

    $MyImageManager= new DataObjectManager(
    $fields->addFieldToTab("Root.Content.Images", $MyImageManager);

    I'm not sure if this is the right direction or if I'm barking up the wrong tree. Any suggestions or help would be appreciated.

    -- John

  • jbundy
    Community Member
    8 Posts

    Re: Adding Additional Images Link to this post

    Isn't there anyone willing to help, or does this just go down as another unanswered posts?

  • Nicolaas
    Forum Moderator
    213 Posts

    Re: Adding Additional Images Link to this post


    Sorry for the slow reply.

    You can extend the produt Page and add more images OR you can decorate it. I have done both and that works great.

    If you need more help with this then I can provide some examples.



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.