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, Ed, biapar, Willr, Ingo, swaiba

DataObjectManager showing manymany relationship

Go to End

9 Posts   3365 Views


Community Member, 57 Posts

23 December 2013 at 10:12am

Thanks for the confirmation of what the definition should be in Product.php martimiz.

So I currently have:

In Product.php

public static $belongs_many_many = array(
'ProductCategories' => 'ProductCategory'

and In ProductCategory.php

static $many_many = array(
'Products' => 'Product'

Which unfortunately (as noted in the bottom of my last post) still results in the large query error which includes: "Table 'productcategory_productcategories' doesn't exist" - even after I have run a dev/build...

Go to Top