1 Commits
v0.1.9 ... main

Author SHA1 Message Date
f8394722cc Fix add-to-cart button alignment in product cards (v0.1.10)
All checks were successful
Create Release Package / PHP Lint (push) Successful in 51s
Create Release Package / PHPUnit Tests (push) Successful in 57s
Create Release Package / Build Release (push) Successful in 1m8s
Add mt-auto to card-footer so the button is always pinned to the
bottom of the card, even when the product has no price.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 16:48:46 +02:00
4 changed files with 18 additions and 3 deletions

View File

@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [0.1.10] - 2026-03-29
### Fixed
- **Add-to-cart button alignment in product cards** (`content-product.html.twig`): Added `mt-auto` to card-footer so the button is always pinned to the bottom of the card, even when the product has no price (e.g., composable products)
## [0.1.9] - 2026-03-29 ## [0.1.9] - 2026-03-29
### Changed ### Changed

View File

@@ -345,10 +345,19 @@ The child theme inherits from `wp-bootstrap` via WordPress `Template: wp-bootstr
## Version History ## Version History
Current version: **v0.1.9** Current version: **v0.1.10**
## Session History ## Session History
### 2026-03-29 — v0.1.10 Fix Add-to-Cart Button Alignment
**Scope:** Fixed product card button jumping when price is missing (e.g., composable products).
**Files modified (2):**
- `templates/content-product.html.twig` — Added `mt-auto` to card-footer to pin button to card bottom
- `style.css` — Version bump 0.1.9 → 0.1.10
### 2026-03-29 — v0.1.9 Category Tree Full-Width Items ### 2026-03-29 — v0.1.9 Category Tree Full-Width Items
**Scope:** Made category tree items span the full parent/offcanvas width. **Scope:** Made category tree items span the full parent/offcanvas width.

View File

@@ -7,7 +7,7 @@ Description: A Bootstrap 5 child theme for WP Bootstrap that overrides all WooCo
Requires at least: 6.7 Requires at least: 6.7
Tested up to: 6.7 Tested up to: 6.7
Requires PHP: 8.3 Requires PHP: 8.3
Version: 0.1.9 Version: 0.1.10
License: GNU General Public License v2 or later License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: wp-bootstrap Template: wp-bootstrap

View File

@@ -37,7 +37,7 @@
{{ do_action('woocommerce_after_shop_loop_item_title') }} {{ do_action('woocommerce_after_shop_loop_item_title') }}
</div> </div>
<div class="card-footer bg-transparent border-0 pt-0 pb-3 px-3"> <div class="card-footer bg-transparent border-0 pt-0 pb-3 px-3 mt-auto">
{{ do_action('woocommerce_after_shop_loop_item') }} {{ do_action('woocommerce_after_shop_loop_item') }}
</div> </div>
</article> </article>