Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/tetterip/woo-tet-dimensional-shipping-plugin/releases/download/v1.7.4/woo-tet-dimensional-shipping-plugin.zip
Dimensional Shipping for WooCommerce
Shipping rates from volumetric weight, (L × W × H) / DIM factor, configurable per shipping zone.
Download · plugins.ttrp.gr · Changelog · Report a bug · Contributing
A WooCommerce shipping method that calculates shipping cost from each product's volumetric weight using the formula (L × W × H) / DIM factor × multiplier. The DIM factor, calculation unit, cost multiplier, minimum cost and an additional fee are all configurable per shipping zone.
Requirements
- WordPress 5.0+ (7.1 compatible)
- WooCommerce 3.0+
- PHP 7.4+
Installation
- Upload the
woo-tet-dimensional-shipping-pluginfolder to/wp-content/plugins/. - Activate the plugin through Plugins → Installed Plugins.
- Go to WooCommerce → Settings → Shipping, add or edit a shipping zone, and click Add shipping method → Dimensional Shipping.
Shortcut: After activation the shipping settings are also accessible via ttrp.gr Plugins → Dimensional Shipping in the WordPress admin sidebar.
Configuration
Each shipping zone instance exposes the following settings:
| Setting | Description | Default |
|---|---|---|
| Title | Label shown to customers at checkout | Dimensional Shipping |
| Tax Status | Whether the shipping cost is taxable | Taxable |
| DIM Calculation Unit | The dimension unit your carrier uses for the DIM factor (mm, cm, m, in, yd) | cm |
| DIM Factor | Divisor in the volumetric formula — match this to your carrier's published value | 5000 |
| Cost Multiplier | Scales the dimensional weight to a currency amount | 1 |
| Minimum Cost | Floor price applied when the calculated cost is lower | 0 |
| Additional Fee | Fixed amount added to every order after the minimum cost (e.g. packaging or handling) | 0 |
How cost is calculated
dim_weight = (length × width × height) / dim_factor # dimensions in the selected unit
item_cost = dim_weight × quantity
order_cost = sum(item_cost for all shippable items) × multiplier
final_cost = max(order_cost, minimum_cost) + additional_fee
The settings screen also shows these steps with your own values and a worked example (one 40 × 30 × 20 cm box), updated each time you save.
Product dimensions are automatically converted from the store's configured unit to the DIM Calculation Unit via wc_get_dimension() before the formula runs. Products with any dimension set to zero are excluded.
Choosing the right DIM factor and unit
| Carrier unit | Typical DIM factor |
|---|---|
| Centimeters (cm) | 5000 |
| Inches (in) | 139 |
Set DIM Calculation Unit to match your carrier, then enter the DIM factor they provide. The plugin handles the conversion from whatever unit your store is configured to use.
Languages
The plugin is fully translatable. A POT template is included at languages/dimensional-shipping.pot. A Greek (el) translation is bundled. To add a new language:
- Copy
dimensional-shipping.pottodimensional-shipping-{locale}.po(e.g.dimensional-shipping-de_DE.po). - Fill in the
msgstrentries using Poedit or any PO editor. - Compile to
.moand place both files in thelanguages/folder.
Changelog
See CHANGELOG.md.
Updates and privacy
This plugin gets its updates from the ttrp.gr update server (https://plugins.ttrp.gr/), not from WordPress.org.
When WordPress checks for updates, and when you open ttrp.gr Plugins → All Plugins, your site sends that server:
- the plugin's slug and installed version,
- the WordPress version and the site's address (in the request's
User-Agentheader), - the admin language (All Plugins page only).
The server logs these requests, with the IP address, for 180 days and keeps a list of which sites run which plugin version. No order, customer or other personal data is sent. Questions: info@ttrp.gr. Details: privacy policy and terms of use; administrators see a one-time notice about this in wp-admin.
Contributing
Bug reports, ideas and pull requests are welcome. See CONTRIBUTING.md for how to set up, test and translate the plugin.
Security
Please report vulnerabilities privately to info@ttrp.gr, not in a public issue. See SECURITY.md.
License
GPL-2.0-or-later — see LICENSE.
Releases
12 releases. Each count is every asset in that release; expand a row for the breakdown.
Active-site estimate ≈10 comes from the v1.7.3 cohort. Method.