Pirajki Shipping Calculator for WooCommerce

Pirajki Shipping Calculator for WooCommerce

By Poonam
Details
View on WordPress

Pirajki Shipping Calculator for WooCommerce solves a common problem: when creating manual orders in the WooCommerce admin, shipping rates are not automatically calculated from the customer’s postcode the way they are on the front end.

This plugin adds intelligent shipping rate lookup directly to the order edit screen:

  • Auto-calculates rates whenever the shipping postcode changes — no button click needed
  • Auto-applies the highest rate immediately so you never under-charge
  • Shows all available methods as a selectable list so you can override the auto-selected rate
  • Manual fallback — if no rates are found you can enter a label and cost manually
  • Country auto-detection — correctly resolves Guernsey (GYGG), Jersey (JE), and Isle of Man (IM) postcodes that the WC admin often leaves as GB
  • Compatible with Advanced Shipping plugin (WAS_Advanced_Shipping_Method) — queries its condition groups directly
  • HPOS compatible — works with WooCommerce High-Performance Order Storage
  • Secure — nonce-verified AJAX, full capability checks, all inputs sanitised

How it works

  1. Open any order in WooCommerce admin
  2. Enter a postcode in the shipping or billing address fields
  3. Rates are fetched and the highest cost rate is applied automatically
  4. All available rates are shown — click a different one and press Apply selected rate to override
  5. The order items panel updates in real time

Developer Hooks

Filters:

pirajki_sc_found_rates — modify the array of rates before they are shown to the admin.
pirajki_sc_auto_apply_rate — override which rate gets automatically applied (or return null to disable auto-apply).

Actions:

pirajki_sc_after_rate_saved — fires after a shipping rate has been saved to an order. Receives `$order`, `$label`, `$cost`.

Requirements

  • WordPress 5.8+
  • WooCommerce 6.0+
  • PHP 7.4+
  • Advanced Shipping plugin (optional — falls back to WooCommerce native shipping zones)

Details

Plugin code:
pirajki-admin-shipping-rates-for-woocommerce
Plugin version:
1.0.3
Author:
Outdated:
No
WP version:
5.8 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0
Total installations:
0
Last updated:
2026-06-10
Rating:
Times rated:
0
admin
advanced-shipping
shipping
shipping-calculator
woocommerce