title: Alert message when Woocommerce shipping method 'local pickup' selected at checkout
body: <p>I'm trying to pop up an alert when the customer selects "local pickup" as the shipping method to confirm that's what they really intended. This is the code I tried but it's not working:</p>
  
  <pre><code>jQuery(document).ready(function(){
      var localPickupMsg = 'alert message text will go here';
      jQuery('input:radio[name="shipping_method"]').change(function() {
          if (jQuery(this).val() == 'local_pickup'){
              alert(localPickupMsg);
          }
      });
  });
  </code></pre>