Description
EU Base Price Display is a WooCommerce extension that helps you display base prices (price per unit) for your products, making it easier for customers to compare prices of different package sizes. The plugin automatically calculates and displays the price per unit (e.g., per kg, per liter, per meter) next to the product price.
Key Features
- Display base prices for all product types (simple, variable, grouped)
- Support for various units (weight, volume, length, area, count)
- Clean, consistent display after product prices
- Works with WooCommerce product variations
- Supports different price display formats
- Mobile responsive design
- Translation ready
Product-Specific Base Price Settings
You can now override global base price settings on a per-product basis, giving you more flexibility in how base prices are calculated and displayed for individual products.
Configuration
After activating the plugin, you can configure its settings by going to WooCommerce > Settings > Products > EU Base Price.
General Settings
- Base Price Label: Customize the label shown before the base price (default: “Base price:”)
- Unit Separator: Choose the separator between price and unit (e.g., ” / ” or ” per “)
Unit Settings
- Default Unit: Select the default unit for base price display (auto, g, kg, lbs, oz, ml, l, m³, cm³)
- Force Unit: Override product-specific units with the default unit
Formatting
- Decimal Places: Set the number of decimal places (0-6)
- Thousand Separator: Character to use as thousand separator (default:
,) - Decimal Separator: Character to use as decimal separator (default:
.)
Usage
For Simple Products
- Edit a product in WooCommerce
- Scroll down to the “Product Data” section
- Enter the product’s weight/volume in the appropriate fields
- The base price will be automatically calculated and displayed after the product price
For Variable Products
- Edit a variable product in WooCommerce
- Go to the “Variations” tab
- For each variation, set the weight/volume
- The base price will be calculated and displayed after each variation’s price
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 > Products > EU Base Price to configure the plugin
- Set up base price display for your products in the product edit screen
FAQ
-
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.
-
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.
-
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?
-
The plugin is optimized for performance and has minimal impact on page load times. All calculations are done server-side to ensure accuracy and compatibility with caching systems.
-
Can I customize the styling of the base price display?
-
Yes, you can add custom CSS through the plugin settings or use the provided CSS classes to style the base price to match your theme.
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.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



