WooCommerce MyParcel
Welcome to the WooCommerce MyParcel repository on GitHub. Here you can browse the source, look at open issues and keep track of development.
This WooCommerce extension allows you to export your orders to the MyParcel Backoffice. Single orders exports as well as batch exports are possible.
⚠️ Note: A MyParcel API key is required for this plugin. You can generate one in your Backoffice.
Main features
- Delivery options integrated in your checkout
- Export your WooCommerce orders to MyParcel with a simple click, single orders or in batch
- Print shipping labels directly (PDF)
- Create multiple shipments for the same order
- Choose your package type (Parcel, digital stamp, mailbox package)
- Define default MyParcel shipping options (signature, only recipient, insurance, etc.)
- Modify the MyParcel shipping options per order before exporting
- Optional separate street name and house number in checkout for more precise address data
- View the status of the shipment in the order details page
- Add Track & Trace URL to the order confirmation email
Manual
Installation
You can download the .zip file of the latest release from here: Latest
Or install it on your website from the WordPress plugin repository.
Contributing
- Clone or download the source code
- If you're planning to change JavaScript or CSS code, see below section for details.
- Make your changes
- Create a pull request!
Making JavaScript or CSS changes
- Set up Node if you haven't already: https://nodejs.org/
- Install npm packages
$ npm i
- Make your changes
- Optional: Run the following command to rebuild assets on every code change:
$ gulp watch
- Test your changes
-
Locally, if the source directory is inside your
<wordpress>/wp-content
folder.$ gulp
-
By uploading a
.zip
fileThis builds all assets and puts all necessary files into
woocommerce-myparcel.zip
. Upload this file to your WordPress website to install the plugin.$ gulp zip
-
By uploading the source folder
We don't recommend uploading the whole source folder to where your website is hosted, but it does work. Run the following command and copy the whole plugin folder to your website's
wp-content
folder.$ gulp
A better solution is to follow the instructions for installation using a
.zip
file, then extracting the zip yourself and uploading its contents to your website'swp-content
folder.
-