...
There is no admin setting, the module is enabled after installation
Frontend
Sorting is working only in configured containers, the configuration is stored in file etc/view.xml
.
Default enabled containers:
Code Block | ||
---|---|---|
| ||
<vars module="MageSuite_ProductDetailsReorder">
<var name="sortable_containers">
<var name="0">product.info.details</var>
<var name="1">product.info.details.main</var>
</var>
</vars> |
To sort blocks inside containers new argument needs to be added:<argument name="sort_order" xsi:type="string">120</argument>
argument with If this is not specified then the default sort_order
name can be used in order to sort child blocks inside product.info.details
and product.info.details.main
blocks. is 10.
Example:
Code Block | ||
---|---|---|
| ||
<referenceBlock name="product.attributes" group="column_right">
<arguments>
<argument name="contain_content" xsi:type="boolean">false</argument>
<argument name="sort_order" xsi:type="string">20</argument>
</arguments>
</referenceBlock> |