跳至内容
菜单
此问题已终结
2 回复
8326 查看

Something like this is needed, but unfortunately it doesn't work:

<template id="..." inherit_id="..." priority="5"/>

形象
丢弃
编写者 最佳答案

Setting priority for already defined templates doesn't seem to be possible. At least in a flexible way which would take care of allowing further overriding.

So, the only way to e.g. reorder Product Categories and Product Attribute's Filters in Shop would be to employ JS:

        var $attr_to_reorder = $('.js_attributes', oe_website_sale);
        var $categ_to_reorder = $('#products_grid_before > ul', oe_website_sale);
        $categ_to_reorder.insertBefore($attr_to_reorder);

 

形象
丢弃
最佳答案

Is there a way to do this in v13?

形象
丢弃
相关帖文 回复 查看 活动
1
1月 19
8875
0
12月 24
1343
0
12月 24
1176
2
7月 24
3127
2
3月 22
12105