Title: Plugin&#8217;s shipping methods does not show when:
Last modified: October 12, 2018

---

# Plugin’s shipping methods does not show when:

 *  Resolved [Prixer](https://wordpress.org/support/users/prixer/)
 * (@prixer)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/plugins-shipping-methods-does-not-show-when/)
 * Plugin’s shipping methods does not show When this snippet
    “Hide other shipping
   methods when “Free Shipping” is available” is active as documented in this page:
 * [https://docs.woocommerce.com/document/hide-other-shipping-methods-when-free-shipping-is-available/](https://docs.woocommerce.com/document/hide-other-shipping-methods-when-free-shipping-is-available/)
 * /**
    * Hide shipping rates when free shipping is available, but keep “Local pickup”*
   Updated to support WooCommerce 2.6 Shipping Zones */
 * function hide_shipping_when_free_is_available( $rates, $package ) {
    $new_rates
   = array(); foreach ( $rates as $rate_id => $rate ) { // Only modify rates if 
   free_shipping is present. if ( ‘free_shipping’ === $rate->method_id ) { $new_rates[
   $rate_id ] = $rate; break; } }
 *  if ( ! empty( $new_rates ) ) {
    //Save local pickup if it’s present. foreach(
   $rates as $rate_id => $rate ) { if (‘local_pickup’ === $rate->method_id ) { $
   new_rates[ $rate_id ] = $rate; break; } } return $new_rates; }
 *  return $rates;
    }
 * add_filter( ‘woocommerce_package_rates’, ‘hide_shipping_when_free_is_available’,
   10, 2 );
 * I have set in amount 0.00 and the shipping method is not showing
    (I want to 
   have to 2 free shipping options)
    -  This topic was modified 7 years, 8 months ago by [Prixer](https://wordpress.org/support/users/prixer/).
    -  This topic was modified 7 years, 8 months ago by [Prixer](https://wordpress.org/support/users/prixer/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Prixer](https://wordpress.org/support/users/prixer/)
 * (@prixer)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/plugins-shipping-methods-does-not-show-when/#post-10773832)
 * I have set in amount 0.00
 *  [Afsana](https://wordpress.org/support/users/afsanamultanii/)
 * (@afsanamultanii)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/plugins-shipping-methods-does-not-show-when/#post-10887281)
 * Dear Customer,
 * I hope you are doing well!
 * Thank you for writing to us, I apologize for the delay in writing you back.
 * The settings that you require is not available in the plugin at the moment. But,
   it is possible with customization option for your specific site requirement.
 * Please create a Support Ticket with the detail; our technical team will get back
   to you shortly.
 * Thank you for your patience.
 * Regards,
 * Afsana
    DotStore Customer Support Executive
 *  Plugin Author [Dotstore](https://wordpress.org/support/users/dots/)
 * (@dots)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugins-shipping-methods-does-not-show-when/#post-11226610)
 * Hello [@prixer](https://wordpress.org/support/users/prixer/),
 * I hope now issue has been resolved!
 * Please let us know still you facing any issue or create support ticket from [here](https://www.thedotstore.com/support/).
 * Thanks & regards,
    DotStore support Team

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin’s shipping methods does not show when:’ is closed to new replies.

 * ![](https://ps.w.org/woo-extra-flat-rate/assets/icon-256x256.png?rev=3011378)
 * [Flat Rate Shipping Method for WooCommerce](https://wordpress.org/plugins/woo-extra-flat-rate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-extra-flat-rate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-extra-flat-rate/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-extra-flat-rate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-extra-flat-rate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-extra-flat-rate/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Dotstore](https://wordpress.org/support/users/dots/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/plugins-shipping-methods-does-not-show-when/#post-11226610)
 * Status: resolved