=== Foxpost woo parcel ===
Contributors: Foxpost
Tags: foxpost, woocommerce
Requires at least: 4.8
Tested up to: 5.5.1
Stable tag: 5.5.1
Requires PHP: 7.0

License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This plugin provides foxpost shipping functions and order export to FoxPost.

== Description ==

Plugin to provide Foxpost apt and home delivery shipping methods to woocomerce webshop.
It also ensure an order export function to create mass import file to Foxpost.

== Installation ==

1. Upload `foxpost-woo-parcel` plugin code to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. In the Woocommerce setting there is a Foxpost tab where you can place your Google Maps API key to activate the Foxpost
map based APT finder.
4. In the Woocommerce shipping settings you can add your Foxpost shipping methods to Shipping zones.

== Changelog ==

= 1.1.17 =
rename APT in texts to parcel locker

= 1.1.16 =
fix: order export recipient full name
fix: show apt selector when needs shipping
tested with WC 4.8
window resize with throttle function
check jQuery UI dialog availability

= 1.1.15 =
add filter foxpost_woo_parcel_get_phone_number_regex to overwrite phone number validation regular expression
Usage:
`
<?php
// define your custom function
add_filter('foxpost_woo_parcel_get_phone_number_regex', 'my_custom_get_phone_number_regex_func');
?>
`
Reference: [apply_filters](https://developer.wordpress.org/reference/functions/apply_filters/)
fix isPhoneNumberRequired detection
refactor checkout validation
clean readme.txt

= 1.1.14 =
Fp javascript files are include at bottom of the page.
replace apt json to new version,
safari download fix

= 1.1.13 =
remove shipping price rounding

= 1.1.12 =
wordpress 5.5.1 compatibility,
woocommerce 4.6.0 compatibility,
PHP minimum version 7.0,
add shipping method in case of downloadable product

= 1.1.11 =
fix shipping mode validation in case of virtual products

= 1.1.10 =
add apt data to order detail in case of apt shipping
remove foxpost shipping method in case of virtual and downloadable products in cart
translatable string typo fix

= 1.1.9 =
add shipping price rounding according to Hungarian rules

you can disable this behaviour by creating FOXPOST_WOO_PARCEL_DISABLE_SHIPPING_PRICE_ROUNDING constant in your wp-config file

= 1.1.8 =
remove $_SESSION usage

= 1.1.7 =
set the default CURLOPT_TIMEOUT to 60 seconds,

add the ability to allow you to define custom CURL option for FOXPOST plugin CURL calls
You can set these values in your wp-config.php:

CURLOPT_TIMEOUT,
CURLOPT_CONNECTTIMEOUT,
FOXPOST_CURLOPT_SSL_VERIFYPEER,
FOXPOST_CURLOPT_SSL_VERIFYHOST

`
<?php
define('FOXPOST_CURLOPT_TIMEOUT', 5);// it will set the CURLOPT_TIMEOUT value to 5
define('FOXPOST_CURLOPT_CONNECTTIMEOUT', 5); // it will set the CURLOPT_CONNECTTIMEOUT value to 5
?>
`

= 1.1.6 =
add multibyte helper in case of missing mbstring PHP extension

= 1.1.5 =
fix: Hide APT dropdown when only virtual products are in the cart.

= 1.1.4 =
fix: PHP message: PHP Warning:  Invalid argument supplied for foreach
fix: Call to a member function get_method_id() on bool

= 1.1.3 =
APT JSON URL to HTTPS
WP 5.2.2
WC 3.6.5

= 1.1.2 =
Add APT or HD to order list

= 1.0 =
A change since the previous version.
Another change.

= 0.5 =
List versions from most recent at top to oldest at bottom.

== Upgrade Notice ==

= 1.0 =
Upgrade notices describe the reason a user should upgrade.  No more than 300 characters.

= 0.5 =
This version fixes a security related bug.  Upgrade immediately.

== Available plugin hooks ==

Filters:

* foxpost_woo_parcel_get_phone_number_regex
* foxpost_order_api_create_parcel_set_unique_barcode
* foxpost_order_api_create_parcel_set_reference_code
* foxpost_woo_parcel_public_render_params
* foxpost_woo_parcel_public_render_params_ + view

