I have a products class extending from Page and PageSections extending from DataObject. Each page can have many Page Sections and each Page Section can belong to many Pages.
.... //Page public static $belongs_many_many = array( "PageSections" => "PageSection" );
... //Page Section public static $many_many = array( 'Pages' => 'Page' );
Product gets it's parent fields.
What I'm trying to accomplish is: each time I create a product, associate an specific existing Page Section by default.
Either via the Product model or calling the specific Page Section in the Product template.
Thank you for your help.