Skip to content

Commit

Permalink
Merge pull request #49 from dpdconnect/1.4.1
Browse files Browse the repository at this point in the history
1.4.1
  • Loading branch information
dpdplugin committed Dec 1, 2022
2 parents 0e2862d + d48e064 commit 7798423
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions classes/OrderValidator.php
Expand Up @@ -112,14 +112,6 @@ public function validateReceiver($order, $orderId, $parcelCount)
$this->flash($error, $orderId);
$this->valid = false;
}

if (!$this->country->isPartOfSingleMarket($order->get_shipping_country())) {
if ($parcelCount != 1) {
$error = sprintf(__('Multiple parcels is not supported for %s', 'dpdconnect'), $order->get_shipping_country());
$this->flash($error, $orderId);
$this->valid = false;
}
}
}


Expand Down
2 changes: 1 addition & 1 deletion dpdconnect.php
Expand Up @@ -6,7 +6,7 @@
* Plugin Name: DPD Connect for WooCommerce
* Plugin URI: http://www.dpd.nl
* Description: Enables the posibility to integrate DPD Parcel Shop Finder service into your e-commerce store with a breeze.
* Version: 1.4.0
* Version: 1.4.1
* Author: DPD / X-Interactive.nl
* Author URI: https://github.com/dpdconnect
* License: GPL
Expand Down

0 comments on commit 7798423

Please sign in to comment.