= 4.0.4 (2025-04-08) =
* Fixed: MySql error on the "sync price with children" task if the option "Hide out-of-stock items from the catalog" is enabled.
* Fixed: The Analytics Taxes report is not converted to the default currency.
= 4.0.3 (2025-03-28) =
* Fixed: Compatibility issue with "WooCommerce Stripe Payment Gateway by Automattic" 9.3+.
= 4.0.2 (2025-03-25) =
* Fixed: PHP Warning when third-party dev adds a nonvalid regex using the 'wc_price_based_country_frontend_rest_routes' filter.
* Fixed: I18n: Text domain mismatch on some texts.
* Fixed: Security bugs.
= 4.0.1 (2025-03-17) =
* Fixed: Polylang compatibility: Empty query var index generates a PHP error.
* Fixed: The variation prices transient cache is overridden due to the incorrect hash.
= 4.0.0 (2025-03-11) =
* Added: Tested up WooCommerce 9.7+.
* Added: Core performance improvements:
- Display prices on the page 10%-15% faster.
- The number of the post_meta rows needed to store the prices has been reduced.
- All queries have been optimized.
- The admin background process runs now on the Action Scheduler.
* Added: Polylang support: Synchronizes data between languages.
* Added WPML support: Data synchronization between languages now runs in the plugin core instead of being delegated to WMPL.
* Added: Country Switcher as WordPress Block.
* Added: Users can add all countries to pricing zones instead of only the ones included in the "Selling location(s)" option.
* Added: Responsive design to settings pages.
* Tweak: Prevent browsers from asking users if they want to resend the form on page refresh after switching countries using the widgets.
* Fixed: The price filter classic widget (by WooCommerce) displays incorrect minimum and maximum values.
= 3.4.13 (2025-01-16) =
* Tweak: Function refactoring.
= 3.4.12 (2024-12-19) =
* Added: Tested up WooCommerce 9.5+.
* Added: Tested up WordPress 6.7+.
* Fixed: Setting fields display as empty when the option value is zero.
= 3.4.11 (2024-11-12) =
* Fixed: Double conversion issue since CartFlows 2.0.7.
* Fixed The save button is not enabled after turning off/on a pricing zone from the pricing zones table.
= 3.4.10 (2024-10-01) =
* Added: Tested up WooCommerce 9.3+.
* Fixed: WooCommerce PayPal Payments 2.9.1 CANNOT_MIX_CURRENCIES error.
= 3.4.9 (2024-07-30) =
* Added: Tested up WooCommerce 9.1+.
* Added: Tested up WordPress 6.6+.
= 3.4.8 (2024-07-14) =
* Fixed: PHP Error with WooCommerce Stripe 8.5+.
= 3.4.7 (2024-06-27) =
* Added: Tested up WooCommerce 9.0+.
* Added: Update compatibility with "Google Product Feed by Ademti Software".
* Fixed: Compatibility issues with the UPE payment methods of "WooCommerce Stripe Payment Gateway By WooCommerce" plugin.
= 3.4.6 (2024-06-04) =
* Added: Tested up WooCommerce 8.9+.
* Fixed: Compatibility issue with "Variation Swatches For WooCommerce PRO By Emran Ahmed".
= 3.4.5 (2024-05-08) =
* Added: Tested up WooCommerce 8.8+.
* Added: Support for the Elementor Pro "Taxonomy Filter" widget.
* Fixed: Minor bugs on the geolocation setup wizard.
= 3.4.4 (2024-03-13) =
* Update: Revert the geolocation AJAX call to POST to prevent issues with Sucuri.
* Tweak: Check the "woocommerce_package_rates" filter parameter is an array to prevent PHP warnings.
= 3.4.3 (2024-02-20) =
* Added: Tested up WooCommerce 8.6+.
* Fixed: Geolocation issues when the "Real Cookie Banner" plugin is active.
* Fixed: Deprecated warnings on PHP 8.2.
* Tweak: Prevent the AJAX geolocation query to be cached by cache plugins or the server.
= 3.4.2 (2023-12-18) =
* Added: Tested up WooCommerce 8.4+.
* Fixed: Mini-cart total does not refresh after changing the country using the country/currency switcher.
* Fixed: Frontend prices are loaded for the "Facebook for WooCommerce" background process.
= 3.4.1 (2023-12-07) =
* Update: Revert the price loading animation to "dots".
= 3.4.0 (2023-11-30) =
* Added: Tested up WooCommerce 8.3+.
* Added: Compatible with Flexible Shipping by Octolize plugin.
* Added: Replace the loading dots animation with a skeleton placeholder.
* Added: Exclude the AJAX geolocation JavaScript files from the "WP Rocket Delay JavaScript" feature.
* Added: Exclude the AJAX geolocation JavaScript files from the "Siteground Speed Optimizer Combine JavaScript" feature.
* Added: Exclude the AJAX geolocation JavaScript files from the "Jetpack Boost" concat JavaScript feature.
* Fixed: Elementor minicart issue: Cart is empty after adding items to the cart.
* Fixed: Error on settings page when a deprecated PRO version is installed.
= 3.3.2 (2023-11-07) =
* Added: Refresh product transient version after scheduled sales action.
* Added: Display the last error message on the license page.
= 3.3.1 (2023-10-24) =
* Fixed: Integrations are loaded when WooCommerce is not active.
* Fixed: The get_zone_from_order function fails when the parameter is a WC_Order instance.
* Fixed: Restore compatibility with the Porto theme skeleton screens in the "AJAX geolocation".
= 3.3.0 (2023-09-26) =
* Added: Improve compatibility with the infinite scroll feature included in themes or plugins.
* Added: License page style improvements.
= 3.2.4 (2023-09-14) =
* Added: Tested up WordPress 8.1+.
* Fixed: The "Filter by price" WooCommerce block displays incorrect min and max values.
* Fixed: Incorrect result in the "All Products" WooCommerce block after filtering by price.
= 3.2.3 (2023-08-21) =
* Fixed: Bug on the "Advanced Dynamic Pricing for WooCommerce by AlgolPlus" compatibility module.
= 3.2.2 (2023-08-18) =
* Added: Tested up WordPress 6.3.
* Fixed: "Advanced Dynamic Pricing for WooCommerce by AlgolPlus" breaks the "Load product price in the background" feature.
= 3.2.1 (2023-08-03) =
* Added: Tested up WooCommerce 8.0+.
* Fixed: PHP error on the "Pay for order" page.
= 3.2.0 (2023-06-29) =
* Added: Compatible with the WooCommerce High-Performance Order Storage (HPOS).
= 3.1.5 (2023-06-06) =
* Added: Tested up WooCommerce 7.8.
* Fixed: Compatibility issue with FacetWP.
* Fixed: PHP error on admin pages when the user has installed a deprecated PRO version.
= 3.1.4 (2023-04-28) =
* Fixed: Compatible with the Minicart WooCommerce block.
= 3.1.3 (2023-04-20) =
* Added: Tested up WooCommerce 7.6.
* Fixed: Do not update the country with "undefined" when the country field is not in the checkout page (Issue introduced on WooCommerce 7.5 https://github.com/woocommerce/woocommerce/pull/36275).
= 3.1.2 (2023-04-05) =
* Added: Tested up WordPress 6.2.
* Fixed: Compatibility issues on archive/shop pages with the Variation Swatches by Emran Ahmed plugin.
* Fixed: Price does not change on the checkout page if the shipping country is missing in the POST call.
* Fixed: CSS issues on the setup wizard when another plugin overwrites the HTML body class.
= 3.1.1 (2023-03-21) =
* Fixed: The Cartflows plugin creates upsell orders with an incorrect product's price.
* Fixed: PHP error on the options page when a deprecated Pro version is installed.
= 3.1.0 (2023-03-07) =
* Added: Tested up WooCommerce 7.5.
* Fixed: Style issues on admin pages for the Spanish language.
* Tweak: Improvements in the function that detects cache plugins.
= 3.0.2 (2023-01-26) =
* Added: Tested up WooCommerce 7.4.
* Added: "0.10" to the "Reduce the converted price" options.
= 3.0.1 (2023-01-26) =
* Fixed: the "Do not adjust taxes based on location" field always shows unchecked on the pricing zone settings.
* Fixed: Typo on the invalid ID error message.
= 3.0.0 (2023-01-23) =
* Added: Tested up WooCommerce 7.3.
* Added: New setup wizard to help store owners configure the WooCommerce geolocation feature.
* Added: The country and currency switcher widgets now support Flags!
* Added: Admin interface improvements.
* Added: Export and import pricing zones.
* Added: Re-order pricing zones.
* Added: Enable/Disable pricing zones.
* Added: Support for Google Listing and Ads plugin.
* Added: Compatible with the new WooCommerce Cart and Checkout blocks.
* Tweak: New price loading animation.
= 2.2.9 (2022-11-24) =
* Tweak: PayPal Payments by WooCommerce" 2.0 compatiblity improvements.
= 2.2.8 (2022-11-21) =
* Fixed: Compatibility issue with "PayPal Payments by WooCommerce" 2.0+.
= 2.2.7 (2022-11-09) =
* Added: Tested up WooCommerce 7.1.
* Added: Declare incompatibility with WooCommerce HPOS feature.
* Fixed: "Unexpected currency from order API call" error on "PayPal Payments" after country changing on the checkout.
= 2.2.6 (2022-10-25) =
* Added: Tested up WooCommerce 7.0.
* Fixed: "Illegal mix of collations" error on Analytics queries when the table charset differs from the default server charset.
= 2.2.5 (2022-09-01) =
* Added: Tested up WooCommerce 6.9.
* Fixed: Using remove_filter( "the_posts",... ) in a "the_posts" callback causes the following "the_posts" callback not to be executed.
= 2.2.4 (2022-08-05) =
* Added: Tested up WooCommerce 6.8.
* Fixed: Minor bugs.
= 2.2.3 (2022-05-25) =
* Added: Tested up WooCommerce 6.5.
* Added: Tested up WordPress 6.0.
= 2.2.2 (2022-03-23) =
* Fixed: The pricing fields are visible on the variable products when the "WooCommerce Subscriptions" plugin is enabled.
* Fixed: The net sales amount of the Products Report in Analytics is not converted to the base currency.
* Tweak: Copy the order metadata to the refund orders to improve the accuracy of the reports.
= 2.2.1 (2022-03-03) =
* Added: Tested up WooCommerce 6.3.
* Added: New filter wc_price_based_country_ajax_geo_skip_wrapper.
* Fixed: "Load product price in the background" option does not work if "Discount Rules by Flycart" is enabled.
* Fixed: Pricing zone settings does not display is "Caldera Forms" plugin is enabled.
= 2.2.0 (2022-02-07) =
* Added: Tested up WooCommerce 6.2.
* Fixed: Compatibility issue with PayPal Payments plugin.
= 2.1.1 (2022-01-12) =
* Added: Tested up WooCommerce 6.1.
* Fixed: PHP Warning "function is_ajax is deprecated since WooCommerce 6.1".
= 2.1.0 (2021-12-15) =
* Added: Tested up WooCommerce 6.0.
* Tweak: Update order meta on woocommerce_checkout_update_order_meta hook insteand of woocommerce_new_order to prevent issues.
* Deprecated: WCPBC_Pricing_Zone::set_zone_id
* Deprecated: WCPBC_Pricing_Zone::get_zone_id
= 2.0.30 (2021-11-29) =
* Fixed: PHP error on creating a new order when the second parameter of the 'woocommerce_new_order' hook is missing.
* Fixed: "Load product price in the background" does not work with the Porto theme "Show Skeleton Screens" option on variable products.
= 2.0.29 (2021-11-23) =
* Fixed: PHP warning on shipping cost currency conversion when the amount is zero.
* Fixed: Incorrect decimal separator after saving variations when WPML is active.
* Tweak: "Load product price in the background" compatible with the Porto theme "Show Skeleton Screens" option.
= 2.0.28 (2021-11-09) =
* Added: Tested up WooCommerce 5.9.
* Fixed: Duplicate _wcpbc_base_exchange_rate postmeta on subscription renewal orders.
* Fixed: "Google product feed by Ademti Software" - Incorrect taxes when the country does not match in a pricing zone.
* Tweak: "Load product price in the background" compatible with themes that use the pjax jquery plugin.
= 2.0.27 (2021-10-21) =
* Added: Tested up WooCommerce 5.8.
* Fixed: "Load product price in the background" overwrites texts added by other plugins to the price of variations.
* Fixed: Calculating totals on AJAX requests causes compatibility issues with other plugins (Smart coupons).
= 2.0.26 (2021-10-05) =
* Fixed: PHP error on some cron executions.
= 2.0.25 (2021-09-15) =
* Tweak: Update compatibility with UPS and Fedex shipping plugins.
* Fixed: Incorrect taxes on the Google product feed generated by the "Google product feed by Ademti Software" plugin.
= 2.0.24 (2021-09-07) =
* Added: Tested up WooCommerce 5.7.
* Fixed: Filter by price does not work when other plugin run a query before WordPress runs the main query.
* Fixed: Cart subtotal is not refreshed after user login in WordPress dashboard.
* Fixed: Add aria-label to the country switcher template to meet web accessibility rules.
= 2.0.23 (2021-08-10) =
* Added: Tested up WooCommerce 5.6.
* Added: Tested up WordPress 5.8.
* Tweak: Update compatibility with All Products for WooCommerce Subscriptions.
= 2.0.22 (2021-07-12) =
* Added: Tested up WooCommerce 5.5.
* Fixed: Layout issues on the price fields for variations on large resolutions.
* Fixed: Do not load the "zone pricing" on the Rest API calls of the WooCommerce app.
= 2.0.21 (2021-06-17) =
* Added: Tested up WooCommerce 5.4.
* Fixed: Do not display exchange rates lower than 0.001 using scientific notation.
* Fixed: "Load product price in the background" compatible with FacetWP filters.
* Fixed: Check the function wcpbc_the_zone returns a pricing zone object.
= 2.0.20 (2021-05-18) =
* Fixed: Bug on the filter by price widget.
* Fixed: Duplicate field on the country switcher widget.
= 2.0.19 (2021-05-13) =
* Added: Tested up WooCommerce 5.3.
* Fixed: The WooCommerce status dashboard widget is not converted to the shop base currency when WC Analytics is active.
= 2.0.18 (2021-04-02) =
* Fixed: Compatibility issue with WooCommerce EU VAT Assistant.
* Fixed: "Load product price in the background" compatible with WooCommerce Product Add-ons +3.6.
= 2.0.17 (2021-03-22) =
* Fixed: Error on FedEx integration.
= 2.0.16 (2021-03-22) =
* Added: Tested up WooCommerce 5.1.
* Added: Improve compatibility with WooCommerce FedEx Shipping method.
* Fixed: Do not include AJAX geolocate styles and scripts on Elementor preview mode.
= 2.0.15 (2021-02-16) =
* Added: Tested up WooCommerce 5.0.
* Fixed: Do no apply exchange rate to recurring percent coupons.
= 2.0.14 (2021-01-21) =
* Added: Tested up WooCommerce 4.9.
* Fixed: The sale price is not removed on the scheduled date end.
* Fixed: All Products for WooCommerce Subscriptions compatibility - Duplicate subscription options for bundle products.
* Tweak: Improvements in how the session is initialized when the customer change the country via the widget.
= 2.0.13 (2020-12-29) =
* Added: Tested up WooCommerce 4.8.
* Added: Compatibility with PayU EU Payment Gateway.
* Fixed: All Products for WooCommerce Subscriptions compatibility - "Load product price in the background" does not refresh the subscription options.
* Fixed: Bug on the geolocation test of the system report.
= 2.0.12 (2020-11-06) =
* Added: Tested up WooCommerce 4.7.
* Fixed: Reports API endpoint does not retuns the totals in the base currency.
= 2.0.11 (2020-10-05) =
* Added: Tested up WooCommerce 4.6.
* Tweak: Not remove the sale price on the product update when the "sale date end" is before to the current day.
* Fixed: Woo Discount Rules by Flycart breaks the "Load product price in the background" feature.
= 2.0.10 (2020-08-04) =
* Fixed: Plugin causes an error on the "Hand-picked Products" block. Thanks @blogjunkie
= 2.0.9 (2020-07-07) =
* Added: Tested up WooCommerce 4.3.
* Tweak: Improve the compatibility with the PayPal Express Checkout by WooCommerce 2.0+ payment method.
* Tweak: Limit the number of pricing zones displayed on the System Status Report.
= 2.0.8 (2020-05-28) =
* Added: Tested up WooCommerce 4.2.
* Fixed: Compatibility issue with WooCommerce Dynamic Pricing by Lucas Stark.
* Fixed: Checkout issue on PayPal Express Checkout by WooCommerce 2.0+ payment method.
* Fixed: Geolocation cache support via AJAX does not refresh the "content shortcode" when there are no products on the page.
= 2.0.7 (2020-05-22) =
* Added: Geolocation cache support via AJAX compatible with Variation Swatches for WooCommerce Pro by Emran Ahmed.
* Added: Geolocation cache support via AJAX compatible with Flatsome Infinite Scroll.
* Fixed: PHP error - Undefined function on WooCommerce < 3.6
* Fixed: Incorrect domain path.
= 2.0.6 (2020-05-14) =
* Fixed: Deprecated use of "implode" in the pricing zones table.
* Added: Improve compatibility with WooCommerce UPS Shipping method.
= 2.0.5 (2020-05-01) =
* Added: Tested up WooCommerce 4.1.
* Fixed: The option "Convert by exchange rate" of coupons is not saved on coupon update.
* Fixed: The geolocation test detects false positives.
* Tweak: Admin notices improvements.
* Tweak: Improve compatibility with object cache plugins.
= 2.0.4 (2020-04-21) =
* Fixed: Issue on the "caching support" option that could affect to discount plugins.
* Fixed: Geolocation function only returns countries included in the allowed countries option.
* Tweak: New admin notice after update the "caching support" option.
* Dev: new filter wc_price_based_country_free_shipping_exchange_rate.
= 2.0.3 (2020-04-16) =
* Fixed: Bug on WooCommerce Admin (Analytics) query.
* Fixed: Compatibility issues with WooCommerce Dynamic Pricing & Discounts by RightPress.
= 2.0.2 (2020-04-11) =
* Fixed: Bug reading the "sale date from" and "sale date to" fields when the value is empty.
* Fixed: Bug calculating the coupon amount by the exchange rate.
* Fixed: The geolocation test fails when the external IP is a IP6.
* Tweak: Display all countries of the pricing zones in the country switcher widget.
* Dev: new filter wc_price_based_country_allow_all_countries.
= 2.0.1 (2020-04-09) =
* Fixed: PHP error - undefined function wcpbc_get_overwrite_meta_keys in the "WPML" integration.
= 2.0.0 (2020-04-09) =
* Required WooCommerce 3.4 or higher.
* Added: Compatibility with "WooCommerce Admin".
* Added: Compatibility with "WooCommerce Blocks".
* Added: Improvements in the product price synchronization: DB updates in the background. No more timeout errors.
* Added: Remove the frontend JavaScript that refreshes the minicart on country switcher change.
* Added: Replace the font spinner by a pure CSS spinner (to improve the page load time).
* Added: Cache the AJAX geolocation response when the site is using a object cache.
* Fixed: Force mini cart refresh when the pricing zone change by extending the cart hash.
* Fixed: Refresh the minicart on checkout page when the country change.
* Fixed: The product shortcode cache does not store a value by pricing zone.
= 1.8.25 (2020-03-16) =
* Tweak: Additional check to prevent a JavaScript error when the Cookies jQuery plugin is not set.
= 1.8.24 (2020-03-11) =
* Tweak: Tested up WooCommerce 4.0
* Fixed: The option "Convert by exchange rate" of coupons is not saved on coupon update.
* Fixed: Warning on install fuction when WooCommerce is not active.
* Fixed: Remove empty row from the System Status table.
= 1.8.23 (2020-03-03) =
* Fixed: Bug on WC update GeoIP database WC < 3.9.
* Fixed: Error on the function that updates database to 1.6.
* Tweak: Improvements on the geolocation AJAX function to prevent issues with wrong HTML in the product pages.
= 1.8.22 (2020-01-29) =
* Fixed: Bug on WooCommerce Status report.
* Tweak: Remove WC update GeoIP database hooks for WC < 3.9.
= 1.8.21 (2020-01-27) =
* Added: DB-IP lite database geolocation for WC < 3.9
* Fixed: GeoIP check in the WooCommerce status report.
= 1.8.20 (2020-01-23) =
* Added: Updated compatibility with WooCommerce 3.9
= 1.8.19 (2020-01-09) =
* Added: Support for WooCommerce 3.9
* Tweak: Updated the text of the warning that is displayed when the MaxMind database does not exist.
* Tweak: Improve the frontend javascript to prevent other javascript errors stop the geolocation function.
= 1.8.18 (2019-12-05) =
* Fixed: Set the manual sale price dates in the WordPress timezone.
* Fixed: Update the price by exchange rates after the CSV import process.
= 1.8.17 (2019-11-26) =
* Fixed: Enabled PayFast setup when exists a pricing zone with ZAR currency.
* Fixed: Bug on manual sale price dates by pricing zone.
= 1.8.16 (2019-11-14) =
* Added: Tested up to WordPress 5.3
* Fixed: Set the order currency on WooCommerce PayPal Checkout Payment Gateway transactions.
= 1.8.15 (2019-11-04) =
* Added: Support for WooCommerce 3.8
* Added: Integration with Google Product Feed by Ademti Software.
* Fixed: Convert amounts of Dynamic Pricing general rules.
* Fixed: Price display issue in the subscription plans of "All Products for WooCommerce Subscriptions" by SomewhereWarm.
* Fixed: Typo error on the name of funcion "wcpbc_pricing_input".
= 1.8.14 (2019-10-07) =
* Fixed: Error on currency conversion of the fixed prices of Dynamic Pricing by Lucas Stark
= 1.8.13 (2019-10-01) =
* Fixed: Compatibility issue with discount plugins when the zone price is equal to the default price.
* Fixed: Bug on the admin notice module.
= 1.8.12 (2019-09-20) =
* Fixed: Check the test country is a string before display the test mode notice.
* Tweak: Display notices in the WordPress dashboard.
* Dev: New action wc_price_based_country_settings_zone_saved.
= 1.8.11 (2019-08-13) =
* Added: WooCoomerce 3.7 compatibility.
= 1.8.10 (2019-08-06) =
* Fixed: other_countries_text index is undefined on the country selector widget.
* Fixed: 'WCPBC_Admin_Notices' does not have a method warning.
* Dev: Prevent that the filter wc_price_based_country_shortcode_atts overrides the default shortcode attributes.
= 1.8.9 (2019-07-04) =
* Fixed: Double discount in cart related to discount plugins.
* Fixed: Switchers don't work on the checkout page.
* Dev: New filter to allow to third-party adding product type supported.
= 1.8.8 (2019-06-06) =
* Fixed: Products with sale price zero use the regular price instead of the zero sale price.
* Tweak: A tool (WooCommerce > Status > Tools) to updates the database to the latest version.
= 1.8.7 (2019-05-21) =
* Fixed: Store notice of the "Test mode" option displays a plain HTML.
* Fixed: empty_no_zero function detects "false" as a empty value different to zero.
= 1.8.6 (2019-05-14) =
* Fixed: Duplicate variable products when order by price.
* Fixed: Minor bugs.
* Tweak: Use a javascript file instead of an inline script for the country selector.
* Dev: New JavaScript events.
= 1.8.5 (2019-05-03) =
* Fixed: "No products were found matching your selection." error on WC 3.6.
= 1.8.4 (2019-05-02) =
* Fixed: WC 3.6 and external products issue.
* Fixed: Compatible with discount plugins for WC 3.6.
* Fixed: Order products by price does not work.
* Fixed: Error on "order by price" main query.
* Fixed: Refresh the Ajax geolocation transient after the pricing zone update.
= 1.8.3 (2019-04-19) =
* Fixed: Shipping calculator form does not change the pricing zone.
* Fixed: Removed the stock check from the synchronization variable product prices with children.
* Fixed: Variable Subscription products page does not load.
* Added: Cache the geolocation AJAX response to improve performance.
* Tweak: Improve compatibilty with plugins and themes which uses AJAX to load content.
* Tweak: Force display of price in the geolocation AJAX function to fix plugins conflict.
= 1.8.1 (2019-04-10) =
* Added: Warning to users who uses a deprecated version of the Pro add-on.
* Added: get_regions as deprecated function.
= 1.8.0 (2019-04-09) =
* Added: Compatible with WooCommerce 3.6.
* Added: New option to allow users to disable the tax adjustment based on location when the prices are entering with tax included.
* Added: Test to detect geolocation problems in system report.
* Added: New constant to allow users uses the remote_addr as customer IP.
* Added: New interface for pricing zone table.
* Tweak: Country switcher template compatible with defer script attribute.
* Tweak: Button to unselect Eurozone form the countries list of the pricing zone.
* Fixed: Minor security issues.
* Dev: Adapt code to the WordPress code standards.
* Dev: New admin frawework.
= 1.7.21 (2019-02-21) =
* Fixed: Bug with WooCommerce 3.5.5 that prevented saving zones.
= 1.7.20 (2019-01-23) =
* Fixed: "Hide notice" button only works in WooCommerce admin pages.
= 1.7.19 (2019-01-03) =
* Tweak: AJAX geolocation javascript improve to better compatibility with customizations of the price HTML.
* Tweak: Check wc_admin_screen before load admin javascript.
= 1.7.18 (2018-11-27) =
* Fixed: Order by price does not work.
= 1.7.17 (2018-11-20) =
* Tweak: Frontend Javascript compatible with JQuery versions prior to 1.12.
= 1.7.16 (2018-11-15) =
* Fixed: Javascript error on AJAX pricing geolocation.
https://wordpress.org/support/topic/dynamic-prices-not-loading-on-archive-page/
* Fixed: Error on loading coupons of type percent.
* Tweak: Code improvements.
= 1.7.15 (2018-10-12) =
* Added: New core functions.
= 1.7.14 (2018-10-04) =
* Fixed: Bug on "is_exchange_rate" function that affects to round to nearest.
* Fixed: Bulk delete zones action does not work.
* Tweak: Add tax info to to WooCommerce System Report.
= 1.7.13 (2018-10-02) =
* Added: WooCommerce tested up to 3.5
* Fixed: The get_price function return a wrong price for variable products.
https://wordpress.org/support/topic/wrong-price-for-variable-products/
* Tweak: Improvements on AJAX geolocate function.
= 1.7.12 (2018-09-06) =
* Fixed: Check the correct WC version before get cart content total.
* Fixed: Some errors do not display after zone update.
* Tweak: Improvements on AJAX geolocate script.
* Tweak: Removed URL parameter after update GeoIP database action.
* Tweak: Added 'Dismiss' text to dismissible notices.
= 1.7.11 (2018-08-23) =
* Fixed: Uncaught Error: Call to a member function get_billing_country() on null.
https://wordpress.org/support/topic/error-on-flatsome-theme/.
* Fixed: Action button messages move down in the settings page.
* Fixed: Get real IP fail on the wooocommerce status report.
* Tweak: New hook to allow filter "is admin AJAX".
= 1.7.10 (2018-07-02) =
* Fixed: Change AJAX Geolocation method to POST to prevent cache issues.
* Tweak: Call AJAX pricing geolocation on each AJAX request to improve compatibility with plugins and themes.
* Tweak: Add Geolocation debug info to WooCommerce System Report.
= 1.7.9 (2018-06-19) =
* Added: Spinner to AJAX Geolocation.
* Tweak: Re-style setting zone page.
* Fixed: Bug on get_zone function.
= 1.7.8 (2018-06-04) =
* Fixed: Set the correct country when the customer lands on the order payment page.
* Fixed: Warning: Non-static method be called statically on tracker class.
= 1.7.7 (2018-06-01) =
* Fixed: Ajax geolocation does not refresh the widgets when the cache date is before the widget update.
* Tweak: Don't display the "MaxMind database does not exists" alert when Cloudflare Geolocation is enabled.
* Added: An easy way to update to MaxMind Geolocation database when it does not exists.
* Added: Improvements on country switcher template.
* Added: Tax settings in the WooCommerce status report.
= 1.7.6 (2018-05-24) =
* Fixed: Change country on cart shipping calculator does not update product pricing.
= 1.7.5 (2018-05-15) =
* Fixed: Product variations with a wrong 'product type' taxonomy are updated with 'nothing' as price method.
* Tweak: Set public get_zone_from_order method.
= 1.7.4 (2018-05-08) =
* Fixed: PHP Parse error on class-admin-notices.
https://wordpress.org/support/topic/syntax-error-in-class-wcpbc-admin-notices-php-causes-500-error-in-wp-dashboard/
* Fixed: Ajax geolocation support does not work on homepage for some page builders.
* Tweak: Update order meta with zone pricing data.
* Tweak: WooCommerce tested up to 3.4
= 1.7.3 (2018-04-17) =
* Fixed: Notice dismissible button does not work.
* Fixed: Compatible with WC2.5.
* Tweak: Upgrade notice.
= 1.7.2 (2018-04-13) =
* Fixed: Bug on front-end pricing class.
* Fixed: Error on admin-notices module on WC version older than 2.6.
* Fixed: Refresh mini cart totals after country/currency switch.
* Fixed: Problems with order review refresh on checkout page.
* Added: Support for "Dynamic Pricing" fixed price and price discount by the exchange rate.
* Tweak: New admin notices.
= 1.7.1 (2018-03-27) =
* Fixed: Error "Can’t use function return value in write context" on old PHP versions.
= 1.7.0 (2018-03-27) =
* Added: New option: Load product price in the background via AJAX to solve the problem with cache and Geolocation.
* Added: No unnecessary WooCommerce user sessions.
* Added: "Admin notices" to help users to solve most common problems.
* Added: Delegate "Cart refresh" to WooCommerce after the country change by Country switcher.
* Added: Security improvements.
* Tweak: Style improvements in the back-end.
= 1.6.25 (2018-03-01) =
* Fixed: Front-end pricing loaded on built-in Woocommerce products export/import.
= 1.6.24 (2018-02-16) =
* Fixed: Break admin styles.
= 1.6.23 (2018-02-06) =
* Tweak: Check compatibility with WC 3.3
= 1.6.22 (2017-12-09) =
* Fixed: Quick edit compatible with WC 3.0+
* Fixed: On sale dates does not set product on sale.
* Fixed: Upgrade to pro notice display for variable products.
= 1.6.21 (2017-11-21) =
* Added: Improvements to manage zones.
* Added: Improvements to status report.
* Tweak: Retesting compatibility with WPML
* Fixed: PHP Notice - Array to string conversion in status report.
= 1.6.20 (2017-10-13) =
* Fixed: Warning message on WC 3.2 "Indirect modification of overloaded property WC_Shipping_Rate::$taxes".
https://wordpress.org/support/topic/just-php-notices-after-last-woo-update-2/
* Tweak: WC version check.
= 1.6.19 (2017-09-19) =
* Fixed: All product are on sale.
https://wordpress.org/support/topic/all-product-are-on-sale-after-last-update/
= 1.6.18 (2017-09-19) =
* Fixed: Error on WooCommerce Reports message when only exists one currency.
* Tweak: Improvements in frontend pricing core function.
* Tweak: Deprecated hook "wc_price_based_country_stop_princing" replaced with "wc_price_based_country_stop_pricing".
* Tweak: Improvements in system report.
* Added: "Select Eurozone" button to settings page.
= 1.6.17 (2017-07-22) =
* Fixed: Error on edit product when WooCommerce Multilingual is active.
* Tweak: Add "other countries text" param to "wcpbc_country_selector" shortcode.
= 1.6.15 (2017-07-20) =
* Fixed: file not found. https://wordpress.org/support/topic/error-message-after-updating-4/
= 1.6.14 (2017-07-19) =
* Fixed: Hide product data ads in default product types.
* Fixed: Front-end prices for manual orders are deactivated, so manual orders does discrepancies between prices and currencies.
= 1.6.13 (2017-06-26) =
* Fixed: No round price set manually.
https://wordpress.org/support/topic/total-price-slightly-different-with-version-1-6-12-price-based-on-country/
* Fixed: Round shipping cost after apply currency conversion.
* Fixed: Do not echo selected() in country-selector.php.
https://wordpress.org/support/topic/do-not-echo-selected-in-country-selector-php/
* Fixed: Check if class WC_Widget exists before load Country selector widget.
= 1.6.12 (2017-06-10) =
* Fixed: No round empty prices.
= 1.6.11 (2017-06-10) =
* Fixed: Wrong subtotal calculation with price by exchange rates and more of 10 items in cart.
https://wordpress.org/support/topic/wrong-subtotal-calculation/
* Added: Code improvements.
* Added: Integration with Pro Addon.
= 1.6.10 (2017-05-07) =
* Fixed: Deprecated WooCommerce functions and backward compatibility to 2.6
= 1.6.9 (2017-04-24) =
* Fixed: Deprecated WooCommerce functions and backward compatibility to 2.6
* Fixed: Break styles on variations downloadable products.
* Fixed: Bug on coupons with PHP 7
https://wordpress.org/support/topic/using-coupon-leads-to-an-error-with-php-7-1/#post-9051916
= 1.6.8 (2017-04-10) =
* Added: Support for deprecated WooCommerce functions and backward compatibility to 2.6.
* Fixed: Bug on array with locale-sensitive sort function.
https://wordpress.org/support/topic/fatal-error-add-zone-or-viewedit-zone/
* Tweak: Apply exchange rates to min order amount on free shipping method. Thanks @mariankadanka.
https://wordpress.org/support/topic/convert-free-shipping-costs/#post-8946654
= 1.6.7 (2017-03-10) =
* Fixed: Broken Dependencies on script wc-price-based-country-frontend.
https://wordpress.org/support/topic/prices-not-showing-after-latest-update/page/2/#post-8895976
* Tweak: Improvements on WooCommerce report support.
= 1.6.6 (2017-02-25) =
* Fixed: Error when editing a draft variable product.
https://wordpress.org/support/topic/fatal-error-2460/
* Fixed: Post object isn't instance.
https://wordpress.org/support/topic/error-trying-to-get-property-of-non-objec/
* Tweak: Apply exchange rates to coupon minimum and max amounts.
* Tweak: Load files code improvements.
= 1.6.5 (2016-12-30) =
* Fixed: Set customer session cookie after headers has been send.
* Fixed: Sync the variable product prices with it's children when “Hide out of stock items from the catalog” option is enabled.
https://wordpress.org/support/topic/variable-product-price-not-showing-in-listing-and-details-page/
= 1.6.4 (2016-12-18) =
* Fixed: Bug with paypal express checkout by AngellEYE.
https://wordpress.org/support/topic/paypal-or-plugin-error/
* Fixed: Enabled paypal standard in WooCommerce checkout settings when exists a supported country in Zone Pricing.
= 1.6.3 (2016-11-26) =
* Fixed: 'added_to_cart' javascript event causes a issue with some themes, replace by 'wcpbc_cart_refreshed'.
* Fixed: Undefined index HTTP_USER_AGENT.
https://wordpress.org/support/topic/notice-undefined-index-http_user_agent-2/
* Fixed: Exchange rate to minimum and maximum spend of coupon usage restriction.
https://wordpress.org/support/topic/any-coupon-discount-usage-restriction-support/
* Tweak: Add plugin info to WooCommerce System Status Report.
* Added: WooCommerce 2Checkout Gateway by Krokedil Integration
* Added: Spanish Translation.
* Added: French Translation.
* Added: Netherlands translation.
= 1.6.2 (2016-09-24) =
* Fixed: Price missing for variable products with all variation with manual price.
* Fixed: Mini Cart not is refreshed on country switcher changes.
* Tweak: $_SERVER instead of $_POST in check_manual_country_widget function.
= 1.6.1 (2016-09-17) =
* Fixed: Bug in reports by exchane rate.
https://wordpress.org/support/topic/fix-of-reports-support-by-exchange-rate/
= 1.6.0 (2016-09-17) =
* Added: New core front-end pricing.
* Added: Schecule sale prices.
* Added: Currency conversion to all shipping methods.
* Added: Currency conversion to coupons.
* Added: Reports support by exchange rate.
* Fixed: Bulk remove zones not works in settings page.
* Fixed: Quick edit required reload page.
* Fixed: Currency Switcher with appropriate locale-sensitive sort orderings.
https://wordpress.org/support/topic/order-countries-in-languages-other-than-english/
* Fixed: Wrong shipping tax
https://wordpress.org/support/topic/shipping-with-vat/#post-8162704
= 1.5.12 (2016-07-12) =
* Fixed: Cart prices not updated after calculate shipping
https://wordpress.org/support/topic/cart-prices-not-updated-on-calculate-shipping
* Fixed: Country switcher not works fine when the country is changed in shipping calculator.
= 1.5.11 (2016-06-28) =
* Fixed: Mysql Database error on WooCommerce free shipping conversion
https://wordpress.org/support/topic/database-error-222
* Fixed: Incompatibility with non-latin chars in region name.
https://wordpress.org/support/topic/i-cant-set-manual-price
= 1.5.10 (2016-06-25) =
* Fixed: Bug with shippings methods of WooCommerce 2.6
* Fixed: Bug on price filter of WooCommerce 2.6
* Fixed: Check if customer has been initialized in woocommerce_currency hook
* Fixed: Wrong price for variation products when price included tax.
= 1.5.9 (2016-05-17) =
* Fixed: PHP Fatal error in country switcher template
https://wordpress.org/support/topic/price-not-showing-for-products
* Fixed: Not apply currency conversion to free shipping min amount
https://wordpress.org/support/topic/free-shipping-issue-2?replies=2
* Tweak: Add "select all" and "select none" tool buttons to region setting page.
= 1.5.8 (2016-04-17) =
* Fixed: On sale shortcode display a worng price
https://wordpress.org/support/topic/onsale-shortcode-not-working
= 1.5.7 (2016-03-21) =
* Fixed: Currency not change on check-out page
https://wordpress.org/support/topic/changes-currency-on-check-out-page?replies=2
= 1.5.6 (2016-03-19) =
* Fixed: Cart refresh when Country switcher widget change.
* Tweak: Remove select button on Country switcher widget.
= 1.5.5 (2016-02-20) =
* Fixed: Bug in Country switcher widget.
* Added: Country switcher widget title.
= 1.5.4 (2016-02-14) =
* Fixed: Non-static method be called statically.
https://wordpress.org/support/topic/deprecated-15?replies=1#post-8025565
* Added: Code improvements.
= 1.5.3 (2016-02-05) =
* Fixed: Wrong name in callback function.
https://wordpress.org/support/topic/warning-call_user_func_array-expects-parameter-1-to-be-a-valid-callback-7
= 1.5.2 (2016-02-03) =
* Fixed: Anonymous functions caused a syntax error in settings page.
= 1.5.1 (2016-01-17) =
* Fixed: Anonymous functions caused a syntax error.
https://wordpress.org/support/topic/compatibility-issue-19
= 1.5.0 (2016-01-14) =
* Added: Country Selector Widget.
* Added: Support to WooCommerce Products on Sale Widget.
* Added: Code improvements.
* Added: Option Price based on Billing or Shipping Country.
https://wordpress.org/support/topic/bug-with-prices-if-the-shipping-and-billing-country-are-different
* Added: Flat and International Flar Rate Shipping currency conversion.
https://wordpress.org/support/topic/shipping-price
* Fixed: Incorrect value for price included tax.
https://wordpress.org/support/topic/prices-are-to-high
* Fixed: Country selector Shortcode not works properly.
https://wordpress.org/support/topic/wcpbc_country_selector-widget-should-return-not-echo
= 1.4.2 =
* Added: Multicurrency support for WooCommerce Status dashboard Widget.
* Added: Improved performance for variable product.
* Fixed: WPML compatiblity - Fields of variable products are not blocked.
= 1.4.1 =
* Added: Ready for WPML.
* Fixed: Max And Min Values in Price Filter Widget not works.
= 1.3.5 =
* Added: Ready for WooCommerce 2.4
= 1.3.4 =
* Fixed: Country of Base Location not in list of countries.
* Added: Improved settings page.
= 1.3.3 =
* Fixed: The manual price is not saved in external/affiliate products.
* Fixed: The exchange rate only supports dot as decimal separator.
* Added: Support for WooCommerce Price Filter Widget (beta).
= 1.3.2 =
* Required: WooCommerce 2.3.0 or or later!
* Fixed: Incorrect currency conversion for variable products.
* Added: Integrate with WooCommerce geolocation function.
* Added: Improved test mode.
* Added: Radio button to select the price method (calculate by exchange rate or manually) for each product.
= 1.3.1 =
* Fixed: Price before discount not show for variable products with sale price.
= 1.3.0 =
* Added: Exchange rate to apply when price leave blank.
* Added: Hook and template to add a country selector.
* Fixed minor bugs.
= 1.2.5 =
* Fixed bug that breaks execution of cron jobs when run from wp-cron.php.
* Fixed bug: Error in uninstall procedure.
= 1.2.4 =
* Fixed bug that break style in variable products.
* Fixed bug: prices not show in variable products.
= 1.2.3 =
* Added: Sale price by groups of countries.
* Added: Refresh prices and currency when user changes billing country on checkout page.
* Fixed minor bugs.
= 1.2.2 =
* Fixed bug that not show prices per countries group when added a new variation using the "add variation" button.
* Fixed bug: product variation currency label is wrong.
= 1.2.1 =
* Fixed bug that not allow set prices in variable products.
= 1.2 =
* Added: REST service is replaced by GEOIP Database.
* Added: Improvements in the plugin settings page.
* Added: Debug mode
= 1.1 =
* Added: currency identifier per group of countries.
* Fixed bug in settings page.
= 1.0.1 =
* Fixed a bug that did not allow to add more than one group of countries.
= 1.0 =
* Initial release!