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

Restaurants Tutorials

The Cheapest Food Delivery App for Restaurants Isn’t an App at All — It’s WooFood

When restaurant owners start looking for the cheapest food delivery app, they quickly discover a frustrating truth: most “cheap” delivery platforms aren’t cheap at all. They either take commissions, charge high monthly fees, lock you into their payment processors, or limit how much control you have over your own customer base. But what if the […]
December 1, 2025
Restaurants WooFood

Why “Free” GloriaFood Might Not Be The Best Long-Term Bet For Your Restaurant

When you’re building an online ordering system for your restaurant, it’s tempting to go for a “free” solution. That’s exactly what GloriaFood offers: a ready-to-go, easy-to-install WordPress plugin for online ordering, delivery, and reservations with no setup fees or commissions But “free” doesn’t always mean “best,” especially when you’re serious about owning your brand, your […]
December 1, 2025
Tutorials WooCommerce

How to Choose the Best Food Ordering System for Your Restaurant (And Why WooFood is the Ultimate Solution)

If you’re running a restaurant, café, or fast-food business in today’s digital age, offering online food ordering is no longer optional — it’s essential. Customers expect the convenience of browsing your menu, customizing their orders, and checking out seamlessly from their phone or computer. But with so many plugins and systems available, how do you choose the right […]
April 21, 2025