WPSlash

How to set Pickup Only on WooFood

Thursday September 5, 2019

With these few lines of code you can disable Delivery Option on WooFood for WooCommerce and set the pickup option as default. Copy and paste the following two snippets to your functions.php inside your Theme or Child Theme folder

You will have to use the woofood_order_types_filter filter to return an array including only the pickup option like the following example

add_filter( 'woofood_order_types_filter', 'custom_hook_pickup_only' );
function custom_hook_pickup_only( $order_types ) {
   $new_order_types = array('pickup'=>esc_html__('Pickup', 'woofood-plugin'));
   return $new_order_types;
}

You will need also to change the default order type , so you need to use also the woofood_default_order_type_filter like on the following snippet

add_filter( 'woofood_default_order_type_filter', 'custom_hook_pickup_as_default' );
function custom_hook_pickup_as_default( $default_order_type ) {
   $new_default_order_type = "pickup";
   return $new_default_order_type;
}

If you are still not able to do it yourself , feel free to submit a ticket here 

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Articles

FoodMaster (formerly WooFood)

How to Set Up Time Slot-Based Ordering for Your WooCommerce Restaurant: Configurable Pickup and Delivery Time Slots, Slot Capacity Limits, and Preventing Order Overload During Peak Hours (Complete Guide)

Why Time Slot-Based Ordering Is Essential for Restaurant Websites Picture this: it’s Friday evening, and your online ordering system just accepted 47 orders in the span of 20 minutes. Your kitchen crew can realistically handle 15 orders per half hour. The result? Delivery times balloon from 30 minutes to over 90, customers start calling to […]
April 15, 2026
Tutorials

How to Set Up Stripe, PayPal, and Square Payment Gateways for Your WooCommerce Restaurant Ordering System: Step-by-Step Configuration, Transaction Fees Comparison, and Optimizing Checkout for Faster Food Orders (Complete Guide)

Why Payment Gateway Choice Matters for Restaurant Websites A customer is hungry, they’ve spent three minutes building the perfect pad thai order with extra peanuts and a side of spring rolls, and they hit “Checkout.” If the next screen loads slowly, asks them to create an account, or doesn’t support their preferred payment method, that […]
April 14, 2026
FoodMaster (formerly WooFood)

How to Set Up a Catering and Large Group Order System on Your WooCommerce Restaurant Website: Custom Menus, Minimum Order Requirements, Scheduled Delivery Windows, and Tiered Pricing for Events and Corporate Orders (Complete Guide)

Why Your Restaurant Needs a Dedicated Catering Order System Online Catering revenue in the United States reached an estimated $66.5 billion in 2023 according to the Catering Industry Association, and a significant portion of that spend is shifting online. Corporate clients, event planners, and families organizing celebrations increasingly expect to browse menus, customize orders, and […]
April 14, 2026