# Flexible Checkout Fields PRO for WooCommerce Changelog

## [4.0.12] - 2024-11-21
### Added
- Support for WordPress 6.7
- Support for WooCommerce 9.5

## [4.0.11] - 2024-08-07
### Added
- Support for WooCommerce 9.2

## [4.0.10] - 2024-07-23
### Added
- Support for WordPress 6.6
- Hook flexible_checkout_fields_section_fields (replaces deprecated flexible_chekout_fields_fields)

## [4.0.9] - 2024-07-07
### Added
- Support for WooCommerce 9.1

## [4.0.8] - 2024-06-20
### Fixed
- Adding pricing "0" to a field

## [4.0.7] - 2024-06-04
### Added
- Support for WooCommerce 9.0
### Fixed
- Replaced some WooCommerce-dependent JavaScript triggers (e.g., checkout_place_order) with internal triggers to fix Klarna Payments issues.
- Correctly capture the shipping method when it is outside the order review section (some customized checkouts).
- Separated listen and init methods to avoid listening for the same event multiple times.
- Early field validation (when conditional logic was resolved)

## [4.0.6] - 2024-04-08
### Added
- Support for WordPress 6.5
- Support for WooCommerce 8.8
### Fixed
- Hidden fields on the checkout should no longer be displayed for the user (summary, email, my account).
- Shipping conditional logic does not resolve when only one shipping method is available (no radio).
- Radio buttons are not checked after updating the order review.
- Pricing options for the field do not follow field visibility.
- The required sign is now displayed when the required option is turned off, but conditional logic resolves to require the field.

## [4.0.5] - 2024-03-12
### Added
- Support for WooCommerce 8.7
### Fixed
- Invalid JSON in logic_results_storage
- Tracker and wp-notice library

## [4.0.4] - 2024-02-21
### Fixed
- Infinite Order review section reload when field has pricing enabeled and is selected in other field conditiona logic
- Syntax error message on checkout validation
- Prevent saving empty pricing rules for a field

## [4.0.3] - 2024-02-14
### Fixed
- Conditional logic not working in review_order_before_submit and review_order_after_submit sections
- Fields manipulation (hiding and showing a field)

## [4.0.2] - 2024-02-08
### Fixed
- Backend validation for conditional logic

## [4.0.1] - 2024-02-08
### Fixed
- Backend validation for conditional logic
- Conditional logic not working in additiona sections

## [4.0.0] - 2024-02-05
### Added
- Conditional logic based on Flexible Checkout Fields (refactor)
- Conditional logic based on cart (total value, number of items, products in cart, product categories, product types)
- Conditional logic based on shipping methods (refactor)
- Conditional logic based on user role
- Conditional logic based on date
- Conditional logic based on payment methods
- Conditional logic based on default Woo checkout fields
- Conditional logic based on Flexible Product Fields (in cart)
- Support for WooCommerce 8.6

## [3.5.12] - 2023-11-07
### Added
- Support for WordPress 6.4
- Support for WooCommerce 8.3

## [3.5.11] - 2023-10-10
### Fixed
- Improved validation for required fields with shipping conditional logic

## [3.5.10] - 2023-10-09
### Added
- Support for WooCommerce 8.2

## [3.5.9] - 2023-08-28

###Fixed

- Special characters in MulitCheckbox and MultiSelect fields value

## [3.5.8] - 2023-08-17

### Fixed

- After/Before Submit sections price update when pricing is enabeled

## [3.5.7] - 2023-08-10
### Added
- Support for WordPress 6.3
- Support for WooCommerce 8.0

## [3.5.6] - 2023-06-27

### Added

- Support for WooCommerce 7.9
- PHP 8.2 compatibility

### Fixed

- Calendar, days before setting not working when minus in php 8.2

## [3.5.5] - 2023-05-16

### Fixed

- Fixed divided by zero error when product price is 0 and custom field pricing value is negative

## [3.5.4] - 2023-03-27

### Added

- Support for WordPress 6.2
- Support for WooCommerce 7.6

### Fixed

- Fixed date format validation for Date field.

## [3.5.3] - 2023-03-15

### Fixed

- Improved changelog formatting

### Added

## [3.5.2] - 2023-03-13

### Added

- Support for WooCommerce 7.5

## [3.5.1] - 2022-11-21

### Fixed

- Conditional logic fails when product is removed
- Checkout infinitely reloading when conditional logic applied
- Critical error, when order related to fields doesn't exist

## [3.5.0] - 2022-11-04

### Added

- Support for WooCommerce 7.1
- Support for High-Performance Order Storage

## [3.4.4] - 2022-10-17

### Fixed

- Conditional logic based on fields

## [3.4.3] - 2022-10-13

### Fixed

- Selecting 00:00 value for Time field by default
- Conditional logic for Textarea field

### Added

- Support for WordPress 6.1
- Support for WooCommerce 7.0

## [3.4.2] - 2022-08-10

### Fixed

- Support for different date formats

## [3.4.1] - 2022-08-02

### Added

- Displaying of woocommerce_checkout_after_customer_details section

## [3.4.0] - 2022-07-28

### Fixed

- Escaping of field label
- Price calculation for free product price

### Added

- Support for upload_mimes filter
- Support for plain permalink structure
- Support for woocommerce_checkout_billing section
- Support for woocommerce_checkout_shipping section
- Support for woocommerce_review_order_before_payment section
- Support for woocommerce_review_order_after_payment section
- Support for woocommerce_checkout_after_order_review section

## [3.3.0] - 2022-06-20

### Added

- New field type: Hidden

## [3.2.7] - 2022-06-14

### Added

- Support for WooCommerce 6.6

## [3.2.6] - 2022-05-12

### Fixed

- Default value for Multi-checkbox field type

### Added

- Support for WordPress 6.0
- Support for WooCommerce 6.5

## [3.2.5] - 2022-04-14

### Fixed

- Validation for File field

### Added

- Support for WooCommerce 6.4

## [3.2.4] - 2022-03-09

### Added

- Validation for required value of File field
- Support for WooCommerce 6.3

## [3.2.3] - 2022-02-15

### Added

- Support for default Select field
- Support for WooCommerce 6.2

## [3.2.2] - 2022-02-09

### Fixed

- Infinite checkout update

## [3.2.1] - 2022-02-09

### Fixed

- Conditional logic based on Radio field

### Added

- Conditional logic based on Radio with images field
- Conditional logic based on Radio with colors field

## [3.2.0] - 2022-02-08

- Changed widget for Color field
- Changed widget for Time field
- Added new field type: Multi-checkbox
- Added new field type: Radio with images
- Added new field type: Radio with colors
- Added support for 12-hour clock for Time field
- Added validation of minimum and maximum hours for Time field
- Added validation of minimum and maximum hours for Time field
- Added step value to minutes list for Time field
- Added multiple file uploads for File field
- Added ability to edit all field types in order details on WooCommerce Dashboard

## [3.1.3] - 2021-11-29

- Fixed cleaning sessions after ordering
- Added support for WooCommerce 6.0

## [3.1.2] - 2021-10-18

- Fixed conditional logic based on shipping methods
- Fixed translation of section titles

## [3.1.1] - 2021-10-04

- Fixed displaying datepicker in section review_order_before_submit and review_order_after_submit
- Added translations for Date field

## [3.1.0] - 2021-09-09

- Changed datepicker for Date field

## [3.0.8] - 2021-08-02

- Fixed case sensitivity for extensions of File field
- Fixed saving of options for Select field containing multiple separators

## [3.0.7] - 2021-07-15

- Fixed infinite loop for save_metabox_data action
- Added support for WordPress 5.8
- Added support for WooCommerce 5.5

## [3.0.6] - 2021-05-20

- Fixed options with field values in conditional logic
- Added support for WooCommerce 5.3

## [3.0.5] - 2021-04-28

- Fixed date validation for Days before / Days after options
- Fixed list of products and product categories for other languages in conditional logic
- Added support for WooCommerce 5.2

## [3.0.4] - 2021-03-18

- Fixed support for fields generated by other plugins
- Fixed Days before / Days after options for Date field type

## [3.0.3] - 2021-03-11

- Added support for WordPress 5.7
- Added support for WooCommerce 5.1

## [3.0.2] - 2021-03-03

- Fixed support for default checkbox field type

## [3.0.1] - 2021-03-02

- Fixed retrieval of field list for conditional logic fields
- Added escaping output for custom section settings

## [3.0.0] - 2021-03-01

- Major Update!
- Dropped support for Flexible Checkout Fields version lower than 3.0
- Added support for new admin page to manage FCF plugin settings

## [2.4.3] - 2021-02-11

- Added support for WooCommerce 5.0

## [2.4.2] - 2021-01-27

- Fixed saving data of metabox editor in Order edit

## [2.4.1] - 2021-01-14

- Fixed pricing options on Checkout

## [2.4.0] - 2021-01-14

- Added loading of plugin after action flexible_checkout_fields/init
- Added admin notice in case of incompatibility
- Added e-mail notification in case of incompatibility

## [2.3.3] - 2020-12-16

- Changed URLs for docs

## [2.3.2] - 2020-12-09

- Fixed downloading of attachments in Order for file field

## [2.3.1] - 2020-12-01

- Fixed adding prices with decimal values
- Fixed saving file type field value for session
- Added support for WooCommerce 4.8
- Added support for WordPress 5.6

## [2.3.0] - 2020-11-02

- Added pricing options for fields

## [2.2.0] - 2020-10-15

- Changed required PHP version to 7.0
- Added support for WooCommerce 4.6

## [2.1.5] - 2020-10-01

- Fixed saving field values to User Metadata from sections: Before Order Notes, After Order Notes, Before Submit and After Submit
- Added escaping output for field label
- Fixed loading values to select for shipping methods in settings

## [2.1.4] - 2020-09-23

- Added support for WooCommerce Subscriptions
- Added notice of planned change of required PHP version to 7.0

## [2.1.3] - 2020-09-16

- Added placeholder option for Select field (with empty value)

## [2.1.2] - 2020-09-01

- Fixed copying shipping details from billing details for same file fields
- Added required attribute for "Allowed file types" field in plugin settings
- Added support for WooCommerce 4.5

## [2.1.1] - 2020-08-25

- Fixed display fields for sections woocommerce_before_checkout_registration_form and woocommerce_after_checkout_registration_form
- Fixed translation of plugin name
- Added support for WooCommerce 4.4

## [2.1.0] - 2020-08-06

- Fixed conditional logic for unchecked checkbox field on the Checkout Page
- Added default back-end validation for Date field

## [2.0.11] - 2020-07-20

- Fixed conditional logic for checkbox field on the Checkout Page

## [2.0.10] - 2020-06-23

- Fixed advertising in field settings tabs

## [2.0.9] - 2020-05-06

- Added support for WooCommerce 4.1

## [2.0.8] - 2020-04-22

- Fixed polish translations

## [2.0.7] - 2020-04-03

- Fixed warnings on settings page

## [2.0.6] - 2020-03-24

- Fixed multi level conditional logic

## [2.0.5] - 2020-03-24

- Modified file upload field Allowed file types description

## [2.0.4] - 2020-03-16

- Fixed conditional rules and field requirements
- Fixed color picker when multiple color pickers added
- Fixed advanced tab in new field
- Fixed Java Script error on shipping conditional logic
- Fixed File Upload Field description

## [2.0.3] - 2020-03-11

- Added default value for custom fields

## [2.0.2] - 2020-02-28

- Fixed conditional logic: or

## [2.0.1] - 2020-02-20

- Fixed translation on the settings page
- Fixed the fields requirement issue

## [1.11.5] - 2020-01-29

- Added option to hide or show checkout fields based on the shipping methods

## [1.11.4] - 2020-01-07

- Added support for WooCommerce 3.9

## [1.11.3] - 2019-11-05

- Added support for WooCommerce 3.8 and WordPress 5.3

## [1.11.2] - 2019-10-07

- Fixed input type from text to number for the Date field type in the settings ("Add New Field" widget)

## [1.11.1] - 2019-09-20

- Fixed install/activation link in the requirement notice
- Fixed error for wp-load.php

## [1.11.0] - 2019-09-11

- Added support for prefixed libraries

## [1.10.4] - 2019-08-12

- Added support for WooCommerce 3.7

## [1.10.3] - 2019-07-15

- Fixed plugin flow bug - fatal error

## [1.10.2] - 2019-07-02

- Fixed strict standards fail with $plugin property

## [1.10.0] - 2019-06-05

- Removed subscription enforce

## [1.9.7] - 2019-04-24

- Added support for WP Desk libraries
- Fixed docs URL

## [1.9.6] - 2019-04-09

- Yet another fix for required free plugin version

## [1.9.5] - 2019-04-08

- Another fix for required free plugin version

## [1.9.4] - 2019-04-08

- Fixed required free plugin version

## [1.9.3] - 2019-04-04

- Added support for WooCommerce 3.6

## [1.9.2] - 2019-03-26

- Fixed error for demo helper

## [1.9.1] - 2019-03-14

- Fixed conditional logic for HTML field
- Fixed javascript error for the custom section
- Fixed helper plugin requirement
- Removed slashes from additional information

## [1.9.0] - 2019-02-25

- Added function: get_flexible_checkout_fields_pro_plugin - returns plugin object
- Fixed admin script loading
- Fixed HTML fields sorting bug

## [1.8.2] - 2019-01-31

- Fixed radio in FCF meta box
- Fixed multi-select field type

## [1.8.1] - 2019-01-29

- Fixed conditional logic based on products on Thank You page
- Fixed conditional rules based on checkbox field

- Hide checkbox: display on My Account - address for file field

- File field in thank you page and emails
- Removed ability to edit file field for customer

## [1.8] - 2019-01-07

- Added file field in thank you page and emails
- Added functionality for removed ability to edit file field for customer
- Removed display checkbox on My Account - address for file field

## [1.7.1] - 2018-12-19

- Fixed WPML translations in select field on order edit page

## [1.7.0] - 2018-12-06

- Added custom fields metabox editor in order edit
- Added multi-select field type
- Added select2 default styling
- Added WP Desk Libraries

## [1.6.10] - 2018-11-15

- Fixed unneeded required checkbox on heading field

## [1.6.9] - 2018-10-16

- Added support for WooCommerce 3.5
- Dropped support for WooCommerce below 3.0 (the plugin may still work with older versions but we do not declare official support)

## [1.6.8] - 2018-08-06

- Added conditional logic to emails, tank you page and my account/order page

## [1.6.7] - 2018-07-18

- Tweaked path info in template files
- Fixed show all files in attachments metabox

## [1.6.6] - 2018-05-24

- Tweaked products select item in conditional logic to AJAX
- Fixed id attribute on date field

## [1.6.5] - 2018-05-23

- Added support for WooCommerce 3.4

## [1.6.4] - 2018-05-18

- Added checkbox field (inspirecheckbox already is) to conditional logic
- Fixed the ability to remove fields added to the conditional logic

## [1.6.3] - 2018-03-15

- Fixed display a warning if the WP Desk Helper plugin hasn't been installed

## [1.6.2] - 2018-03-01

- Fixed file upload on WooCommerce 3.3.x

## [1.6.1] - 2018-03-01

- Fixed warning on orders list

## [1.6] - 2018-02-21

- Added variations support for conditional logic
- Fixed saving fields when the field logic is on and the field is hidden
- Fixed hide of the upload field when conditions of conditional logic are fulfilled

## [1.5.6] - 2018-01-28

- Added support for WooCommerce 3.3

## [1.5.5] - 2017-12-14

- Fixed and tweaked settings for date field

## [1.5.4] - 2017-11-22

- Fixed problem with blocking days before today for date field

## [1.5.3] - 2017-10-25

- Tweaked date field: adding negative value to "Day before" input. Ability to add past and future dates.

## [1.5.2] - 2017-07-27

- Fix conditional logic for product variations

## [1.5.1] - 2017-05-30

- Fixed fields sorting bug

## [1.5] - 2017-04-03

- Added support for upcoming WooCommerce 3.0
- Dropped support for WooCommerce below 2.5 (the plugin may still work with older versions but we do not declare official support)

## [1.4] - 2017-02-15

- Added conditional logic for fields: checkbox, radio, select
- Added support for HTML tags to radio options: img, a, strong, em, br

## [1.3.1] - 2016-11-28

- Tweaked radio buttons output HTML

## [1.3] - 2016-10-07

- Added fields conditional logic based on products and categories
- Added WPML and Polylang support

## [1.2.2] - 2016-09-22

- Fixed checkbox display by wrapping input checkbox with label

## [1.2.1] - 2016-09-16

- Fixed checkboxes default settings
- Fixed select not showing up
- Fixed HTML field

## [1.2] - 2016-09-07

- First Release!