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.
[url=http://www.silverstripe.org/e-commerce-module-forum/show/13641] This post[/url] 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(
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.