5.1.3 Shipping - Core Shipping Options - Local Pickup

Created by Danny Wong, Modified on Fri, 7 Aug, 2020 at 12:13 PM by Danny Wong

Local Pickup is a method that allows the customer to pick up the order themselves.

Setup and Configuration

To use this method it must be added to a Shipping Zone.

1/ Go to WooCommerce > Settings > Shipping.

2/ Select a Shipping Zone, and click the + icon to Add Shipping Method. A modal window will display.

addlocalpickup

3/ Select Local Pickup from the dropdown.

selectlocalpickup

4/ Click Add shipping method.

5/ Click Local Pickup in the row you wish to define.

definelocalpickup

This takes you to a different screen.

6/ Enter a Title that displays to customers in checkout – some shops change the title to Local Delivery, for example.

localpickupsetting

7/ Select Tax Status – Define whether or not tax is applied to the shipping amount.

8/ Enter Cost – Cost for the option, is applied to entire cart.

9/ Save changes.

Customer view

Customers residing in the zone with this shipping option are able to select this in the cart and during checkout.

Cart view

pickup-cart

Checkout view

pickup-checkout

Custom emails for local pickup

WooCommerce uses the standard order flow when the local pickup shipping method has been selected. For example, the customer receives the same order confirmation email whether local pickup or flat rate shipping has been selected.

To create custom emails, use the guide How to Add a Custom WooCommerce Email.

Note: We are unable to provide support for customizations under our Support Policy.

Disable local taxes when using local pickup

Note: Local Pickup calculates taxes based on your base store location by default, and not the customer’s address.

To disable local tax calculations for Local Pickup, add this snippet at the end of your theme functions.php file:

add_filter( 'woocommerce_apply_base_tax_for_local_pickup', '__return_false' );

Regular taxes will be used when local pickup is selected, instead of local taxes.

Note: We are unable to provide support for customizations under our Support Policy.

Changing the location for local taxes

To charge local taxes based on postcode and city for Local Pickup, you need to define the shop’s base city and post code using this code:


add_filter( 'woocommerce_countries_base_postcode', create_function( '', 'return "80903";' ) );

add_filter( 'woocommerce_countries_base_city', create_function( '', 'return "COLORADO SPRINGS";' ) );
view raw functions.php hosted with ❤ by GitHub


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article