Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » DataObjectManager with ModelAdmin Duplication

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 340 Views
  • okotoker
    Avatar
    Community Member
    41 Posts

    DataObjectManager with ModelAdmin Duplication Link to this post

    I have ModelAdmin set up to create products. I then want to assign options to a product that would consist of a title and an image. I have everything working except when I click to create a new product all of the options are duplicated. If I delete an option from the new product its gone on the previously created product as well.

    What am I missing here?

  • okotoker
    Avatar
    Community Member
    41 Posts

    Re: DataObjectManager with ModelAdmin Duplication Link to this post

    I ended up just structuring things differently to get around using DataObjectManager to put options on one product ( sm, med, lg). I created a product type that I assign to a individual product with its single option. So now a product type has a tab with all of its products. So kinda the same thing and better is some ways.

    It would still be good to know how to do things the other way around.

    340 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.