Skip to Content
Menú
This question has been flagged
2 Respostes
8309 Vistes

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

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

Avatar
Descartar
Autor Best Answer

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);

 

Avatar
Descartar
Best Answer

Is there a way to do this in v13?

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de gen. 19
8872
0
de des. 24
1336
0
de des. 24
1174
2
de jul. 24
3123
2
de març 22
12097