on ‎2020 Dec 14 2:13 PM
In the CategoryProductRelation relation, for the supercategories, I am trying to switch to ordered to be able to reorder this through Backoffice with Drag&Drop.
<relation code="CategoryProductRelation" autocreate="true" generate="true" localized="false">
<deployment table="Cat2ProdRel" typecode="143"/>
<sourceElement qualifier="supercategories" type="Category" cardinality="many" ordered="false">
<description>Super Categories</description>
<modifiers read="true" write="true" search="true" optional="true"/>
</sourceElement>
<targetElement qualifier="products" type="Product" cardinality="many" collectiontype="list" ordered="true">
<description>Products</description>
<modifiers read="true" write="true" search="true" optional="true"/>
</targetElement>
</relation>
Even when you try to customize it via 'ant customize', backoffice after reordering elements and save, the categories are restored to the initial order without any sort impact.
Example:


After saving the model the order is restored to original sort

Is it possible to apply the ordered logic on Backoffice for redefining standard sort option?
Is it possible to redefine this relation without use 'ant customize'?
Request clarification before answering.
I have 2 suggestions for you to investigate
relation.CategoryProductRelation.source.ordered=false
relation.CategoryProductRelation.target.ordered=falseI'm not sure whether they will work or not, but you may give a shot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.