Mix and Match v2.7.1 – Cart Editing & Developer Enhancements
New
Added filter for container edit links
Introduced the wc_mnm_container_get_cart_edit_link filter, allowing developers to modify the edit-in-cart link for Mix and Match containers.
The edit link now also includes APFS subscription parameters where applicable, improving compatibility with subscription-related workflows.
Fixes
Resolved remaining dynamic property issues
Fixed dynamic properties that were missed in version 2.7.0. This helps prevent warnings when running the plugin on PHP 8.2 and newer.
Improvements
Updated edit-container template
Updated the edit-container.php template to improve compatibility and maintain consistency with current plugin behavior.
Updated JavaScript hook parameter format
The parameter passed to the wc.mnm.initialize.${type} WordPress hook is now an object, providing a more structured format for integrations.
Why this matters
- Provides developers with greater control over cart edit links
- Improves compatibility with subscription workflows
- Prevents PHP 8.2 dynamic property warnings
- Improves extensibility for JavaScript integrations
- Keeps template files aligned with current plugin behavior