Skip to content
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
*** WooCommerce Tax Changelog ***

= 3.2.1 - 2025-xx-xx =
* Fix - Exclude shipping-related admin components when shipping functionality is disabled.

= 3.2.0 - 2025-10-14 =
* Fix - No tax calculated for multi-word state/counties.
* Fix - Incorrect tax rate saved in Woo Tax Table when Cart total is 0.
Expand Down
21 changes: 12 additions & 9 deletions classes/class-wc-connect-help-view.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,15 +297,18 @@ public function page() {
)
);

do_action(
'enqueue_wc_connect_script',
'wc-connect-admin-test-print',
array(
'isShippingLoaded' => $this->is_shipping_loaded(),
'storeOptions' => $this->service_settings_store->get_store_options(),
'paperSize' => $this->service_settings_store->get_preferred_paper_size(),
)
);
// Shipping related.
if ( ! WC_Connect_Loader::is_wc_shipping_activated() && '1' !== WC_Connect_Options::get_option( 'only_tax' ) ) {
do_action(
'enqueue_wc_connect_script',
'wc-connect-admin-test-print',
array(
'isShippingLoaded' => $this->is_shipping_loaded(),
'storeOptions' => $this->service_settings_store->get_store_options(),
'paperSize' => $this->service_settings_store->get_preferred_paper_size(),
)
);
}
}

/**
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ This plugin relies on the following external services:

== Changelog ==

= 3.2.1 - 2025-xx-xx =
* Fix - Exclude shipping-related admin components when shipping functionality is disabled.

= 3.2.0 - 2025-10-14 =
* Fix - No tax calculated for multi-word state/counties.
* Fix - Incorrect tax rate saved in Woo Tax Table when Cart total is 0.
Expand Down
5 changes: 5 additions & 0 deletions woocommerce-services.php
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,11 @@ public function load_admin_dependencies() {
add_action( 'admin_notices', array( WC_Connect_Error_Notice::instance(), 'render_notice' ) );
add_action( 'admin_notices', array( $this, 'render_schema_notices' ) );

// Don't register settings if only_tax mode.
if ( '1' === WC_Connect_Options::get_option( 'only_tax' ) ) {
return;
}

// We only use the settings page for shipping since tax settings are part of
// the core "WooCommerce > Settings > Tax" tab.
require_once __DIR__ . '/classes/class-wc-connect-settings-pages.php';
Expand Down
Loading