Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
8311 Visualizzazioni

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

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

Avatar
Abbandona
Autore Risposta migliore

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
Abbandona
Risposta migliore

Is there a way to do this in v13?

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
gen 19
8873
0
dic 24
1336
0
dic 24
1174
2
lug 24
3125
2
mar 22
12099