Skip to content

Commit f23409f

Browse files
committed
update: replace check for shipping label ui
1 parent 66b8427 commit f23409f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

classes/class-wc-connect-shipping-label.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,8 @@ private function calculate_should_show_meta_box( $post ) {
532532
* @return bool True if shipping label is enabled from the settings.
533533
*/
534534
public function is_shipping_label_enabled() {
535-
if ( ! WC_Connect_Loader::is_wc_shipping_activated() ) {
535+
// Check if this is a tax-only installation
536+
if ( WC_Connect_Loader::instance()->has_only_tax_functionality() ) {
536537
return false;
537538
}
538539

0 commit comments

Comments
 (0)