Skip to content

Commit

Permalink
Local pickup detection. Version bump to 1.6.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisnissle committed Dec 17, 2024
1 parent cfa5149 commit 0fca4ac
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions one-stop-shop-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* Description: Comply with the One Stop Shop procedure while using WooCommerce.
* Author: vendidero
* Author URI: https://vendidero.de
* Version: 1.6.2
* Version: 1.6.3
* Requires PHP: 5.6
* License: GPLv3
* Tested up to: 6.4
* Tested up to: 6.7
*
* Text Domain: one-stop-shop-woocommerce
* Domain Path: /i18n/languages/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "one-stop-shop-woocommerce",
"title": "One Stop Shop for WooCommerce",
"version": "1.6.2",
"version": "1.6.3",
"homepage": "https://vendidero.de",
"repository": {
"type": "git",
Expand Down
10 changes: 7 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Contributors: vendidero, vdwoocommercesupport
Tags: one stop shop, woocommerce, OSS, EU, compliance
Requires at least: 5.4
Tested up to: 6.4
Tested up to: 6.7
WC requires at least: 3.9
WC tested up to: 8.6
Stable tag: 1.6.2
WC tested up to: 9.4.3
Stable tag: 1.6.3
Requires PHP: 5.6
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -61,6 +61,10 @@ Bug reports may be filed via our [GitHub repository](https://github.com/vendider
3. Create a new report

== Changelog ==
= 1.6.3 =
* New: Indicate WP latest + Woo latest support
* Improvement: Local pickup detection

= 1.6.2 =
* Fix: Revert (default) exclusion of (potential) b2b orders without vat id as it is highly controversial
* Improvement: Added woocommerce_eu_tax_helper_exclude_b2b_without_vat_id_from_oss filter to allow b2b exclusion
Expand Down
2 changes: 1 addition & 1 deletion src/AsyncReportGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected function get_order_taxable_country( $order ) {
protected function has_local_pickup( $order ) {
$shipping_methods = $order->get_shipping_methods();
$has_pickup = false;
$pickup_methods = apply_filters( 'oss_local_pickup_shipping_methods', array( 'local_pickup' ) );
$pickup_methods = apply_filters( 'oss_local_pickup_shipping_methods', array( 'local_pickup', 'pickup_location' ) );
$apply_base_tax = true === apply_filters( 'woocommerce_apply_base_tax_for_local_pickup', true );

foreach ( $shipping_methods as $shipping_method ) {
Expand Down
2 changes: 1 addition & 1 deletion src/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Package {
*
* @var string
*/
const VERSION = '1.6.2';
const VERSION = '1.6.3';

/**
* Init the package
Expand Down

0 comments on commit 0fca4ac

Please sign in to comment.