You've already forked wc-bootstrap
-
WooCommerce Bootstrap 0.1.5
Pre-Releasereleased this
2026-03-01 02:33:52 +00:00 | 1 commits to main since this releaseFixed
- Empty page title on catalog pages (
header.html.twig): Replacedpage_titlecontext variable (never passed by WC) with directfn('woocommerce_page_title', false)call - Missing breadcrumbs on catalog pages (
archive-product.php): Addedwoocommerce_breadcrumb()call before shop loop header - Missing product categories on catalog pages (
content-product-cat.html.twig): Renamed template from hyphen (content-product-cat) to underscore (content-product_cat) to match WC'swc_get_template()filename convention - Product grid 4 columns instead of 3 (
functions.php,loop-start.html.twig): Changed default columns from 4 to 3 for better card proportions with sidebar - Double chevron on sort dropdown (
wc-bootstrap.css): Removed conflictingappearance: autorule; setappearance: noneto let Bootstrap'sform-selectclass handle the dropdown arrow exclusively - Variable product add-to-cart button stays disabled (
variable.html.twig,variation-add-to-cart-button.html.twig): Added missingdata-product_idanddata-product_variationsattributes to form; replaced HTMLdisabledattribute on button with CSS classesdisabled wc-variation-selection-needed(WC JS only toggles CSS classes, never removes the HTML attribute) - Variable product select white background in dark mode (
wc-bootstrap.css): Increased dark mode override specificity to(0,5,1)to beat WC's.woocommerce div.product form.cart .variations selectat(0,4,3)which usesbackgroundshorthand; also overridesbackground-imagefor Bootstrap's dark-mode-aware chevron SVG - Product gallery missing main image in thumbnail strip (
product-image.html.twig): Prepend main image ID to gallery IDs using[post_thumbnail_id]|merge(gallery_image_ids)with active state on first thumbnail; added{% if thumb_url %}guard to skip invalid attachment IDs - Related/upsells products show same product repeated (
related.html.twig,up-sells.html.twig): Addedwc_setup_product_data()call before each product render andwp_reset_postdata()after loop to set global$productcorrectly for WC hooks - Grouped product add-to-cart button/pricing broken (
grouped.html.twig): Rewrote template to computequantites_requiredandshow_add_to_cart_buttonin loop (matching WC PHP logic); moved hiddenadd-to-cartinput outside conditional; addedhas_options()andis_sold_individually()checks - Downloads page empty (
downloads.html.twig): Replaced fragilefn('WC').customer.get_downloadable_products()chain with directfn('wc_get_customer_available_downloads', get_current_user_id())call
Added
- Product gallery JS (
product-gallery.js): Vanilla JS click handler for thumbnail-to-main-image swap with active state highlighting and gallery fade-in wc_setup_product_data()Twig function (WooCommerceExtension.php): Sets$GLOBALS['product']and callssetup_postdata()for correct product context in Twig loopswp_reset_postdataTwig function (WooCommerceExtension.php): Restores global post state after product loopssanitize_titleTwig filter (WooCommerceExtension.php): Matches WC PHP's lowercase attribute name handling for variation form data attributes- Product thumbnails suppressor (
product-thumbnails.html.twig): Empty template override to prevent WC's default full-size gallery images rendering below custom thumbnail row
Changed
- Whitelisted functions (
WooCommerceExtension.php): Addedwoocommerce_page_titleandwc_get_customer_available_downloadstoALLOWED_FUNCTIONS - Removed obsolete files: Deleted
PLAN.mdandSETUP.md(superseded by CLAUDE.md)
Downloads
- Empty page title on catalog pages (