Overview
Sell by the square metre or by the metre: customers enter their size, see the price instantly, and the size is added to the cart and the order.
- Price by m² or by metre
- Instant price as customers type
- Size in the order
Best for: Blinds, fabric, flooring, glass and signs
Installation
- Download measurely-price-calculator.zip from My account › My plugins or from your order email. Do not unzip it.
- In WordPress, go to Plugins › Add New Plugin › Upload Plugin, choose the zip and click Install Now, then Activate.
Requires WordPress 6.0+, PHP 7.4+, WooCommerce 7.0+. Works with any theme, block themes and page builders.
Features
- Price per m² (width × height) or per metre (length)
- Sizes in centimetres or metres
- Price updates as customers type
- Minimum size charged and maximum size
- Size shown in the cart, checkout, order and emails
- “/ m²” after the price in the shop
- Turn it on per product
Shortcodes
Paste a shortcode in any page, post, widget or page builder text block.
[measurely_preview]
Options of each shortcode are described in the Features above and in the plugin settings page.
For developers
Customize the plugin from your theme’s functions.php or a small plugin, without editing its files (your changes survive updates).
Filters
measurely_sanitizemeasurely_show
add_filter( 'measurely_sanitize', function ( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Actions
measurely_admin_after_formmeasurely_admin_before_formmeasurely_admin_form_end
Updates
Updates are free. When a new version is out, it appears in Dashboard › Updates of your WordPress site and you can install it in one click, or turn on automatic updates in Plugins. This works for the zip downloaded from your Woo-Plugins account; older copies can be replaced by downloading the latest version from My plugins. See the changelog.
Frequently asked questions
Does it work with variable products?
It works with simple products; create one product per material or color.
Is the price recalculated on the server?
Yes, the cart price is always calculated from the measurements.
Still stuck?
Write to us with your WordPress and WooCommerce versions and what you tried: we answer by email.