• v0.1.7 9860a184cd

    WooCommerce Bootstrap 0.1.7
    All checks were successful
    Create Release Package / PHP Lint (push) Successful in 1m4s
    Create Release Package / PHPUnit Tests (push) Successful in 50s
    Create Release Package / Build Release (push) Successful in 58s
    Pre-Release

    magdev released this 2026-03-29 13:20:02 +00:00 | 3 commits to main since this release

    Added

    • 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 with is_active/is_ancestor flags 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, and aria-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