Remove static instance of WC_FGC_Checkout_Block_Integration.
Rename `wc-fgc-checkout-blocks` script handle to `wc-fgc-checkout-block` and integration name from and `free_gift_coupons/checkout` to `wc-fgc/checkout`
Add wp_theme_get_element_class_name( 'button' ) classes to cart edit button.
Fixed
PHP Fatal error: Call to a member function get_cart on null on `wc/store/order` Store API route. Pay-for-order conflict with WooPayments.
Changes
IMPORTANT: PHP 7.4 is required | WordPress 6.2.0 is required | WooCommerce 8.2.0.
3.7.1
2 fixes
Fixed
Hardening of variation form script when form has no action attribute.
Uncaught TypeError: c.offset is undefined when in 3rd party carts.
3.7.0
1 new2 improvements1 change
New
Eliminated dynamic properties on objects. Resolves warning notices in PHP 8.2+.
Improved
Tested up to WooCommerce 8.7.0.
Updated the way of identifying hydration context in Store API requests.
Changes
Important: Minimum PHP 7.2 required.
3.6.0
2 new1 improvement1 fix
New
Prelimary support for variable gifts in cart block. For now it will re-direct to the single product page.
Declare cart/checkout block support.
Improved
Tested up to WooCommerce 8.4.0.
Fixed
Much stricter add to cart validation on gift items, esp for variations with some attributes pre-configured but "Any" value allowed for other attributes.
3.5.0
1 improvement2 fixes1 change
Improved
Tested up to WooCommerce 8.2.0.
Fixed
Update all templates for safer string escaping.
Remove script that interferes with other Backcourt brand plugins' behavior in cart block.
Changes
IMPORTANT: Requires WC 3.6.0+.
3.4.5
1 fix
Fixed
Misspelling of update_option
3.4.4
1 fix
Fixed
Switch to `update_option` on shutdown hook to save notices resolving issues with caching plugins.
3.4.3
1 improvement1 fix
Improved
Tested up to WooCommerce 7.8.0.
Fixed
Use `registerCheckoutFilters` graduated filter in Blocks plugin. #117.
3.4.2
1 fix
Fixed
Prevent display of All Products for Subscriptions' radio subscription schemes on free gifts in cart. #115.
3.4.1
2 fixes
Fixed
Stop enqueing checkout-blocks.css which doesn't yet exist.
Fixed a fatal error that was triggered when using PHP v8 and using Cart/Checkout Blocks.
3.4.0
2 new1 improvement
New
Initial support for Simple Product gifts in WooCommerce Cart/Checkout blocks.
Support for auto-adding a free gift when coupon applied in Admin. (Requires: WooCommerce 7.3)
Improved
Tested against WooCommerce 7.3.0.
3.3.5
1 fix
Fixed
Compatibility with Custom Order Tables.
3.3.4
2 improvements1 fix
Improved
Tested up to WooCommerce 7.0.
Declared compatibility with the new Custom Order Tables.
Fixed
Pass additional cart key parameter to sync functions to reduce possibility of undefined notices.
Changelog published by the developer, in their original language.