implement mobile-responsive category drawer and sidebar layout for shop page

This commit is contained in:
Alaguraj0361 2026-09-07 16:00:01 +05:30
parent e5c24097e8
commit fba213ecf3

View File

@ -243,7 +243,7 @@
</template> </template>
<!-- Replace Grid/List buttons with Categories button in Products Pager --> <!-- Replace Grid/List buttons with Categories button in Products Pager -->
<template id="Shivasakthi_products_pager_categories" inherit_id="website_sale.products_pager" name="Shivasakthi Products Pager Categories" priority="50"> <template id="Shivasakthi_products_pager_categories" inherit_id="website_sale.products_pager" name="Shivasakthi Products Pager Categories" priority="50">
<xpath expr="//*[contains(@class, 'products_pager')]//*[contains(@class, 'o_sortby_dropdown') or contains(@class, 'o_wsale_apply_grid')][1]" position="before"> <xpath expr="//t[@t-call='website_sale.sort']" position="before">
<button class="btn mobile-cat-bar-btn d-md-none" id="btnOpenMobileCategoryDrawer" type="button" aria-label="Open Categories"> <button class="btn mobile-cat-bar-btn d-md-none" id="btnOpenMobileCategoryDrawer" type="button" aria-label="Open Categories">
<i class="fa fa-th-large"></i> <i class="fa fa-th-large"></i>
<span>Categories</span> <span>Categories</span>