All notable changes to this project will be documented in this file.
- Tested up to WordPress 6.6
- Autofill don't includes complement (address_2) anymore.
- Tested up to WordPress 6.4
- Fix: missing translation for some strings.
- Fix: Street name duplicated in customer address.
- Tweak: Now uses the OpenCEP API to search addresses.
- Tweak: Renamed filter hook from
woocommerce_correios_get_estimating_delivery
towc_shipping_simulator_get_estimating_delivery
. - Tweak: Delivery estimating will be shown for other delivery methods.
- Fix: street name was not updating.
- Tweak: Remove an uncessary internal check for variations.
- Add
data-cfasync="false"
attribute on simulator's script tag. This makes the Cloudflare Rocket Loader ignore this tag. - Add
defer
attribute on simulator's script tag. - New filter hook:
wc_shipping_simulator_script_use_defer
. - New filter hook:
wc_shipping_simulator_script_disable_cfrocket
.
- New filter hook:
woocommerce_correios_get_estimating_delivery
. - New filter hook:
wc_shipping_simulator_integration_estimating_delivery_enabled
. - New filter hook:
wc_shipping_simulator_integration_estimating_delivery_check_rate
. - New filter hook:
wc_shipping_simulator_integration_estimating_delivery_metadata
. - New filter hook:
wc_shipping_simulator_integration_estimating_delivery_days
.
- New filter hook:
wc_shipping_simulator_wrapper_css_class
. - Tweak: improve inline inputs form layout.
- Tweak: improve general CSS.
- Fix: hide free shipping if requires coupon.
- Tweak: Removed nonce validation from simulator form.
- Tweak: Added CSS to make the simulator input and button appears side by side.
- Tweak: Change input mask for Brazilian postcodes from "99 999-999" to "99999-999" (removed a whitespace).
- Tweak: Improve the shipping calculation for better compatibility with other plugins.
- The simulator now notifies when an error is preventing it from working correctly. An empty screen is no longer shown.
- Feature: Display the simulator in backorder products.
- Feature: Improve simulator/frontend accessibility. #36
- New action hook:
wc_shipping_simulator_form_before_button
. #42
- Fix: Shipping simulator appearing for external and grouped products. #39
- Feature: automatically disables built-in shipping simulator of "Melhor Envio" plugin.
- Fix: delete plugin database options on uninstallation.
- New filter hook:
wc_shipping_simulator_get_template_full_path
can be used to override the path of a template file.
- Fix: conflict with jquery-mask library (present on many sites).
- Feature: Correios integration now fill the package address with city, street and neighborhood. Useful to some shipping methods like Lalamove.
- Fix: better message when missing a variation.
- Fix: free shipping was unavailable for non logged in users.
- Fix: PHP v8+ deprecation notice.
- i18n: Frontend unexpected error and timeout is now translatable.
- New settings option: Update customer address (disabled by default). Now, the customer address can be updated when a shipping simulation returns shipping options.
- New filter hook:
wc_shipping_simulator_settings_field
- Fix: don't display the simulator in products out of stock.
- Feature: automatically simulates shipping when the customer finishes typing the postcode.
- Fix: simulator no longer crashes on timeout error.
- Remove
Update URI: false
from header.
- Fix correios integration
- Fix shipping simulations with product variations
- New settings option: Debug mode (disabled by default)
- New settings option: Product variation is required (enabled by default). Disable this option to allow customers simulate shipping rates even when a variation is not selected on variable products.
- Now is possible log the shipping simulations with debug mode enabled
- Now a box with helpful informations appears on product page with debug mode enabled
- New filter hook:
wc_shipping_simulator_package_validate_virtual_product
- Renamed filter hook: from
wc_shipping_simulator_shipping_package_item
towc_shipping_simulator_package_item
- Renamed filter hook: from
wc_shipping_simulator_shipping_package_rates
towc_shipping_simulator_package_rates
- Renamed filter hook: from
wc_shipping_simulator_shipping_package_data
towc_shipping_simulator_package_data
- Improve frontend javascript
- Move support and donation links from plugin actions to plugin meta
- Initial release