*** Woo Composite Products *** 2024.03.26 - version 9.0.2 * New - Added support for block theme front-end buttons. * New - Introduced REST API support for Product Add-Ons visibility at Component level. * Fix - Closes an HTML attribute that wasn't closed. * Fix - Resolved an issue that prevented composited item quantities from showing up in the Order Totals block. 2024.03.06 - version 9.0.1 * Fix - Resolved a fatal error with WooCommerce Memberships. 2024.03.05 - version 9.0.0 * New - Important: Added support for PHP 8.3. Previously dynamically declared properties are now handled via 'WC_CP_Product_Data'. * New - Composite Products now requires Product Bundles 7.0+ for the integration between the two plugins to work. * New - Composite Products now requires Product Add-Ons 6.7.0+ for the integration between the two plugins to work. * Fix - Fixed an issue where the 'woocommerce_variation_option_name' hook was called with the incorrect number of arguments. 2024.02.13 - version 8.10.6 * Fix - Made sure that add-ons totals are included in the total Composite price only if they are part of Priced Individually components. 2024.01.24 - version 8.10.5 * Tweak - Deferred frontend scripts. 2023.10.23 - version 8.10.4 * New - Introduced the 'Composite Configuration Summary' block. * Tweak - Switched to the block-style single product notices when the cart/checkout Block is used. * Tweak - Re-designed Product Data > Shipping notice about Unassembled Composites. * Tweak - Declared compatibility with the cart/checkout Blocks. * Fix - Important: Security improvements. 2023.09.19 - version 8.10.3 * Fix - Resolved fatal error that was triggered when Attributes are sorted by 'Name (numeric)' and 'Options filtering' is enabled in a Composite Product. * Fix - Fixed Composite totals in the block-based cart when the number of displayed decimals was 0. * Tweak - Used admin theme colors in settings. 2023.08.28 - version 8.10.2 * Fix - Resolved an issue that prevented the component discount from applying to the displayed Variable composited prices. * Tweak - Ensure that hidden components do not contribute to Scenarios. * Fix - Ensure that the 'Currently editing' notice shows up in the block-based Single Product Template when editing a Composite. 2023.07.10 - version 8.10.1 * Fix - Resolved script error when a Product Bundle without add-ons was added to a component and Product Add-Ons was active. * Fix - Resolved an issue that deducted stock for composited items in manually created orders before the orders were submitted. 2023.07.03 - version 8.10.0 * Tweak - Important: The 'Form Location' option is no longer supported when using a block theme. Use the following snippet to force its use: 'add_filter( 'woocommerce_composite_has_legacy_product_template', '__return_true' );' * Fix - Resolved a compatibility issue with Points and Rewards that made a 'Earn at least 0 points by purchasing this product' message show up when purchasing a Composite Product with optional components. 2023.06.22 - version 8.9.1 * Fix - Removed duplicate tooltip under Product Data > Inventory. * Tweak - Changed the Product Data > Inventory > Sold Individually dropdown to radio buttons for Product Bundles. * Tweak - Re-designed the Product Data > Components, Product Data > Shipping, Product Data > Scenarios and Product Data > States empty states. * Tweak - Updated tooltip messages under Product Data > Inventory. * Fix - Fixed error that was triggered when creating a new product, tracking was enabled and WooCommerce 7.8 was active. 2023.06.13 - version 8.9.0 * Tweak - Removed add-on flat fees from per unit product prices in the cart. Requires Product Add-Ons v6.4.0. * Fix - Fixed an issue that prevented bundled items add-ons from being initialized when added to a component. * Fix - Fixed an issue that prevented composited product images from rendering correctly. * New - Introduced 'woocommerce_store_api_before_composite_aggregated_totals_calculation' and 'woocommerce_store_api_after_composite_aggregated_totals_calculation' actions. 2023.06.12 - version 8.8.2 * Fix - Fixed an issue where scenarios are not saved when editing a product. 2023.06.01 - version 8.8.1 * Fix - Fixed styling for dismissible admin notices. 2023.05.22 - version 8.8.0 * Fix - Important: Security improvements. 2023.05.08 - version 8.7.6 * Fix - Important: Security improvements. * Fix - Fixed fatal error during data collection. 2023.04.10 - version 8.7.5 * Fix - Updated the REST API schema for default_option_id to support string or integer. 2023.03.14 - version 8.7.4 * New - Introduced compatibility with AutomateWoo - Abandoned Carts. * Fix - Fixed an issue that prevented component options from loading when a composited Bundle had addons both on the container and on bundled item level. 2023.03.06 - version 8.7.3 * Fix - Resolved a JavaScript error that showed up when rendering composited bundled items and Product Add-Ons was inactive. 2023.03.02 - version 8.7.2 * Fix - Fixed an issue that prevented bundled item add-ons that were added to components from being validated. 2023.02.16 - version 8.7.1 * Fix - Fixed compatibility notices with Product Addons and Min/Max Quantities. 2023.02.14 - version 8.7.0 * Important - Composite Products is now compatible with Product Add-Ons v6+. * Fix - Fixed a fatal error that was triggered when displaying paged component options via AJAX. 2023.01.03 - version 8.6.2 * Feature - Supported importing/exporting of the Composite 'Aggregate Weight' option. 2022.11.01 - version 8.6.1 * Tweak - Introduced compatibility with the new High-Performance Order Storage. * Tweak - Improved security. * Tweak - Replaced 'Sort by newness' with 'Sort by latest'. * Tweak - Updated validation error that showed up when setting a low Maximum Quantity for a component. * Fix - Prevented multiplying integers with strings when syncing Composite raw prices. 2022.10.13 - version 8.6.0 * Important - The Min/Max Quantities integration requires Min/Max Quantities v3+. * Feature - Added support for the Min/Max Quantities 'Group of' feature. * Feature - Validated Min/Max component quantity values on edit. * Dev - Introduced 'woocommerce_composited_item_quantity_min' and 'woocommerce_composited_item_quantity_max' filters to programmatically control the component's min/max quantity. * Dev - Introduced 'woocommerce_composited_item_group_of_qty' filter to programmatically control the composited item's group of quantity. * Tweak - Added support for PHP v8.1. * Tweak - Added support for automated translations delivery. * Fix - Fixed a fatal error that was triggered when using PHP v8 and using Cart/Checkout Blocks. 2022.08.15 - version 8.5.2 * Fix - Fixed an issue that prevented discounts with comma separated decimals from being saved. * Fix - Fixed an issue with 404 errors on frontend assets in some managed server configurations. 2022.07.21 - version 8.5.1 * Tweak - Introduced basic telemetry to collect data on extension usage when tracking is enabled. * Fix - Fixed a fatal error that was triggered when invalidating order cache. * Fix - Fixed a fatal error that was triggered when adding a Composite with invalid configuration to a manually created order. 2022.06.14 - version 8.5.0 * Important - PHP 7.0 is now required. * Fix - Fixed a fatal error that was triggered by the Cart/Checkout blocks integration when the global cart object was null. 2022.05.31 - version 8.4.3 * Important - WooCommerce version 3.9+ is now required. * Fix - Include minified frontend script files for the new Cart and Checkout blocks integration. 2022.05.03 - version 8.4.2 * Feature - Introduced validation for composited product add-ons with input type restrictions. * Tweak - Introduced the 'woocommerce_composited_item_price' filter. * Tweak - Removed the Add to Cart button from out of stock Composites. * Fix - Fixed fatal error that was triggered from invalid Exception arguments. * Fix - Fixed deprecation warning for 'is_admin_or_embed_page' in WooCommerce 6.3+. 2022.04.01 - version 8.4.1 * Fix - Fixed issue that prevented subscription plans from being applied to composited order items when there were multiple Composite Products in an order. 2022.03.30 - version 8.4.0 * Fix - Added compatibility with the Cart and Checkout blocks. * Tweak - Removed the 'Subtotal' prefix from component subtotals in all templates. 2022.03.16 - version 8.3.8 * Tweak - Bump the required Product Bundles version to 6.14.0. * Tweak - Use new WooCommerce brand colors. * Tweak - Add compatibility for Woocommerce Payments Subscriptions functionality. 2022.01.19 - version 8.3.7 * Fix - Fixed warnings triggered by using deprecated `is_ajax`. Replaced with `wp_doing_ajax` for WooCommerce v6.1+. * Fix - Fixed issue that prevented component variations from being updated when Scenarios were used. 2021.12.21 - version 8.3.6 * Fix - Change price filters priority to retain compatibility with All Products for WooCommerce Subscriptions. 2021.12.15 - version 8.3.5 * Fix - Fixed an issue that made component discounts apply twice when manually renewing a Composite Product on subscription. 2021.12.02 - version 8.3.4 * Feature - Added compatibility with PayPal Payments to hide quick pay buttons in Composite product pages. * Dev - Added 'woocommerce_composite_after_composite_price' action hook. * Fix - Fixed an issue that prevented Scenarios from being taken into account in catalog price calculations when the 'Catalog Price > Calculate from/to' option is active. * Fix - Fixed PHP notice when switching a subscribed Composite that includes a Product Bundle. * Fix - Rename 'woocommerce_cart_item_removed' filter to 'woocommerce_composited_cart_item_removed' to prevent issues with performance and loops when removing components from the cart. * Fix - Fixed issue that made sorting/filtering options show up for optional components with only a single product. 2021.10.04 - version 8.3.3 * Fix - Fixed missing notices. * Tweak - Improved compatibility with Memberships. 2021.09.24 - version 8.3.2 * Fix - Fixed incorrect early returns in 'set_notice_option'. 2021.09.22 - version 8.3.1 * Fix - Prevent composited product stock from being reduced when editing Composite products in configurable orders. * Fix - Fixed an issue that prevented the 'Analytics > Composites' report from displaying results when running the latest version of WoCommerce Admin. 2021.09.09 - version 8.3.0 * Important - Composite Products now requires WooCommerce 3.6+. * Feature - Introduced 'Analytics > Composites' revenue report. * Feature - Made it possible to remove optional Components in the Cart page. * Feature - Introduced 'woocommerce_composite_component_disable_addons' filter. * Fix - Fixed failed Add to Cart action when the selected option is not in current component view. * Fix - Display product's original price in composited item price if the component has a discount. * Fix - Fixed a fatal error that is triggered by invalid 'wc_cp_notice_options' values. * Fix - Prevent duplicate component option title from showing when configuring a Composite Product in an order. 2021.07.08 - version 8.2.0 * Feature - Re-introduce 'Virtual' checkbox for Composite Products. When saving a Composite as Virtual, all physical products purchased in its Components will be treated as Virtual, too. * Fix - Fixed 'Undefined variable: availability' notice in 'WC_CP_Product::get_availability_text()'. * Fix - Display the component page with the selected option on page load for paginated components. * Tweak - Updated the data structure returned by 'WC_CP_Scenarios_Manager::get_settings()' to prevent datatype errors when 'json_encode' gets called downstream. * Tweak - Added 'add-to-cart' parameter to submit button. 2021.06.22 - version 8.1.4 * Fix - Reset product ordering query filters after querying component options. * Fix - Hide stock message for composited products on backorder. * Fix - Fixed some styling issues with the Astra theme. * Fix - Fixed Composite Summary Widget styling issues on small screen sizes. * Fix - Fixed Composite Summary Widget styling issues with the Divi theme. * Fix - Fixed Composite Summary Widget styling issues with the TwentyTwenty theme and Elementor Pro. * Fix - Autoscrolling to the current selection now works for all Components when using the Stacked layout. 2021.06.01 - version 8.1.3 * Tweak - Removed deprecated 'woocommerce_add_to_[cart/order]_validation' filter. * Fix - Stopped requiring 'configuration' property in 'composite_scenarios' field items to permit deletions. 2021.05.05 - version 8.1.2 * Fix - Use the correct 'Read more' string from the WooCommerce textdomain. * Fix - Updated Flatsome integration to correctly handle image lightbox. * Fix - Toggle the 'Options Pagination' visibility correctly while making configuration changes to a Component. * Fix - Handle changes to Name Your Price input changes from blank to zero. * Tweak - Improve appearance of 'Item Grouping > Flat' Bundles in Composites. 2021.04.13 - version 8.1.1 * Dev - Added 'woocommerce_composite_component_options_style' filter. * Fix - Fixed component options radio buttons layout in the Twenty Twenty-One theme. * Fix - Added integration with Zapier to hide Scenario fields in the Zapier dashboard. * Fix - Improved Scenarios matching for Variable products when all available variations are included/excluded in Conditions. 2021.03.29 - version 8.1.0 * Important - Updated Scenarios to allow creating Conditions based on whether an option has been selected in a Component. * Important - Scenario Conditions are no longer matched partially when configuring a Composite without having made a selection in every Component. Previously, a Scenario that hides Component n based on a selection in Component i (i