Title: Multiple pickup method solution
Last modified: May 20, 2020

---

# Multiple pickup method solution

 *  [brennino](https://wordpress.org/support/users/brennino/)
 * (@brennino)
 * [6 years ago](https://wordpress.org/support/topic/multiple-pickup-method-solution/)
 * Hello,
    I have the same [@cachingshop](https://wordpress.org/support/users/cachingshop/)
   problem that he shows in the post “Multiple pick-up methods”. now that post is
   closed for comments and I create a new other one just for people that need multiple
   local pickup options to be showed.
 * The plugin behaviour now infact remove all local pickup options except one if
   free shipping became available to the customers.
 * The reason is in the file hide-shipping-free-shipping.php in the function:
    `
   wc_hide_shipping_when_free_is_available_keep_local` Just remove the “break” instruction
   in this portion of the code:
 *     ```
           if ( ! empty( $new_rates ) ) {
               foreach ( $rates as $rate_id => $rate ) {
                   if ('local_pickup' === $rate->method_id ) {
                       $new_rates[ $rate_id ] = $rate;
                       break; //REMOVE THIS LINE WITH BREAK
                   }
               }
               return $new_rates;
           }
       ```
   
 * And all the pickup options will be available to the user, still if free shipping
   limit has been reached.
 * Hope this helps and the developer make this change in the codebase too.
 * Bye
 * Brennino

Viewing 1 replies (of 1 total)

 *  [gnw](https://wordpress.org/support/users/gnw/)
 * (@gnw)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/multiple-pickup-method-solution/#post-13170221)
 * Thank you [@brennino](https://wordpress.org/support/users/brennino/) ! This solved
   the issue for me also. I really hope that the developer fixes this in the next
   release also.

Viewing 1 replies (of 1 total)

The topic ‘Multiple pickup method solution’ is closed to new replies.

 * ![](https://ps.w.org/wc-hide-shipping-methods/assets/icon-128x128.png?rev=3316930)
 * [WC Hide Shipping Methods](https://wordpress.org/plugins/wc-hide-shipping-methods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-hide-shipping-methods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-hide-shipping-methods/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-hide-shipping-methods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-hide-shipping-methods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-hide-shipping-methods/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [gnw](https://wordpress.org/support/users/gnw/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/multiple-pickup-method-solution/#post-13170221)
 * Status: not resolved