Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
8339 Zobrazení

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

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

Avatar
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

Is there a way to do this in v13?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
led 19
8889
0
pro 24
1347
0
pro 24
1179
2
čvc 24
3131
2
bře 22
12123