Title: Hide Shipping Based on Attribute
Last modified: March 22, 2022

---

# Hide Shipping Based on Attribute

 *  Resolved [craigmckee](https://wordpress.org/support/users/craigmckee/)
 * (@craigmckee)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/hide-shipping-based-on-attribute/)
 * I’ve spent all day on this and I can’t achieve what I am trying to.
 * I am using Dokan and Woocommerce to try to set up a marketplace site. I foresee
   a few scenarios that I might need to address such as:
 * Customer can collect or have it delivered
    Customer can only collect Customer
   can only have it delivered
 * The first two I think I have sorted, but I cannot remove Local Pickup from the
   shipping options. There is only one situation where I would need to so I set 
   an attribute “Delivery Only” with a value of “Yes” so I want it to work so that
   if a vendor adds this attribute to their product, Local Pickup is not available.
 * All day, and I’ve got no closer 🙁

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

 *  [Abiola Ogodo](https://wordpress.org/support/users/oaoyadeyi/)
 * (@oaoyadeyi)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/hide-shipping-based-on-attribute/#post-15484763)
 * [@craigmckee](https://wordpress.org/support/users/craigmckee/)
 * I understand you want to hide shipping based on the selected attribute.
 * You may want to try this plugin: [https://woocommerce.com/products/hide-shipping-methods-for-woocommerce/](https://woocommerce.com/products/hide-shipping-methods-for-woocommerce/).
   It has a 30-day refund policy in case it’s not suitable for your goals.
 * Otherwise, this is a feature that needs some custom development. I’m going to
   leave it open for a bit to see if anyone is able to chime in to help you out.
 * I can also recommend [the WooCommerce Developer Resources Portal](https://developer.woocommerce.com/)
   for resources on developing for WooCommerce.
 * You can also visit the [WooCommerce Facebook group](https://www.facebook.com/groups/advanced.woocommerce/)
   or the `#developers` channel of the [WooCommerce Community Slack](https://woocommerce.com/community-slack/).
   We’re lucky to have a great community of open-source developers for WooCommerce,
   and many of our developers hang out there, as well.
 *  Thread Starter [craigmckee](https://wordpress.org/support/users/craigmckee/)
 * (@craigmckee)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/hide-shipping-based-on-attribute/#post-15484816)
 * [@oaoyadeyi](https://wordpress.org/support/users/oaoyadeyi/) – thank you, I hadn’t
   seen the money back guarantee so I’ll give that a go if no other suggestions 
   are forthcoming. Thank you.
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/hide-shipping-based-on-attribute/#post-15485485)
 * Hello [@craigmckee](https://wordpress.org/support/users/craigmckee/)
 * For any pre-sales questions regarding `Hide Shipping Methods for WooCommerce`,
   you can ask them here:
    [https://woocommerce.com/my-account/create-a-ticket/](https://woocommerce.com/my-account/create-a-ticket/)
 * You might need to create an account before. Also, for this type of request, we
   recommend `WooCommerce Customizations Page`; they could help achieve the job 
   you need.
    [https://woocommerce.com/customizations/](https://woocommerce.com/customizations/)
 * Best.
    -  This reply was modified 4 years, 1 month ago by [Igor H](https://wordpress.org/support/users/ihereira/).
 *  Thread Starter [craigmckee](https://wordpress.org/support/users/craigmckee/)
 * (@craigmckee)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/hide-shipping-based-on-attribute/#post-15486017)
 * [@ihereira](https://wordpress.org/support/users/ihereira/), thank you.
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/hide-shipping-based-on-attribute/#post-15486807)
 * Hi,
 * No problem, let’s keep this forum thread open for a while in case anyone else
   is able to help out.
 * Thanks.
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/hide-shipping-based-on-attribute/#post-15515923)
 * We haven’t heard back from you in a while or you have been able to find a solution,
   so I’m going to mark this as resolved – we’ll be here if and/or when you are 
   ready to continue.
 * Cheers.

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

The topic ‘Hide Shipping Based on Attribute’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Igor H](https://wordpress.org/support/users/ihereira/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/hide-shipping-based-on-attribute/#post-15515923)
 * Status: resolved