=== Free Shipping Bar: Amount Left for Free Shipping for WooCommerce ===

== Archived Changelog Entries ==
This file contains older changelog entries, so we can keep the size of the standard WordPress readme.txt file reasonable.
For the latest changes, please see the "Changelog" section of the [readme.txt file](https://wordpress.org/plugins/amount-left-free-shipping-woocommerce/#developers).

= 2.4.6 - 14/10/2024 =
* Dev - WPFactory admin menu removed from pro version.
* Fix - WPFactory menu and submenus are now visible and accessible.

= 2.4.5 - 07/10/2024 =
* Fix - Fixed WPFactory Key Manager library.

= 2.4.4 - 27/09/2024 =
* Dev - Add WPFactory Key Manager library.
* Dev - Add Cross-selling library.
* Dev - Move settings to WPFactory menu.

= 2.4.3 - 23/09/2024 =
* WC tested up to: 9.3.
* Fix - Store notice - Fixed Site wide notice with the AJAX option.
* Fixed PHP Warning:  Undefined array key "location".

= 2.4.2 - 12/09/2024 =
* Fix - Hide shipping methods - Improve naming from "Free shipping method" to "Visible shipping methods", and the feature description.

= 2.4.1 - 12/09/2024 =
* Fix - Hide shipping methods - Fixed a PHP error related to the new multiselect free shipping method option.

= 2.4.0 - 12/09/2024 =
* Fix - Advanced - AJAX was not working in some contexts, such as in the shortcode.

= 2.3.12 - 06/09/2024 =
* Fix - Hide shipping methods - Free shipping method - Multiselect.

= 2.3.11 - 05/09/2024 =
* WC tested up to: 9.2.

= 2.3.10 - 30/07/2024 =
* WC tested up to: 9.1.
* Tested up to: 6.6.

= 2.3.9 - 20/05/2024 =
* Update plugin name.

= 2.3.8 - 20/05/2024 =
* WC tested up to: 8.8.

= 2.3.7 - 04/04/2024 =
* Update - readme.txt.
* WC tested up to: 8.7.
* Tested up to: 6.5.

= 2.3.6 - 13/02/2024 =
* Fix - Remove store wide notice if message empty.

= 2.3.5 - 08/02/2024 =
* Fix - Percentage calculation.

= 2.3.4 - 07/02/2024 =
* Update readme.txt file.
* New - Progress bar - use %progress_bar% in text areas after enabling the related section.
* WC tested up to: 8.5.

= 2.3.3 - 06/02/2024 =
* Fix - Avoid possible errors: Unsupported operand types: string - float on `Alg_WC_Left_To_Free_Shipping_Core`.
* Fix - Fix some PHP warnings.

= 2.3.2 - 18/12/2023 =
* Update readme.txt file.
* WC tested up to: 8.4.
* Tested up to: 6.4.

= 2.3.1 - 26/09/2023 =
* Update plugin icon, banner
* WC tested up to: 8.1.

= 2.3.0 - 11/09/2023 =
* Dev - Add compatibility to POS.
* Dev - Move main class to a separate file.

= 2.2.10 - 31/08/2023 =
* Update plugin title.
* Tested up to: 6.3.
* WC tested up to: 8.0.

= 2.2.9 - 17/06/2023 =
* WC tested up to: 7.8.

= 2.2.8 - 01/05/2023 =
* Manual min amount > Extra Options > Shipping classes ( available for pro version only )
* Fix changelog

= 2.2.7 - 30/04/2023 =
* Add new extra option under Manual min amount: Manual min amount > Extra Options > Shipping classes

= 2.2.6 - 19/04/2023 =
* Fix - General - Hide shipping methods - Does not hide the other shipping methods on some AJAX requests.
* Tested up to: 6.2.
* WC tested up to: 7.6.

= 2.2.5 - 09/02/2023 =
* Fix changelog.

= 2.2.4 - 09/02/2023 =
* Dev - Advanced - Manually detect changes on updated totals from WooCommerce cart/checkout blocks with a custom js event: `alg_wc_alfs_wc_cart_checkout_updated_totals`.

= 2.2.3 - 09/01/2023 =
* Dev - Hide amount left - New option: By shipping method.
* Dev - Hide amount left - By shipping method - New option: Operator.
* WC tested up to: 7.3.
* Tested up to: 6.1.

= 2.2.2 - 26/09/2022 =
* Fix - Uncaught Error on Amount Left widget.

= 2.2.1 - 23/09/2022 =
* Fix - Uncaught Error is triggered on admin if the `[alg_wc_left_to_free_shipping]` shortcode is used on a widget or block.
* Fix gitattributes regarding git-tag.sh.
* WC tested up to: 6.9.

= 2.2.0 - 25/08/2022 =
* Dev - General - New option: If empty, set shipping country automatically based on the default shipping zone.
* WC tested up to: 6.8.

= 2.1.9 - 27/07/2022 =
* Dev - Store notice - Create padding style option.
* WC tested up to: 6.7.

= 2.1.8 - 31/05/2022 =
* Dev - Store notice - Create "font weight" option.
* WC tested up to: 6.5.
* Tested up to: 6.0.

= 2.1.7 - 02/05/2022 =
* Dev - General - Hide all shipping methods when free shipping is available.
* WC tested up to: 6.4.

= 2.1.6 - 24/03/2022 =
* Improve readme.
* Add screenshot.
* WC tested up to: 6.3.

= 2.1.5 - 08/02/2022 =
* Fix - Store notice - Fix possible conflict between "Hide", "Animate" and "Ajax" options.
* Fix - Allow default WooCommerce notice to be updated via ajax.
* Fix - Change `alg-wc-alfs-data` parameter to `data-alg-wc-alfs` on ajax.
* Dev - Cart - Custom style - Create option to customize text color and font size style.
* Dev - Checkout - Custom style - Create option to customize text color and font size style.
* Dev - Store notice - Add font size option.
* Dev - Create `alg_wc_get_left_to_free_shipping_args` filter.
* Dev - Create advanced section.
* Tested up to: 5.9.

= 2.1.4 - 20/01/2022 =
* WC tested up to: 6.1.

= 2.1.3 - 18/11/2021 =
* Fix - Remove log from `alg_wc_left_to_free_shipping_ajax()`.

= 2.1.2 - 18/11/2021 =
* Fix - Manual min amount - Compatibility - Extra currency amount is being converted.

= 2.1.1 - 10/11/2021 =
* Fix - "General > Hide > By cart amount" does not allow empty values.
* Fix - Unsupported operand types: string - float on 'class-alg-wc-alfs-core.php:529'.
* Fix - Manual min amount - Empty and zero give different results.
* Dev - Manual min amount - Add special values, as zero and -1, for the minimum amounts with different possibilities.
* WC tested up to: 5.9.

= 2.1.0 - 29/09/2021 =
* Dev - General - Calculation - Add option to exclude shipping from cart total calculation.
* General - Calculation - Change option from "Include discounts" to "Exclude discounts".

= 2.0.9 - 28/09/2021 =
* Dev - General - Calculation - Add "Cart total" method.
* WC tested up to: 5.7.

= 2.0.8 - 23/09/2021 =
* Rename and move "Minimum cart amount" option to "General > Hide the amount left text > By cart amount".

= 2.0.7 - 08/09/2021 =
* Dev - Manual min amount - Add "Shipping methods" extra option.
* Dev - Add `alg_wc_left_to_free_shipping_manual_min_amount_available_types` filter.
* Dev - Remove `alg_wc_left_to_free_shipping_manual_min_amount_extra` filter.
* Dev - Improve `is_plugin_active` function.
* Dev - Refactor `Alg_WC_Left_To_Free_Shipping_Core::get_manual_min_amount()` function.
* Dev - Improve readme.
* WC tested up to: 5.6.
* Tested up to: 5.8.

= 2.0.6 - 23/06/2021 =
* Fix - Pro version link.
* Dev - Add github deploy setup.

= 2.0.5 - 15/06/2021 =
* Fix - Free and pro plugins can't be active at the same time.
* Dev - General - Create "Hide by user roles" option.
* Dev - Add composer.
* Dev - Add promoting notice package.
* WC tested up to: 5.4.

= 2.0.4 - 13/05/2021 =
* Dev - General - Ajax Options - Add "Force update" option trying to fix issues with caching.
* Dev - Store notice - Site-wide notice - Add "Placement hook" option.
* Dev - Store notice - Site-wide notice - Add "Animate" option.
* WC tested up to: 5.3.

= 2.0.3 - 10/05/2021 =
* Fix - Widget - Fix possible PHP warning "Undefined array key content".
* WC tested up to: 5.2.

= 2.0.2 - 29/03/2021 =
* Dev - General - Add "Ignore virtual products in cart" option.
* Dev - Add `alg_wc_left_to_free_shipping_cart_total` filter.

= 2.0.1 - 22/03/2021 =
* Dev - Create `wpml-config.xml` file with some admin text options from the plugin for a better compatibility with Polylang and WPML.
* Tested up to: 5.7.

= 2.0.0 - 15/02/2021 =
* Fix - General - Ajax prevents content wrapping.
* Dev - Cart and Checkout - Add "Wrap method" option.
* Dev - Cart and Checkout - Add "Wrap template" option.
* Dev - General - Add "Clear notices" option.
* Dev - General - Create "Cart total method" option.
* Dev - Manual min amount - Compatibility - Add compatibility option with "WooCommerce Currency Switcher" plugin made by WooCommerce author realmag777.
* Dev - Add `alg_wc_left_to_free_shipping_manual_min_amount` filter.
* Dev - Add `alg_wc_left_to_free_shipping_manual_min_amount_extra` filter.
* WC tested up to: 5.0

= 1.9.6 - 13/01/2021 =
* Dev - Store notice - Create "Default WooCommerce notice" option.
* Dev - Store notice - Default WooCommerce notice - Create "Notice type" option.
* Dev - Store notice - Default WooCommerce notice - Create "Display by function" option.
* Dev - Advanced - Add "Check cart free shipping" option.
* Dev - General - Add "Hide by category" option
* Dev - General - Hide by category - Add "check children" option
* Dev - Add `alg_wc_get_left_to_free_shipping_validation` filter.
* Tested up to: 5.6
* WC tested up to: 4.9

= 1.9.5 - 08/12/2020 =
* Fix - Replace `get_left_to_free_shipping` call using an array as parameter.

= 1.9.4 - 07/12/2020 =
* Dev - General - Add "Minimum cart amount" option allowing to only display the amount left for free shipping if there is a minimum cart amount.
* Dev - General - Add `min_cart_amount` param to `alg_wc_left_to_free_shipping` shortcode.
* WC tested up to: 4.7

= 1.9.3 - 16/11/2020 =
* Fix - Widget - Allow the Widget to save some html including `<progress>` tag.
* Add FAQ regarding HTML table row tags for table positions.
* Improve position descriptions at Cart and Checkout sections using (in table) at the end.
* Improve content description at Cart and Checkout sections regarding HTML table row tags for table positions.

= 1.9.2 - 05/11/2020 =
* Fix - PHP Notice:  Undefined index: min_free_shipping_amount in class-alg-wc-alfs-pro.php.
* Dev - Manual Min Amount - Settings section title updated.
* Dev - General - Ajax Options - Add "Added to cart event without AJAX" option fixing the Store notice not getting displayed on single product pages.

= 1.9.1 - 04/11/2020 =
* Dev - AJAX - Events - Renamed to "Additional events" and it now defaults to an empty string. I.e. default events are now always included.
* Dev - `[alg_wc_left_to_free_shipping]` - Third param in `shortcode_atts()` function now matches the shortcode name (was `alg_get_left_to_free_shipping`).
* Plugin author updated.
* WC tested up to: 4.6.

= 1.9.0 - 10/10/2020 =
* Dev - Manual Min Amount - "Currencies" options added.
* Dev - Manual Min Amount - "Shipping zones" options added.
* Dev - Manual Min Amount - "Enable section" option added (defaults to `yes`).
* Dev - "Manual Min Amount" settings section added (i.e. options moved from "General > Advanced: Manual Min Amount").

= 1.8.0 - 28/09/2020 =
* Dev - Code refactoring.
* WC tested up to: 4.5.

= 1.7.1 - 28/08/2020 =
* Fix - Functions - `alg_wc_alfs_get_min_free_shipping_amount()` - Checking if shipping method `is_available()` - "Free delivery" fixed and outputted.
* Fix - AJAX - Pass min amount - Option removed (i.e. defaults to `no`) (this caused issues with free shipping coupons).
* Fix - Store notice - `<p>` tag replaced with `<span>` (this allows to use `<p>` tags inside the content).

= 1.7.0 - 25/08/2020 =
* Fix - Store notice + empty "free delivery" issue fixed.
* Dev - Functions - `alg_wc_alfs_get_min_free_shipping_amount()` - Checking if shipping method `is_available()` now (if it is - will hide the left to free shipping content).
* Dev - AJAX - Events - `wc_cart_emptied` event added to the default value.
* Dev - General - "Message on empty cart" options added.
* Dev - General - Message on free shipping reached - Now replacing placeholders.
* Dev - Advanced - Check for virtual cart - Returning `false` on empty cart now.
* Dev - Store notice - "Position" option added. Available values: "Bottom" (default) and "Top".
* Dev - Store notice - `z-index` increased to `99999` (was `9999`).
* Dev - JS files minified.
* Dev - Admin settings restyled.
* Dev - Code refactoring.
* Tested up to: 5.5.
* WC tested up to: 4.4.

= 1.6.0 - 06/08/2020 =
* Fix - Functions - `alg_get_left_to_free_shipping()` - AJAX + "free delivery" issue fixed.
* Dev - "Store notice" section added.
* Dev - AJAX - Events - `updated_checkout` event added to the default value.
* Dev - AJAX - "Pass min amount" option added.
* Dev - Mini Cart - Position - 5 new positions added.
* Dev - Advanced - "Check for free shipping" option added.
* Dev - Advanced - "Check for virtual cart" option added.
* Dev - Functions - `alg_get_left_to_free_shipping()` - Always processing shortcodes in result now (not only on "free delivery reached").
* Dev - Admin settings split into sections: "Cart", "Min-cart", "Checkout", "Add to cart" sections added.
* Dev - Code refactoring.

= 1.5.2 - 26/06/2020 =
* Dev - AJAX - Time interval based method replaced with event based; "Interval" option removed; "Events" option added (defaults to `updated_cart_totals added_to_cart removed_from_cart wc_fragment_refresh`).

= 1.5.1 - 25/06/2020 =
* Fix - AJAX - "You have free delivery!" text fixed.

= 1.5.0 - 25/06/2020 =
* Dev - "AJAX Options" section added.

= 1.4.8 - 23/06/2020 =
* Dev - Now checking child classes of `WC_Shipping_Free_Shipping` class as well.
* Dev - Admin settings descriptions updated.
* Tested up to: 5.4.
* WC tested up to: 4.2.

= 1.4.7 - 30/03/2020 =
* Fix - "Reset settings" admin notice fixed.
* Dev - Optional `$free_delivery_text` param added to the `alg_wc_get_left_to_free_shipping()` function.
* Dev - Optional `free_delivery_text` attribute added to the `[alg_wc_left_to_free_shipping]` shortcode.
* Dev - Admin settings descriptions updated.
* WC tested up to: 4.0.

= 1.4.6 - 06/02/2020 =
* Dev - Optional `$min_free_shipping_amount` param added to the `alg_wc_get_left_to_free_shipping()` function.
* Dev - Optional `min_free_shipping_amount` attribute added to the `[alg_wc_left_to_free_shipping]` shortcode.

= 1.4.5 - 26/01/2020 =
* Dev - Advanced Options - "User roles" options added.

= 1.4.4 - 24/01/2020 =
* Dev - General Options - "Include discounts" option added.
* Dev - Code refactoring.
* WC tested up to: 3.9.

= 1.4.3 - 25/12/2019 =
* Dev - "Add to Cart Notice" options added.

= 1.4.2 - 20/12/2019 =
* Dev - Advanced Options - "Manual min amount" option added.
* Dev - Comparing floats with epsilon now.

= 1.4.1 - 04/12/2019 =
* Dev - Code refactoring.

= 1.4.0 - 13/11/2019 =
* Fix - Cart total calculation fixed.
* Dev - Code refactoring.
* WC tested up to: 3.8.
* Tested up to: 5.3.

= 1.3.1 - 19/06/2019 =
* Dev - New placeholders added for "raw" amounts: `%amount_left_for_free_shipping_raw%`, `%free_shipping_min_amount_raw%` and `%current_cart_total_raw%`.
* Tested up to: 5.2.

= 1.3.0 - 30/04/2019 =
* Dev - Checkout - "Order review: Before shipping" and "Order review: After shipping" positions added.
* Dev - `%current_cart_total%` placeholder added.
* Dev - `[alg_wc_left_to_free_shipping_translate]` shortcode added.
* Dev - Code refactoring.
* Dev - Admin settings restyled and descriptions updated.
* Dev - "Tested up to" and "WC tested up to" updated.

= 1.2.0 - 07/08/2018 =
* Dev - WooCommerce v3.2.0 compatibility - "WC_Cart->taxes is deprecated since version 3.2" notice fixed.
* Dev - Info on Checkout - New positions added.
* Dev - POT file renamed.
* Dev - Admin settings restyled.
* Dev - Plugin settings array is saved as main class property.
* Dev - Code refactored and cleaned up.
* Dev - Plugin link updated.

= 1.1.0 - 14/06/2017 =
* Dev - Autoloading plugin's options.
* Dev - `custom_textarea` instead of `textarea` in plugin settings.
* Dev - Settings descriptions updated.
* Dev - Plugin link updated from <a href="http://coder.fm">http://coder.fm</a> to <a href="https://wpcodefactory.com">https://wpcodefactory.com</a>.
* Dev - Plugin header ("Text Domain" etc.) updated.

= 1.0.0 - 16/02/2017 =
* Initial Release.