Index: core/units/relationship/relationship_config.php =================================================================== --- core/units/relationship/relationship_config.php +++ core/units/relationship/relationship_config.php @@ -49,7 +49,7 @@ 'TableName' => TABLE_PREFIX.'CatalogRelationships', 'ParentTableKey'=> 'ResourceId', 'ForeignKey' => 'SourceId', - 'ParentPrefix' => 'p', +// 'ParentPrefix' => 'p', 'AutoDelete' => true, 'AutoClone' => true, @@ -115,4 +115,4 @@ ), ), ), -); \ No newline at end of file +); Index: modules/in-commerce/admin_templates/products/products_relations.tpl =================================================================== --- modules/in-commerce/admin_templates/products/products_relations.tpl +++ modules/in-commerce/admin_templates/products/products_relations.tpl @@ -1,7 +1,7 @@ - + @@ -35,30 +35,30 @@ //Relations related: a_toolbar.AddButton( new ToolBarButton('new_item', '::', function() { - openSelector('rel', '', 'TargetId', '950x600'); + openSelector('p-rel', '', 'TargetId', '950x600'); } ) ); function edit() { - std_edit_temp_item('rel', 'in-commerce/products/relations_edit'); + std_edit_temp_item('p-rel', 'in-commerce/products/relations_edit'); } a_toolbar.AddButton( new ToolBarButton('edit', '', edit) ); a_toolbar.AddButton( new ToolBarButton('delete', '', function() { - std_delete_items('rel') + std_delete_items('p-rel') } ) ); a_toolbar.AddButton( new ToolBarSeparator('sep3') ); a_toolbar.AddButton( new ToolBarButton('approve', '', function() { - submit_event('rel','OnMassApprove'); + submit_event('p-rel','OnMassApprove'); } ) ); a_toolbar.AddButton( new ToolBarButton('decline', '', function() { - submit_event('rel','OnMassDecline'); + submit_event('p-rel','OnMassDecline'); } ) ); @@ -87,14 +87,14 @@ - +
- + "> "> Index: modules/in-commerce/admin_templates/products/relations_edit.tpl =================================================================== --- modules/in-commerce/admin_templates/products/relations_edit.tpl +++ modules/in-commerce/admin_templates/products/relations_edit.tpl @@ -11,37 +11,37 @@