Skip to content

Add an an option to WooCommerce checkout pages for Local Pickup that allows the user to choose a pickup time.

Notifications You must be signed in to change notification settings

ndigitals/woocommerce-local-pickup-time

 
 

Repository files navigation

=== WooCommerce Local Pickup Time Select ===
Contributors: mjbanks, vyskoczilova
Donate link: http://mattbanks.me
Tags: woocommcerce, shipping, local pickup, checkout fields, ecommerce, e-commerce, wordpress ecommerce
Requires at least: 3.8
Tested up to: 4.8
Stable tag: 1.3.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Add an an option to WooCommerce checkout pages for Local Pickup orders to allow the user to choose a pickup time, defined in the admin area.

== Description ==

Local Pickup Time extends the [WooCommerce](http://wordpress.org/plugins/woocommerce/) Local Pickup shipping option to allow users to choose a pickup time.

In the admin area, under WooCommerce -> Settings -> General, you can set the start and end times for order pickups each day, as well as define days the store is closed and allow you to select a time interval for allowing pickups.

**Right now, the plugin works for pickups on the current day only. It will support an option to choose the number of days ahead to allow pickup orders in an upcoming version.**

** Requires WooCommerce 2.x **

== Installation ==

= Using The WordPress Dashboard =

1. Navigate to the 'Add New' in the plugins dashboard
2. Search for 'woocommerce-local-pickup-time'
3. Click 'Install Now'
4. Activate the plugin on the Plugin dashboard

= Uploading in WordPress Dashboard =

1. Navigate to the 'Add New' in the plugins dashboard
2. Navigate to the 'Upload' area
3. Select `woocommerce-local-pickup-time.zip` from your computer
4. Click 'Install Now'
5. Activate the plugin in the Plugin dashboard

= Using FTP =

1. Download `woocommerce-local-pickup-time.zip`
2. Extract the `woocommerce-local-pickup-time` directory to your computer
3. Upload the `woocommerce-local-pickup-time` directory to the `/wp-content/plugins/` directory
4. Activate the plugin in the Plugin dashboard

=== Usage ===

Navigate to `WooCommerce -> Settings -> General`, edit your start and end times for daily pickups, set your days closed and time interval for pickups.

== Frequently Asked Questions ==

= Things aren't displaying properly =

Go to `WooCommerce -> Settings -> General` and Save Changes to trigger the options to update.

Make sure to set your Timezone on the WordPress Admin Settings page.

= How do I change the location of the pickup time select box during checkout? =

The location, by default, is hooked to `woocommerce_after_order_notes`. This can be overridden using the `local_pickup_time_select_location` filter. [A list of available hooks can be seen in the WooCommerce documentation](http://docs.woothemes.com/document/hooks/).

= How do I change the location of the pickup time shown in the admin Order Details screen? =

The location, by default, is hooked to `woocommerce_admin_order_data_after_billing_address`. This can be overridden using the `local_pickup_time_admin_location` filter. [A list of available hooks can be seen in the WooCommerce documentation](http://docs.woothemes.com/document/hooks/).

== Screenshots ==

1. Front-end display on Checkout page

== Changelog ==

= 1.3.0 =
* fix pickup time for multiple locales and update translations (props vyskoczilova)

= 1.2.0 =
* added option to select the delay from the current time until the order can be picked up
* added option to select the number of days ahead for allowing orders to be picked up

= 1.1.0 =
* added `local_pickup_time_select_location` filter to customize location of pickup time select during checkout
* added `local_pickup_time_admin_location` filter to customize location of pickup time shown in the admin Order Details screen

= 1.0.3 =
* replace deprecated call to $order->order_custom_fields, which no longer words in WooCommerce 2.1

= 1.0.2 =
* fix typos

= 1.0.1 =
* properly set closing time if trying to order after hours

= 1.0.0 =
* initial version

About

Add an an option to WooCommerce checkout pages for Local Pickup that allows the user to choose a pickup time.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 90.6%
  • Shell 9.4%