Mix and Match v2.8.1 – Minimal Cart Mode & Stability Fixes
New
Minimalist cart display mode for Cart Block and side cart
You can now enable a minimalist display mode for the Cart Block and side cart blocks. This reduces visual clutter and simplifies how Mix and Match containers appear in modern block-based carts.
To enable:
add_filter( 'wc_mnm_enable_minimal_cart_display', '__return_true' );
Fixes
Resolved fatal error during stock validation
Fixed an issue that could trigger a fatal error during stock validation within the container validation logic.
Corrected Store API request detection
Reverted usage of wc()->is_store_api_request() due to false positives that were causing unintended behavior.
Fixed incorrect block theme detection
Resolved a logic issue where full-width layouts were being hidden for non-block themes due to incorrect theme detection.
Corrected validation context in cart checks
Fixed an issue where the wrong context was passed to the wc_mnm_container_validation_context filter, which could unintentionally force stock checks during the woocommerce_check_cart_items process.
Improvements
Added theme button classes to View Cart error notice
The “View Cart” button displayed in error notices now inherits theme button classes for better visual consistency.
Why this matters
- Optional cleaner display for block-based carts
- Prevents fatal errors related to stock validation
- More reliable Store API request handling
- Correct full-width layout behavior for non-block themes
- Proper stock validation during cart checks
- Improved theme styling consistency