1999 Posts in 530 Topics by 433 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 481 Views |
-
Adding Additional Images

16 September 2011 at 7:14am Last edited: 16 September 2011 7:16am
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(
$this,
'Images',
'Product_Image'
);
$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
-
Re: Adding Additional Images

17 September 2011 at 7:54am
Isn't there anyone willing to help, or does this just go down as another unanswered posts?
-
Re: Adding Additional Images

7 November 2011 at 12:15am
Hey
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.
Cheers
Nicolaas
| 481 Views | ||
|
Page:
1
|
Go to Top |

