Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

DataObjectManager with ModelAdmin Duplication


Reply


2 Posts   389 Views

Avatar
okotoker

Community Member, 41 Posts

2 March 2012 at 9:09am

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?

Avatar
okotoker

Community Member, 41 Posts

2 March 2012 at 1:22pm

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.