Remove Packling PRO Drop Off Woocommerce Checkout Notice

I, nor the rest of the internet knows why the Packlink Pro Plugin adds a message in store checkouts that says

You have to enter your address first in order to search for Drop-Off location.

Drop what off? I’m the customer, I’m buying something, not dropping something off.

There is no UI to remove this.

For WooCommerce 8.5 with those ugly block messages, use this code in functions.php

add_action( 'wp_footer', function () {
  if ( function_exists( 'is_checkout' ) && is_checkout() ) {
    echo '<script>
            jQuery(document).ready(function($) {
                $(".is-info:contains(\'You have to enter your address first in order to search for Drop-Off location.\')").hide();
            });
        </script>';
  }
} );

For pre-8.5, try this code

add_action( 'wp_footer', function () {
  if ( function_exists( 'is_checkout' ) && is_checkout() ) {
    echo '<script>
            jQuery(document).ready(function($) {
                $(".woocommerce-info:contains(\'You have to enter your address first in order to search for Drop-Off location.\')").hide();
            });
        </script>';
  }
} );

 


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.