is_available() check in local pickup.
This commit is contained in:
parent
3e9f06a8eb
commit
f57b26cbe6
|
@ -173,7 +173,7 @@ class WC_Shipping_Local_Pickup extends WC_Shipping_Method {
|
|||
$is_available = $this->is_valid_postcode( $package['destination']['postcode'], $package['destination']['country'] );
|
||||
}
|
||||
|
||||
if ( $is_available && $this->get_valid_postcodes() ) {
|
||||
if ( $is_available ) {
|
||||
if ( $this->availability === 'specific' ) {
|
||||
$ship_to_countries = $this->countries;
|
||||
} else {
|
||||
|
|
|
@ -143,6 +143,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
* Fix - attribute_public notice before DB upgrade.
|
||||
* Fix - [products] ids and sku args.
|
||||
* Fix - Backwards compatibility for (deprecated) $tax variable in WC_Cart.
|
||||
* Fix - is_available() check in local pickup.
|
||||
|
||||
= 2.3.0 - 11/02/2015 =
|
||||
* Feature - Option to geo-locate the customer's inital location.
|
||||
|
|
Loading…
Reference in New Issue