Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
8336 Tampilan

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

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

Avatar
Buang
Penulis Jawaban Terbai

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
Buang
Jawaban Terbai

Is there a way to do this in v13?

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jan 19
8888
0
Des 24
1345
0
Des 24
1177
2
Jul 24
3131
2
Mar 22
12114