Local Pickup is a method that allows the customer to pick up the order themselves.
Setup and Configuration↑ Back to top
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.
3/ Select Local Pickup from the dropdown.
4/ Click Add shipping method.
5/ Click Local Pickup in the row you wish to define.
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.
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↑ Back to top
Customers residing in the zone with this shipping option are able to select this in the cart and during checkout.
Cart view↑ Back to top
Checkout view↑ Back to top
Custom emails for local pickup↑ Back to top
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.
Disable local taxes when using local pickup↑ Back to top
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.
Changing the location for local taxes↑ Back to top
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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|add_filter( 'woocommerce_countries_base_postcode', create_function( '', 'return "80903";' ) );|
|add_filter( 'woocommerce_countries_base_city', create_function( '', 'return "COLORADO SPRINGS";' ) );|