=== WooCommerce Royal Mail, Evri, & DPD Shipping Calculator Pro === Contributors: waseem_senjer, wprubyplugins Donate link: https://wpruby.com Tags: woocommerce,shipping, woocommerce extension, UK, Royal Mail. Evri, DPD Requires at least: 4.0 Tested up to: 7.1 Stable tag: 5.4.2 Requires PHP: 7.4 Requires Plugins: woocommerce License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html WooCommerce Royal Mail Shipping Calculator Pro is a WordPress Plugin that integrate the Royal Mail, Evri, and DPD services, it will calculate the shipping cost and the delivery time for your customer. == Description == WooCommerce Royal Mail, Evri, & DPD Shipping Calculator Pro is a WordPress Plugin that integrate the Royal Mail, Evri, and DPD services, it will calculate the shipping cost and the delivery time for your customer. == Installation == = Using The WordPress Dashboard = 1. Navigate to the 'Add New' in the plugins dashboard 2. Search for 'WooCommerce Royal Mail Shipping Calculator' 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-royal-mail-shipping-calculator.zip` from your computer 4. Click 'Install Now' 5. Activate the plugin in the Plugin dashboard = Using FTP = 1. Download `woocommerce-royal-mail-shipping-calculator.zip` 2. Extract the `woocommerce-royal-mail-shipping-calculator` directory to your computer 3. Upload the `woocommerce-royal-mail-shipping-calculator` directory to the `/wp-content/plugins/` directory 4. Activate the plugin in the Plugin dashboard == Changelog == = 5.4.2 (23.11.2026) = * Fixed: When an order needed more than one parcel, a service that could carry only some of the parcels was quoted for those parcels alone, so the order was undercharged (for example, Tracked 48 quoted at a small parcel price for an order that also needed a 19.5kg medium parcel). A service is now offered only when it can carry every parcel. * Fixed: UK small parcels were checked against Royal Mail's international size limits (60cm longest side, 90cm length + width + height), so items up to 60cm long got small parcel prices. UK small parcels now use the UK limits of 45 x 35 x 16cm; larger items get medium parcel prices. * Fixed: With "Parcel Size" set to "Small", UK orders over 2kg were split into several small parcels. They now use the medium parcel price, as the setting describes. * Fixed: 1st Class Signed For small parcels and 2nd Class small and medium parcels weren't grouped under their service, so an order packed into several parcels could show a separate rate per parcel size. Their rate IDs are now first_class_signed and second_class, like the other grouped services. = 5.4.1 (23.11.2026) = * Fixed: Tracked 24 and Tracked 48 large letters weighing 751g to 1kg were quoted as small parcels. With the Online price list and a Tracked large letter service enabled, they're now quoted at large letter prices (Royal Mail takes Tracked large letters up to 1kg online), with the parcel services still offered alongside. Other large letters, and the Post Office price list, keep the 750g limit. = 5.4.0 (23.11.2026) = * Fixed: Click & Drop orders now use the Royal Mail service the customer chose at checkout (for example Tracked 24 or Tracked 48). Before, every export used the same default service. * Fixed: Click & Drop orders now use the package format the order was priced as (letter, large letter, small or medium parcel) instead of always the default format. * Added: A "Service codes" table in the Click & Drop settings. Enter the Click & Drop service code for each service you offer; services without a code use the default service code. * Added: The order's Click & Drop box shows the checkout service, service code and package format that will be sent. = 5.3.2 (23.11.2026) = * Fixed: Evri caused a fatal error ("Unsupported operand types: string * float") on PHP 8 when a product had no dimensions. * Fixed: Parcelforce prices updated to the October 2026 online rates. * Fixed: Parcelforce Global Express to Canada is now priced at Rest of World rates. * Fixed: Parcelforce multi-parcel orders were charged for one parcel only. = 5.3.1 (09.11.2026) = * Fixed: Click & Drop export caused a fatal error ("Logger_Interface not found") on Linux servers. * Fixed: Royal Mail rates were not shown for parcels under 5g. = 5.3.0 (06.10.2026) = * Added: Royal Mail October 2026 prices. * Fixed: resolve issue with online rates duplication for EU destinations in shipping calculations = 5.2.1 (21.08.2026) = * Fixed: Online rates were sometimes doubled for EU destinations when two overlapping Royal Mail zones returned the same service. = 5.2.0 (30.06.2026) = * Added: Integrate EU B2C customs duty features into Royal Mail, Evri, and DPD shipping. * Added: Automatic creation of Click & Drop export orders = 5.1.0 (26.06.2026) = Added: Pricing source option for Royal Mail rates. Now you can choose between Post Office and Online rates. = 5.0.0 (21.06.2026) = * Added: Royal Mail Click & Drop integration for creating and managing shipment orders. * Added: Support for generating Click & Drop order payloads with package dimensions, order tags, customs-related fields, and product variation metadata. * Added: Ability to delete Click & Drop orders directly from the WooCommerce admin. * Added: “Test Click & Drop connection” button to help verify API credentials and connection status. * Added: Logging support for Click & Drop order processing and troubleshooting. * Updated: Replaced the previous Royal Mail Labels API workflow with the new Click & Drop integration. * Updated: Improved the Click & Drop admin interface with clearer settings descriptions and better UI consistency. * Updated: Improved order processing logic for Click & Drop shipments. * Fixed: Improved Evri shipping rate handling by validating rate data and ensuring shipping costs are calculated correctly. = 4.11.0 (20.05.2026) = * Added: WordPress 7.0 compatibility. * Added: Product/variation insurance cost override for declared value. * Fixed: Evri weight calculation was not considering the weight unit. = 4.10.0 (12.04.2026) = * Added: Royal Mail April 2026 prices. * Added: a configurable insurance threshold for Royal Mail insurance filtering. = 4.9.3 (20.01.2026) = * Added: Royal Mail January 2026 prices. = 4.9.2 (06.01.2026) = * Added: WordPress 6.9 compatibility. * Updated: ensure integer return type for dimension and weight getters * Updated: add check for existence of country rates file in Parcelforce calculator * Updated: enhance settings page with new RuleHook promotion and improved support section styling = 4.9.1 (07.10.2025) = * Added: Royal Mail October 2025 prices. * Fixed: (Parcelforce) enhance weight calculation by incorporating volumetric weight. * Fixed: adjust shipping prices for package Evri services. = 4.9.0 (08.04.2025) = * Added: Royal Mail April 2025 prices. = 4.8.1 (04.12.2024) = * Fixed: PHP 7.4 fatal error. = 4.8.0 (03.12.2024) = * The plugin now requires PHP 7.4+ * Updated: The Boxpacker library was upgraded to v3.12 * Added: Tracked Heavier to the international zones. * Fixed: Evri International calculations. * Fixed: Shipping to Spain was not working for DPD. * Fixed: Envelopes calculations considers maximum depth of the items. = 4.7.4 (25.10.2024) = * Updated: UK Standard 1st & 2nd class prices. = 4.7.3 (10.10.2024) = * Pushing a new version to fix plugin updates. = 4.7.2 (07.10.2024) = * Skipped version. = 4.7.1 (07.10.2024) = * Added: [Royal Mail] October 2024 Prices. * Added: [Royal Mail] Individual shipping. * Fixed: [Royal Mail] Large letter calculations. = 4.7.0 (10.09.2024) = * Added: [Royal Mail] Individual shipping, you can now mark products to be shipped in its own package. * Fixed: [Royal Mail] Fatal error when calculating the total weight of the cart. = 4.6.2 (23.05.2024) = * Added: Update Evri shipping prices. * Added: Support for WooCommerce Blocks. * Fixed: validate dimensions to prevent offering prices for large items. = 4.6.1 (04.04.2024) = * Fixed: Tracked 24 & 48 insurance value changed to £150. = 4.6.0 (03.04.2024) = * Added: Royal Mail April 2024 prices update. * Added: International Tracked & Signed Heavier. * Fixed: The parcel size option was not working as expected for Medium Parcels. * Fixed: PHP warning when there are empty product dimensions. = 4.5.2 (27.10.2023) = * Added: WooCommerce HPOS support. * Fixed: The detection of small parcels. = 4.5.1 (02.10.2023) = * Added: Royal Mail October 2023 prices. * Fixed: Adding special delivery as a letter option. * Fixed: PHP fatal error when adding the weights of custom boxes. * Fixed: PHP Deprecation warning. = 4.5.0 (08.08.2023) = * Added: Custom Titles for DPD UK services. * Fixed: Apply custom adjustments to DPD UK. * Fixed: Special Delivery before 1PM was not working. = 4.4.0 (03.04.2023) = * Added: Royal Mail April 2023 prices. * Added: DPD UK Domestic Prices. = 4.3.0 (17.12.2022) = * Fixed: DPD and Parcelforce prices not showing up. = 4.2.0 (20.08.2022) = * Added: Parcelforce as its own shipping method. * Added: Handling fees for Evri, DPD and Parcelforce. * Updated: Evri Prices. = 4.1.3 (24.07.2022) = * Fixed: Small and medium parcel for the same service gives two rates * Fixed: Fatal error in the DPD calculator. * Fixed: Evri size guidlines check. * Fixed: Adding Denmark to the list of EU Zone countries. = 4.1.2 (02.05.2022) = * Fixed: Adding Ireland to the list of EU Zone One countries. = 4.1.1 (13.04.2022) = * Fixed: Header Already sent warning. = 4.1.0 (05.04.2022) = * Added: Royal Mail Prices (April 2022) = 4.0.2 (22.03.2022) = * Fixed: Fatal error on activating the plugin. = 4.0.1 (22.03.2022) = * Fixed: Fatal error when opening the settings page. = 4.0.0 (17.03.2022) = * Added: Evri (formerly Hermes UK) domestic and international calculator. * Added: DPD UK domestic and international calculator. = 3.4.3 (28.02.2022) = * Preparing the plugin to introduce Hermes UK shipping. = 3.4.2 (31.10.2021) = * Updated: Printed Papers prices. * Fixed: Small parcel calculations. * Fixed: float numbers comparison when detecting large letters. = 3.4.1 (08.09.2021) = * Fixed: Check against the max weight limit when calculating postage. * Fixed: Add a small parcel box when a medium parcel is active. = 3.4.0 (15.05.2021) = * Added: Making the plugin calculates only using the BoxPacker. * Added: Adding small letters to the boxpacker * Fixed: Zone 5 (Ireland) Euro Priority Business prices. * Fixed: Zero height packing. = 3.3.1 (21.01.2021) = * Fixed: Tracked services were not considering small parcels from 0.01 to 0.75 grams. = 3.3.0 (18.01.2021) = * Added: UK Tracked 24 & 48. * Added: UK Tracked 24 & 48 With Signature. * Added: Consider Insurance where the plugin will only show the options that can cover the Royal Mail comensation limits. = 3.2.1 (05.01.2021) = * Fixed: Handle zero digits when rounding the weight. = 3.2.0 (31.12.2020) = * Added: 2021 Royal Mail Prices (January) * Added: International Economy * Fixed: The calculations of the box packer algorithm. = 3.1.5 (28.11.2020) = * Added: Parcelforce Global up to 30kg prices for zones seven and ten. * Fixed: Boxpacker is returning a box height of zero in some cases. * Fixed: The calculation of is_small_parcel. * Fixed: The weight range of printed papers options. = 3.1.4 (05.10.2020) = * Fixed: PHP warnings when there is only one letters option enabled. = 3.1.3 (30.09.2020) = * Fixed: Weight rounding calculations. = 3.1.2 (28.09.2020) = * Fixed: calculation of small and large letters. * Fixed: Form labels typo. = 3.1.1 (10.09.2020) = * Fixed: detection of small and large letters items. = 3.1.0 (08.09.2020) = * Added: support of international Printed Papers options up to 5kg. * Fixed: International shipping with letters enabled. * Fixed: Small and medium parcels calculations. = 3.0.0 (31.08.2020) = * Updated: Royal Mail September 2020 prices. * Added: World Zone 3: USA prices. * Added: Boxpacker improved packing algorithm. * Added: Custom Boxes option: Now, you can add the boxes information in the plugin's settings page for more accurate shipping. * Added: Now, you can adjust each shipping option with a fixed +/- amount. * Modified: Consistent naming for the shipping options. * Fixed: Small and Medium Parcel calculations. * Fixed: Large letters dimensions calculations. * Fixed: Unsorted products were causing a packing issue. = 2.5.2 (01.07.2020) = * Updated: Royal Mail July 2020 prices. = 2.5.1 (30.06.2020) = * Added: Royal Mail July 2020 prices. * Fixed: differentiate between small and large letters for international shipping. * Fixed: fix plugins compatibility. * Fixed: reducing default dimension to 5mm = 2.5.0 (16.05.2020) = * Added : Parcelforce Worldwide: Express 48 Large. = 2.4.6 (07.05.2020) = * FIXED: Detecting letter size was not considering weight unit. = 2.4.5 (03.05.2020) = * FIXED: Detecting letter size was not considering dimensions unit. = 2.4.4 (23.04.2020) = * FIXED: Medium parcel option was not appearing after 2kg. = 2.4.3 (23.04.2020) = * FIXED: Signed For Letters options were not calculated. = 2.4.2 (16.04.2020) = * FIXED: allow 30kg parcels for international shipping. = 2.4.1 (15.04.2020) = * FIXED: display the right letter size option. * FIXED: is_letter() was not checking the weight correctly. = 2.4.0 (22.03.2020) = * UPDATED: The official 2020 Royal Mail prices. * FIXED: No shipping methods when large letters not enabled. = 2.3.3 (01.03.2020) = * FIXED: International Signed Small Parcel option was not added to the Custom Shipping settings. * FIXED: basing shipping calculations on cm and kg. = 2.3.2 (02.01.2020) = * FIXED: 2nd Class Large Letter was not showing at the Cart page. = 2.3.1 (20.10.2019) = * IMPROVED: Deducting the tax from shipping price * FIXED: Not displaying any domestic options for large parcels when letters options enabled * FIXED: Return all enabled letters options regardless of the size = 2.3.0 (13.07.2019)= * ADDED: Custom Titles: Now you can rename and adjust prices of domestic and international letters options. * FIXED: Custom Titles: Global Priority Label title corrected. = 2.2.1 (23.06.2019)= * FIXED: fix displaying small & medium parcels prices for items exceeding the max dimensions = 2.2.0 (01.04.2019) = * ADDED: Allowing adding shipping price adjustments for each shipping option. * ADDED: The ParcelForce 2019 prices. = 2.1.1 (01.04.2019) = * FIXED: The Royal Mail 2019 prices. = 2.1.0 (25.03.2019) = * ADDED: Adapting the Royal Mail 2019 prices. * ADDED: Support for small letters options. * ADDED: Custom shipping class to ignore letters sized items. * FIXED: Letters calculations. * FIXED: Medium parcel adding dimensions check. = 2.0.1 (09.08.2018) = * FIXED: unnecessary loading of CSS file. = 2.0.0 (08.07.2018) = * ADDED: The ability to rename shipping services * ADDED: Adding ParcelForce WorldWide Euro Priority Business service. * ADDED: Adding ParcelForce WorldWide Euro Priority Home service. = 1.4.0 (30.03.2018) = * ADDED: Adapting the Royal Mail 2018 prices. * FIXED: add a reminder of adding the license at the plugins update page. * FIXED: The plugin can be used directly without adding a license, the license is required at the update only. = 1.3.4 (06.01.2018)= * FIXED: add parcelforce for international shipping = 1.3.3 (13.11.2017)= * FIXED: skip virtual and downloadable products = 1.3.2 (10.04.2017)= * ADDED: update the shipping prices for Royal Mail 2017 standards = 1.3.1 = * ADDED: A new option to subtract tax percentage = 1.3.0 = * ADDED: ParcelForce international shipping. * ADDED: Compatibility with WooCommerce 2.6+ * FIXED: Return URL after activating the license. = 1.2.0 = * ADDED: Support for Shipping Zones. = 1.0.0 = * Initial release. == Upgrade Notice == * Initial Release