Description
EU Base Price Display is a lightweight WooCommerce extension that automatically calculates and displays base prices (price per unit) for your products. It helps customers compare prices across different package sizes and ensures your store complies with EU price indication regulations (Preisangabenverordnung / PAngV).
Key Features
- Automatic Calculation — Base prices are computed from product weight or dimensions
- Reference Quantity — Display per 1 kg, per 100 g, per 1 L, etc. (EU PAngV compliant)
- All Product Types — Works with simple, variable, and grouped products
- Flexible Display Position — Show inline after price, below price, before or after Add to Cart
- Visibility Controls — Enable/disable per page type (shop, single, cart) and exclude categories
- Per-Product Overrides — Override global settings on individual products
- Multiple Units — Weight (g, kg, lbs, oz) and volume (ml, L, m³, cm³)
- WooCommerce HPOS Compatible — Works with High-Performance Order Storage
- WooCommerce Blocks Compatible — Compatible with the block-based cart and checkout
- Developer Friendly — Extensive filter/action hooks for customization
- Lightweight & Fast — Optimized with object cache integration, minimal footprint
- Translation Ready — Full i18n support with .pot file included
Why EU Base Price Display?
If you sell products by weight or volume in the EU, you are legally required to display the price per standard unit (e.g., price per kg or per liter). This plugin makes compliance effortless:
- Set your preferred unit and reference quantity once
- The plugin automatically calculates and displays base prices
- Works out of the box with no configuration required for most stores
Product-Specific Base Price Settings
Override global base price settings on a per-product basis in the WooCommerce product editor. Set custom units or enter a manual base price for products that need special handling.
Screenshots
Installation
- Upload the
eu-base-price-displayfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to WooCommerce > Settings > EU Base Price to configure the plugin
- Set up base price display for your products in the product edit screen
Quick Start
After activation, the plugin automatically redirects you to the settings page. For most stores, the defaults work immediately — just make sure your products have weights set in the product data.
FAQ
-
What is a base price / Grundpreis?
-
A base price is the cost per standard unit of measurement (e.g., €5.00/kg). EU regulations require this for products sold by weight, volume, length, or area, making it easy for consumers to compare products of different sizes.
-
Does the plugin support variable products?
-
Yes, the plugin fully supports WooCommerce variable products. It will display the base price for each variation based on its specific weight or volume settings.
-
What is Reference Quantity?
-
Reference quantity lets you display prices per a standard amount (e.g., “per 100 g” instead of “per 1 g”). This is required by EU regulations for certain product categories. Set it in Settings > EU Base Price > Reference Quantity.
-
Can I use different units for different products?
-
Yes, the plugin respects the units set for each individual product. You can also force a specific unit across all products in the settings, or override per product.
-
Can I exclude certain categories?
-
Yes, go to Settings > EU Base Price > Visibility and select product categories to exclude from base price display.
-
Is the plugin translation ready?
-
Yes, the plugin includes a .pot file for translation and is ready to be translated into any language using standard WordPress translation methods.
-
How does the plugin handle tax?
-
The plugin respects your WooCommerce tax settings and will calculate the base price based on the price including or excluding tax, depending on your store’s configuration.
-
Will the plugin slow down my store?
-
No. The plugin uses both in-memory and WP object cache layers for optimal performance. All calculations are done server-side and cached.
-
Can I customize the styling of the base price display?
-
Yes, the base price uses the CSS class
.eubaprdi-base-pricewhich you can target with custom CSS. The wrapper div uses.eubaprdi-base-price-wrapper. -
Is it compatible with WooCommerce HPOS?
-
Yes, the plugin fully declares compatibility with WooCommerce High-Performance Order Storage (HPOS) and Cart/Checkout Blocks.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“EU Base Price Display for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “EU Base Price Display for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.0
- NEW: Reference quantity setting — display “per 100 g”, “per 1 L”, etc. (EU PAngV compliant)
- NEW: Display position setting — choose where base price appears on single product pages
- NEW: Visibility controls — enable/disable per page type (shop, single, cart/checkout)
- NEW: Category exclusion — hide base price for specific product categories
- NEW: First-activation onboarding — automatic redirect to settings page
- NEW: WooCommerce Blocks compatibility declaration
- NEW: WP Object Cache integration for improved performance
- FIX: Cubic meter (m³) and cubic centimeter (cm³) units were silently rejected on product save
- FIX: Silent exception swallowing now logs errors when WP_DEBUG is enabled
- FIX: WooCommerce dependency notice is now translatable
- FIX: Removed duplicate nonce on settings page
- FIX: Frontend no longer loads on AJAX, REST API, and WP-Cron requests
- FIX: Replaced serialize() with wp_json_encode() for cache stats
- FIX: Proper wp_unslash() on POST data comparisons
- UPDATED: Tested with WooCommerce 9.8 and WordPress 6.8.1
- UPDATED: Always-visible “Rate this plugin” action link
1.0.0
- Initial stable release
- Full WooCommerce HPOS compatibility
- Support for all WooCommerce product types
- Comprehensive unit testing
- Complete documentation
- Performance optimizations
- Mobile-responsive design
- Extensive filter/action hooks for developers
- Built-in debugging tools
- Translation-ready with .pot file



