Title: Conditional based on Shipping Option?
Last modified: April 12, 2020

---

# Conditional based on Shipping Option?

 *  [aaronrobb](https://wordpress.org/support/users/aaronrobb/)
 * (@aaronrobb)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/conditional-based-on-shipping-option/)
 * This plugin works great for what we need!
 * But we’re trying to figure out one issue. We have 2 shipping options available–‘
   pickup’ and ‘local delivery’.
 * We want to use this plugin to set minimum steps for ordering for local delivery(
   ie: must have 4 items minimum). But we want to allow the ‘pickup’ to have as 
   many as they want – it could be just 1.
 * Is there a way to set conditions on this plugin based on shipping choice??

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

 *  Plugin Author [Omar AlDabbas](https://wordpress.org/support/users/omardabbas/)
 * (@omardabbas)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/conditional-based-on-shipping-option/#post-12664046)
 * Hi [@aaronrobb](https://wordpress.org/support/users/aaronrobb/),
 * Sorry but the plugin doesn’t do any control over shipping methods, you can specify
   based on product, cart, category, but not shipping method.
 * P.S. Sounds like a good idea, but probably it’s out of this plugin scope, I think
   I can work on one very soon!
 * Just thinking, it will allow you to specify minimum quantity or value based on
   shipping method, do you have other features that you would like to see?
 * Omar
 *  Thread Starter [aaronrobb](https://wordpress.org/support/users/aaronrobb/)
 * (@aaronrobb)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/conditional-based-on-shipping-option/#post-12666955)
 * [@omardabbas](https://wordpress.org/support/users/omardabbas/) Yes that would
   be all I see being needed.
    In the easiest form, the function to show the alert
   based on quantity, and the function to block the checkout would just be bypassed
   if whatever designated shipping option was selected. In my case, when on the 
   cart page if ‘local pickup’ was selected, then all functions with your plugin
   could essentially be turned off.
 *  Plugin Author [Omar AlDabbas](https://wordpress.org/support/users/omardabbas/)
 * (@omardabbas)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/conditional-based-on-shipping-option/#post-12667014)
 * [@aaronrobb](https://wordpress.org/support/users/aaronrobb/) got it, it’s actually
   out of the current plugin scope, I’m working on a new plugin that will address
   this issue.
 * Will let you know once it’s released (very soon hopefully).
 * Omar

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

The topic ‘Conditional based on Shipping Option?’ is closed to new replies.

 * ![](https://ps.w.org/product-quantity-for-woocommerce/assets/icon.svg?rev=2971558)
 * [Min Max Step Quantity Limits Manager for WooCommerce](https://wordpress.org/plugins/product-quantity-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/product-quantity-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/product-quantity-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/product-quantity-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/product-quantity-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/product-quantity-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Omar AlDabbas](https://wordpress.org/support/users/omardabbas/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/conditional-based-on-shipping-option/#post-12667014)
 * Status: not resolved