# HubOn Local Pickup

Contributors: HubOn
Tags: woocommerce, pickup, local pickup, shipping, delivery
Requires at least: 5.2
Tested up to: 6.6
Requires PHP: 7.2
Stable tag: 1.0.0
Version: 1.0.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.txt

HubOn Local Pickup enhances WooCommerce by adding local pickup at checkout, managing transport statuses, and including a custom pickup date.

## Description

HubOn is a 3rd party service offering local pickup options at a nearby store. In order to use the HubOn Local Pickup plugin, you must first register at letshubon.com. HubOn partners with local stores serving as pickup locations. HubOn is cheaper, greener, and safer than sending products via traditional carriers or couriers to your customer address. HubOn also offers your customers more flexibility to pick up their orders at their convenient time. Please make sure that HubOn is available in the city where you operate. You can check our service area and hub locations here https://letshubon.com/hubs.

For each transaction, a transport will be automatically created for you. You will need to login to letshubon.com to pay for all transports. Once paid, you can print each transport label and attach it to your package.

## **Features include**

- Display the nearest HubOn pickup locations on the checkout page.
- Add a customizable pickup date selector on the checkout page.
- Automatically create a transport associated with your customer order on letshubon.com.
- List transport statuses including to be paid, paid, and failed transports.

After all of the transports are created, you will need to login to [letshubon.com](https://letshubon.com) to pay for all transports. Once paid, you can print the transport label and attach it to your package. Note that your WooCommerce order id will be displayed as the sender's note for each transport. This allows you to match the transport label with the correct order.

HubOn terms of use and privacy policies can be viewed [here](https://letshubon.com/legal).

## Installation

1. Upload the `hubon-local-pickup` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to WooCommerce settings, then the Shipping tab, and configure the settings under HubOn Local Pickup.
4. Then enter the HubOn secret key. If you don't have a secret key, you can obtain one by visiting your account settings page [here](https://letshubon.com/accounts/integration).

## Frequently Asked Questions

### 1. Can we change the local pickup price?

We recommend making local pickup free for your customers but include a minimum order, but yes, you can adjust the prices of the hub options directly through your account settings on letshubon.com (https://letshubon.com/accounts/integration). This allows for more flexibility in how you charge for local pickup depending on your specific business needs and strategies.

### 2. Does this plugin work with any theme?

HubOn Local Pickup is built to work with most WooCommerce-compatible themes, but the styling can be adjusted if necessary to fit your specific theme.

### 3. Can I add a cut off date for the order?

Yes, you can adjust the cut off date through your account settings on [letshubon.com](https://letshubon.com/accounts/integration). This is particularly useful when you offer pre-orders so you have enough time to prepare the orders.

### 4. Can I customize the pickup days for my customers?

Yes, you can customize pickup days for your customers through your account settings on [letshubon.com](https://letshubon.com/accounts/integration). This feature is particularly useful if you offer weekly pre-orders and have a dedicated day for all of customers to pick up their orders.

More frequently asked questions about HubOn can be viewed [here](https://letshubon.com/faqs).

## Screenshots

### 1. The hub options displayed on the checkout page.

![hub-options.png](./docs/assets/images/hub-options.png)

### 2. Settings page for HubOn Local Pickup.

![setting-page.png](./docs/assets/images/setting-page.png)

### 3. The transport status lists within the WordPress admin.

![transport-status-lists.png](./docs/assets/images/transport-status-lists.png)

## Changelog

### 1.0.0

- Initial release: Introduce nearest hub option, transport lists, and pickup date feature.

## Upgrade Notice

### 1.0.0

- First version released. Please provide feedback and report any bugs via the support forum.

## License

This plugin is released under the GNU General Public License v3.0. It is also compatible with WordPress's GPL v3 licensing. More details can be found in the `license.txt` file.
