Royal Mail is a premium shipping method for WooCommerce that lets you calculate shipping costs using Royal Mail rates. The Royal Mail extension can calculate rates worldwide or UK domestic.
As the Royal Mail postal service and courier company does not provide an API, this extension contains prices and services hardcoded. Our extension reflects the current April 2022 Retail (Not Online) Royal Mail rates (PDF).
Installation↑ Back to top
- Purchase the product from WooCommerce.com
- Download the ZIP file from your WooCommerce.com dashboard
- Go to Plugins > Add New > Upload and select the ZIP file you just downloaded
- Click Install Now and then Activate.
- Read on to learn how to set up and configure the product.
More information at: Install and Activate Plugins/Extensions.
More information at: Managing WooCommerce.com subscriptions.
Setup and Configuration↑ Back to top
- Go to: WooCommerce > Settings > Shipping.
- Select the Shipping Zone you wish to add the method to, and select Add shipping method + on the right.
- Select Royal Mail from the dropdown, and Add shipping method.
- Click on the Royal Mail method to configure the settings:
- Method Title – Name the shipping method. This is visible to customers.
- Rates and Services – Controls the services and rates you offer customers.
- Parcel Packing Method – See below.
- Offer Rates – Choose to return all rates (user gets selection/choice) or return a single rate.
- Services – Rename and re-order Royal Mail shipping rates.
Once the plugin is set up, customers will be offered a choice of Royal Mail rates based on
• which services & rates you’ve enabled
• the contents of the order
• the origin of the order
• the destination of the order
- Go to: WooCommerce > Settings > Shipping > Royal Mail
- Debug Mode – Enable debug mode to show debugging information on your cart/checkout.
Parcel Packing Method↑ Back to top
There are two packing methods with Royal Mail. Each affects the parcels you send to the plugin for a quote.
Pack items individually (Default)↑ Back to top
Each item in your cart (non-virtual) is sent to the plugin individually. Quotes for all items are combined for the final cost.
Pack items in boxes together (Recommended)
Items are packed into pre-defined boxes and sent to the plugin for a quote. We recommend this option. See Box-Packing below for more information.
Box-Packing↑ Back to top
The box packer included with this shipping method allows you group items into packages for which you define the height, width, length, and weight. The packing is mainly volume-based but does also consider item sizes.
Setting up box sizes↑ Back to top
Most methods of Royal Mail have fixed sizes and do not require custom box sizes. However, International Mail does require custom sizes and their package sizes can vary.
Within settings, look for the “International Parcel Sizes” setting. Click ‘add box’ to set up box dimensions:
- Defined dimensions are used for packing, and items will be fit within these.
- Box weight is the weight of an empty box.
How the calculation works↑ Back to top
The packer does the following:
- Finds boxes that fit items being packed (uses H x W x D).
- Packs all fitting items into boxes (using volume).
- Uses the largest box fitting 100% of items *or* uses the highest % packed box, and then passes unpacked items back (and repeats the process)
- Packs unpackable items alone, using item dimensions.
- Returns all packed boxes.
Customer Usage↑ Back to top
Customers will get quotes based on address input from two places:
- Cart page – Using the shipping calculator
- Checkout page – Filling in shipping and billing forms
Rates can be selected by customers as usual.
Click & Drop↑ Back to top
Royal Mail offers a Click & Drop service, allowing you to create labels and pay online. Our Royal Mail plugin doesn’t add support for Click & Drop; Royal Mail has shared a document on Connecting your WooCommerce store to Click & Drop using WooCommerce’s built-in API. If you have any questions, please do reach out to Royal Mail.
Compensation Optional↑ Back to top
There’s a “Compensation Optional” checkbox in the settings of Royal Mail shipping method:
This is described in the Royal Mail price guide and their website.
Packages up to £20 can be shipped using economy rates (£50 for Royal Mail Signed For®).
If the declared package value is over that value – insurance won’t work on Economy and more expensive rates might have to be used instead.
One might choose not to declare value and ship economy without insurance though.
Troubleshooting↑ Back to top
My Tax/VAT isn’t applying to Royal Mail↑ Back to top
Depending on the services you offer, and what one a customer picks, it may be VAT exempt or already include VAT. You can view Royal Mail pricing on their site, select one of the pricing sheets there to see what rates are exempt, etc…
No rates returned/no rates available↑ Back to top
- Enable debug mode to see debugging information on the cart page. This will often reveal the problem.
- Check your products have sizes and weights set. Without this, the calculation cannot be performed.
Only some rates are offered↑ Back to top
- Royal Mail 1st and 2nd classes will not be offered for orders over £20 without having the Compensation Optional setting enabled.
Questions and Support↑ Back to top
Frequently Asked Questions↑ Back to top
How much address related information needs to be filled out for the distance calculation to trigger?
The calculation will trigger given at least a postcode/zipcode and a country. However, the more address details provided, the more accurate the estimation.
Something missing from this documentation? Do you still have questions and need assistance?
- Have a question before you buy this extension? Please fill out this pre-sales form – please include the name of this extension in your query.
- Already purchased and need some assistance? Get in touch with a Happiness Engineer via the WooCommerce.com Support page and choose this extension name from the “I need help with” dropdown