You've already forked wc-bootstrap
-
WooCommerce Bootstrap 0.1.7
Pre-Releasereleased this
2026-03-29 13:20:02 +00:00 | 3 commits to main since this releaseAdded
- Product category tree sidebar on archive/shop and single product pages: hierarchical navigation with collapsible sub-levels up to 3 levels deep, using Bootstrap 5 list-group and collapse components
wc_bootstrap_get_category_tree()(functions.php): Builds nested category array withis_active/is_ancestorflags for current page context, parent-indexed lookup for O(n) tree construction- Category tree Twig templates (
global/category-tree.html.twig,global/category-tree-node.html.twig): Recursive rendering with "All products" link, product count badges, chevron toggle buttons, andaria-current="page"accessibility - Single product sidebar (
woocommerce/single-product.php): Added responsive sidebar layout (col-lg-3+col-lg-9) with offcanvas on mobile, matching the archive page pattern - Category tree CSS (
wc-bootstrap.css): Hover states, active highlighting (primary color), chevron rotation animation, nested indentation, dark mode compatible via Bootstrap CSS variables
Changed
- Archive sidebar always visible (
woocommerce/archive-product.php): Sidebar now renders when categories exist, not only when widgets are configured. Category tree renders above any widgets.
Downloads