Add Odoo template to ensure shop filter sidebar visibility in the shop view.

This commit is contained in:
Alaguraj0361 2026-01-28 18:03:10 +05:30
parent 63c6edc4a7
commit e116b72a5b

View File

@ -2,16 +2,16 @@
<!-- Ensure Shop Filter Sidebar is Visible -->
<template id="products_categories_inherit" inherit_id="website_sale.products_categories" name="Show Categories Sidebar">
<!-- Force display of categories sidebar -->
<xpath expr="//div[@id='products_grid_before']" position="attributes">
<!-- <xpath expr="//div[@id='products_grid_before']" position="attributes">
<attribute name="class">col-lg-3 d-block</attribute>
<attribute name="style">display: block !important; visibility: visible !important;</attribute>
</xpath>
</xpath> -->
</template>
<!-- Ensure Products Grid Takes Remaining Space -->
<template id="products_grid_inherit" inherit_id="website_sale.products" name="Adjust Products Grid">
<!-- <template id="products_grid_inherit" inherit_id="website_sale.products" name="Adjust Products Grid">
<xpath expr="//div[@id='products_grid']" position="attributes">
<attribute name="class">col-lg-9</attribute>
</xpath>
</template>
</template> -->
</odoo>