Title: Delivery Options For PostNet
Author: Freeman Tech Systems
Published: <strong>6. november, 2024</strong>
Last modified: 21. september, 2026

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/delivery-options-postnet-woocommerce/assets/icon-256x256.png?
rev=3254653)

# Delivery Options For PostNet

 Af [Freeman Tech Systems](https://profiles.wordpress.org/freemantech/)

[Download](https://downloads.wordpress.org/plugin/delivery-options-postnet-woocommerce.1.0.20.zip)

 * [Detaljer](https://da.wordpress.org/plugins/delivery-options-postnet-woocommerce/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/delivery-options-postnet-woocommerce/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/delivery-options-postnet-woocommerce/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/delivery-options-postnet-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/delivery-options-postnet-woocommerce/)

## Beskrivelse

Delivery Options For PostNet is a plugin that adds PostNet delivery options to your
WooCommerce store. Offer customers the flexibility to choose from various PostNet
shipping methods such as Free Shipping, PostNet to PostNet, Express, and Economy.

This plugin integrates with PostNet’s API to provide real-time shipping rates, generate
waybills, and notify stores about new orders. By using this plugin, you agree that
order data will be sent to PostNet for processing.

#### Third-Party Service Integration

This plugin relies on PostNet’s API as a third-party service for the following functionalities:
*
Fetching real-time shipping rates * Generating waybills for orders * Notifying PostNet
stores about new orders

For more information about PostNet’s services, please visit: https://www.postnet.
co.za/

#### Privacy and Terms

By using this plugin, you agree to PostNet’s terms of service and privacy policy:
[PostNet Privacy Policy](https://www.postnet.co.za/app-privacy-policy)

### Features

 * Multiple Shipping Options: Provide different shipping methods to your customers.
 * Easy Configuration: Simple setup and configuration in the WooCommerce settings.
 * WooCommerce Compatibility: Compatible with the latest version of WooCommerce.
 * Customizable: Modify the shipping methods according to your store’s needs.
 * Multi Site Mode: Support for multiple collection addresses with delayed waybill
   creation until order completion.
 * Waybill Email: Optionally email the customer their waybill number and tracking
   link when a waybill is created (off by default; enable it on the PostNet Delivery
   settings page).
 * Collection Only Products: Tick “Collection only” in a product’s Shipping tab 
   and it is left off PostNet waybills and delivery rates, and the customer is told
   on the product page, in the cart and checkout, and on the order that it must 
   be collected from your store.

### Usage

Setup and usage instructions can be found at [PostNet WooCommerce Plugin](https://www.postnet.co.za/woocommerce-app-info).

### Multi Site Mode

The plugin now supports Multi Site Mode, which allows you to:

 * Configure multiple collection addresses instead of using PostNet stores as the
   origin
 * Delay waybill creation until orders are marked as “Completed”
 * Select specific collection addresses for each order in the admin panel

To enable Multi Site Mode:

 1. Go to WooCommerce > PostNet Delivery in your WordPress admin
 2. Check the “Enable Multi Site Mode” option
 3. Configure your collection addresses with the required fields:
 4.  * Street Address
     * Additional Address Info (optional)
     * Country Code
     * Suburb/City
     * Postal Code
     * Company/Business Name
     * Contact Number
     * Contact Person
 5. Save your settings

### Validation Features

The plugin includes several validation mechanisms to ensure proper setup:

 * **Order Completion Blocking**: Orders cannot be marked as “Completed” without
   selecting a collection address
 * **Visual Indicators**: Clear visual feedback shows whether collection addresses
   are properly configured
 * **Real-time Validation**: JavaScript validation prevents status changes without
   proper address selection
 * **Error Messages**: Helpful error messages guide users through the required setup
   process

When Multi Site Mode is enabled:
 * Waybills will not be created automatically when
orders are placed * You must select a collection address for each order in the admin
panel * **Order completion is blocked until a collection address is selected** *
Waybills will only be created when the order status is changed to “Completed” * 
The selected collection address will be used as the originating address on the waybill

### Contributing

 1.  Make sure you have the latest version of Docker Desktop installed and running.
     [Docker Desktop](https://www.docker.com/products/docker-desktop/)
 2.  Clone the repository to your local workspace.
 3.  Open a terminal and navigate to the project folder.
 4.  Run the following docker compose command:
      docker compose -f docker/docker-compose.
     yml up –build
 5.  Navigate to [http://postnet_plugin.lvh.me:8080/](http://postnet_plugin.lvh.me:8080/)
 6.  Complete the WordPress setup.
 7.  Login.
 8.  Install and Activate WooCommerce.
 9.  Setup a basic store.

### License

This plugin is licensed under the GPL v2 License. See the [LICENSE](https://github.com/freeman-tech-systems/woocommerce-postnet-delivery/blob/main/LICENSE)
file for more details.

### Support

For any issues, please open a ticket on the [GitHub issues page](https://github.com/freeman-tech-systems/woocommerce-postnet-delivery/issues).

### Credits

Developed by [Freeman Tech Systems](https://github.com/freeman-tech-systems).

## Installation

 1. Download the plugin zip file from the [releases page](https://github.com/freeman-tech-systems/woocommerce-postnet-delivery/releases).
 2. In your WordPress admin dashboard, go to Plugins > Add New > Upload Plugin.
 3. Choose the downloaded zip file and click Install Now.
 4. Activate the plugin through the Plugins menu in WordPress.
 5. Under WooCommerce in the menu click on the PostNet Delivery menu item to configure
    the plugin.
 6. This plugin is compatible with the WooCommerce Checkout Block in the block editor,
    and also supports the previous `[woocommerce_checkout]` shortcode as well.
 7. This plugin is not yet compatible with the new WooCommerce Product management screen,
    so you will need to use the Classic screen instead.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Delivery Options For PostNet” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ Freeman Tech Systems ](https://profiles.wordpress.org/freemantech/)

[Oversæt “Delivery Options For PostNet” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/delivery-options-postnet-woocommerce)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/delivery-options-postnet-woocommerce/),
tjek [SVN repository](https://plugins.svn.wordpress.org/delivery-options-postnet-woocommerce/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/delivery-options-postnet-woocommerce/)
via [RSS](https://plugins.trac.wordpress.org/log/delivery-options-postnet-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0.20

 * The “Collect at PostNet” shipping line on invoices, order emails, the order confirmation
   page and My Account now names the store the customer chose, for example “R 109.00
   via Collect at PostNet (EDENVALE)”
 * Existing orders pick this up as well, so re-generating an older invoice shows
   the store
 * Developers can change the wording with the new wc_postnet_delivery_store_shipping_method_name
   filter
 * Added a “Collection only” checkbox to the product Shipping tab for products that
   can never be delivered by PostNet. Such products are left off the waybill and
   its declared totals, carry no weight in variable-rate calculations, and if a 
   cart holds nothing else the PostNet options are not offered at all
 * Customers see a “Collection only” note for those products on the product page,
   under the item in the cart and checkout (classic and block), and on the order,
   its emails and invoices. The wording can be changed with the new “Collection 
   Only Message” setting

#### 1.0.19

 * Fixed “Error loading stores: Error fetching stores” at checkout whenever the 
   PostNet site was slow: requests used WordPress’s 5 second default timeout and
   failed outright, so a slow spell on PostNet’s side became a hard checkout error.
   The timeout is now 20 seconds
 * The PostNet store list is now cached for 12 hours instead of being downloaded
   on every settings page load and every store lookup, and the last good copy is
   reused for up to 30 days if PostNet is unreachable
 * Nearest-store lookups are cached per delivery address for an hour, so recalculating
   shipping rates on the checkout page no longer re-queries PostNet every time
 * Checkout now says PostNet is not responding when the request fails, instead of
   reporting that no stores were found near the address
 * The settings page no longer dies with a raw JSON error when the store list cannot
   be fetched; it shows the store dropdown with an explanatory notice
 * Removed a leftover debug statement that wrote the entire store list to the WordPress
   debug log on every settings page load

#### 1.0.18

 * Fixed the item prices in the PostNet order email being multiplied by the quantity
   a second time, so a line of 5 x R32.00 was shown as 5 x R160.00 = R800.00
 * The order email now itemises the delivery fee and tax, so the line items add 
   up to the order total instead of leaving the difference unexplained
 * Order items now send the per-unit price and the line total as separate fields
   rather than a single ambiguous price
 * Fixed the waybill weight being under-declared: the per-unit product weight was
   counted once per line regardless of how many units were ordered

#### 1.0.17

 * Fixed “Create Waybill” on the order screen failing with a generic error whenever
   the logged-in admin’s own WooCommerce session held a chosen shipping method (
   for example after viewing the storefront cart or checkout): the waybill now always
   uses the order’s shipping line and never the current session
 * When waybill creation stops before contacting PostNet (no shipping line, shipping
   zone not configured, or a non-PostNet shipping method), the actual reason is 
   now recorded on the order and shown on the order screen instead of “Failed to
   create waybill. Please check the error logs.”

#### 1.0.16

 * Added an optional customer notification email sent when a waybill is created,
   containing the waybill number and tracking link
 * The email is off by default; enable it with the new “Waybill Email” checkbox 
   on the PostNet Delivery settings page
 * The email’s subject, heading and additional content can be customised under WooCommerce
   > Settings > Emails > PostNet Waybill Created, and its templates can be overridden
   in the theme

#### 1.0.15

 * Fixed the store selector failing with “Error loading stores” on stores configured
   to ship to the billing address only: the store lookup now falls back to the billing
   address when the session shipping address has no city or postcode
 * The store selector now shows the actual reason a store lookup failed (e.g. no
   stores found for the entered address) instead of a generic error message

#### 1.0.14

 * Added a global Rate Mode setting: choose Fixed rates or Variable (weight/volumetric)
   rates for all services
 * Variable rates are tiered per service: a base rate covers an included weight,
   then a per-kg charge applies above it
 * Chargeable weight uses the greater of actual or volumetric weight per product(
   volumetric = L x W x H in cm / divisor, default 5000), summed across the cart
 * Included-weight thresholds are editable per service (defaults: 5kg for Collect
   at PostNet, 2kg for door delivery)
 * Waybill creation is now always a manual action via the button on the order page(
   no longer created automatically at checkout or on order completion)
 * Number of Boxes is always available on the order page (defaults to 1) and affects
   the waybill only, not the rate
 * Removed per-product delivery fees and the Products CSV import/export. NOTE: stores
   that previously relied on per-product fees must switch to Fixed or Variable rates
   after upgrading

#### 1.0.13

 * Fixed settings not saving when Multi Site Mode collection address fields are 
   empty but Multi Site Mode is not enabled
 * Collection address fields are no longer marked as required when Multi Site Mode
   is disabled
 * Empty placeholder addresses are filtered out when saving with Multi Site Mode
   enabled

#### 1.0.12

 * Fixed waybill creation failures on WooCommerce order processing
 * Added waybill status display and retry button on admin order screen
 * Improved order page detection for both classic and HPOS (High-Performance Order
   Storage) modes

#### 1.0.11

 * PostNet shipping options are now identified by stored instance IDs instead of
   method titles
 * Clicking “Configure PostNet Shipping” saves a unique reference for each created
   option so the plugin continues to work correctly if you rename the methods in
   WooCommerce
 * Checkout store selector and waybill logic now use these IDs for all checks

#### 1.0.10

 * Added flat rate options for Regional Centre – Express, Regional Centre – Economy,
   Main Centre – Express, and Main Centre – Economy delivery options
 * Flat rates can be configured in settings; if set, they override individual product
   calculations
 * If flat rates are left blank, the plugin continues to use individual product-
   based fee calculations

#### 1.0.8

 * Added Multi Site Mode support
 * Added multiple collection addresses configuration
 * Delayed waybill creation until order completion in Multi Site Mode
 * Added collection address selection in admin order panel
 * Enhanced API integration with collection address data
 * Refactored waybill creation logic to eliminate code duplication
 * Fixed fatal error when WC()->session is null during order status changes
 * Added comprehensive error handling and logging for better debugging

#### 1.0.7

 * Force update

#### 1.0.6

 * Fix destination store bug

#### 1.0.5

 * Fix waybill and tracking links on order

#### 1.0.4

 * Auto select the closest destination store for PostNet to PostNet deliveries

#### 1.0.3

 * Fix the map marker on the map search

#### 1.0.2

 * Added google map search for picking the destination store

#### 1.0.1

 * Added support for the checkout blocks on the checkout page

#### 1.0.0

 * Initial release with basic PostNet delivery options.

## Meta

 *  Version **1.0.20**
 *  Senest opdateret **3 uger siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 4.0 eller højere **
 *  Testet op til **6.7.10**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/delivery-options-postnet-woocommerce/)
 * Tags
 * [delivery](https://da.wordpress.org/plugins/tags/delivery/)[shipping](https://da.wordpress.org/plugins/tags/shipping/)
   [woocommerce](https://da.wordpress.org/plugins/tags/woocommerce/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/delivery-options-postnet-woocommerce/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/delivery-options-postnet-woocommerce/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/delivery-options-postnet-woocommerce/reviews/)

## Bidragsydere

 *   [ Freeman Tech Systems ](https://profiles.wordpress.org/freemantech/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/delivery-options-postnet-woocommerce/)