Compatibility
Compatibility
Measurement Price Calculator is built to work with the broader WooCommerce ecosystem. This page covers tested integrations and known compatibility details.
WooCommerce features
Cart and Checkout blocks
The plugin is fully compatible with the WooCommerce block-based cart and checkout.
- Measurement data is displayed in the block cart and checkout via the Store API.
- Quantity locking works in both block and classic cart/checkout.
- The plugin registers as a block integration via
IntegrationInterface.
Classic cart and checkout
The classic shortcode-based [woocommerce_cart] and [woocommerce_checkout] pages are fully supported. Measurement details appear as line item meta data in the cart and checkout.
High-Performance Order Storage (HPOS)
The plugin declares HPOS compatibility. All order data is accessed through WooCommerce CRUD methods, not direct database queries.
Compatibility declaration: custom_order_tables
No configuration needed. HPOS support is automatic.
WooCommerce CSV import/export
Calculator settings and pricing rules are included in WooCommerce's built-in CSV product export and import.
See Import & Export for details.
Order Again
When a customer clicks "Order Again" on a previous order, the measurement data from the original order is restored. The calculator inputs are pre-filled with the previous values.
Supported plugins
WooCommerce Subscriptions
Measurement data persists across subscription renewals and resubscribes. The plugin supports subscription product types.
- Initial subscription order captures measurement data.
- Renewal orders preserve the original measurements.
- Resubscribe orders restore measurement data.
WooCommerce Product Add-ons
When both plugins are active, addon costs are layered on top of the measurement-calculated price.
How it works:
- The calculator computes the base price from measurements.
- Product Add-ons adds its addon costs (flat fees, percentage upcharges, etc.) on top.
- The frontend JavaScript bridges both plugins for real-time total updates.
No configuration needed. The integration works automatically when both plugins are active.
WPML and Polylang
The plugin uses the WordPress text domain system for translations. All user-facing strings are translatable.
- Product-level settings (pricing label, variable labels) are translatable through WPML's post meta translation.
- Global settings strings follow the standard WooCommerce settings translation workflow.
Currency switcher plugins
Compatible with popular currency switcher plugins including:
- WOOCS (WooCommerce Currency Switcher)
- Aelia Currency Switcher
Wholesale pricing plugins
Compatible with:
- WooCommerce Wholesale Prices
- B2BKing
Page builders
The plugin works with any page builder that supports WooCommerce product pages:
- Elementor (including Elementor Pro product templates)
- Divi Builder
- Beaver Builder
- WPBakery Page Builder
- Gutenberg (default WordPress editor)
[mpwc_pricing_table] shortcode works in all page builders that support shortcodes.
Theme compatibility
Fully tested themes
- Storefront (WooCommerce's official theme)
- Astra
- Kadence
- GeneratePress
- OceanWP
How it works with themes
The plugin uses standard WooCommerce hooks to display the calculator on product pages:
woocommerce_before_add_to_cart_button(default position)woocommerce_after_add_to_cart_button(alternate position)
Template overrides
If you need to customise the calculator display for your theme, copy template files from the plugin to your theme:
| Plugin template | Theme override path |
|---|---|
templates/single-product/calculator.php | yourtheme/mpwc-calculator/single-product/calculator.php |
templates/single-product/calculator-field.php | yourtheme/mpwc-calculator/single-product/calculator-field.php |
templates/single-product/pricing-table.php | yourtheme/mpwc-calculator/single-product/pricing-table.php |
templates/cart/measurement-data.php | yourtheme/mpwc-calculator/cart/measurement-data.php |
Browser support
The frontend calculator works in all modern browsers:
- Chrome (latest 2 versions)
- Firefox (latest 2 versions)
- Safari (latest 2 versions)
- Edge (latest 2 versions)
sessionStorage for input persistence (available in all modern browsers).
PHP and WordPress requirements
| Requirement | Minimum | Recommended |
|---|---|---|
| PHP | 7.4 | 8.0+ |
| WordPress | 6.0 | Latest |
| WooCommerce | 8.0 | Latest |
Known limitations
Composite products
The plugin does not currently support WooCommerce Composite Products. Each component in a composite product cannot have independent calculator settings.
Bookings
WooCommerce Bookings uses its own pricing model that is not compatible with measurement-based pricing.
Product bundles
WooCommerce Product Bundles are not supported. Bundled items cannot have individual calculator settings.
Troubleshooting compatibility
Calculator not appearing with a specific theme
- Switch to Storefront temporarily. If the calculator works in Storefront, the issue is theme-related.
- Check if the theme overrides WooCommerce templates and removes standard hooks.
- Contact the theme developer to ensure
woocommerce_before_add_to_cart_buttonis present.
Conflict with another plugin
- Deactivate the suspected plugin and check if the calculator works.
- Check the browser console for JavaScript errors.
- If the conflict is confirmed, report it on Themology Support with both plugin names.
Currency not converting
- Verify your currency switcher plugin is active and configured.
- Check that the currency switcher hooks into WooCommerce's
wc_priceandwoocommerce_product_get_pricefilters. - The calculator uses
wc_price()for all formatted output, which most currency plugins hook into.