Skip to content

myparcelbe/woocommerce

 
 

Repository files navigation

WooCommerce MyParcel

Welcome to the WooCommerce MyParcel BE 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

Plugin Manual

Installation

You can download the .zip file of the latest release from here: Latest GitHub release

Or install it on your website from the WordPress plugin repository. WordPress Plugin Version

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

  1. Set up Node if you haven't already: https://nodejs.org/
  2. Install npm packages
    $ npm i
  3. Make your changes
    • Optional: Run the following command to rebuild assets on every code change:
    $ gulp watch
  4. Test your changes
    • Locally, if the source directory is inside your <wordpress>/wp-content folder.

      $ gulp
    • By uploading a .zip file

      This builds all assets and puts all necessary files into woocommerce-myparcelbe.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's wp-content folder.

Packages

 
 
 

Languages

  • PHP 84.0%
  • JavaScript 13.7%
  • SCSS 2.1%
  • CSS 0.2%