Skip to Content
Menu
This question has been flagged
2 Replies
8331 Rodiniai

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

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

Portretas
Atmesti
Autorius 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);

 

Portretas
Atmesti
Best Answer

Is there a way to do this in v13?

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
saus. 19
8877
0
gruod. 24
1344
0
gruod. 24
1177
2
liep. 24
3129
2
kov. 22
12107