EU Base Price Display for WooCommerce

Skildring

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

  1. Edit a product in WooCommerce
  2. Scroll down to the «Product Data» section
  3. Enter the product’s weight/volume in the appropriate fields
  4. The base price will be automatically calculated and displayed after the product price

For Variable Products

  1. Edit a variable product in WooCommerce
  2. Go to the «Variations» tab
  3. For each variation, set the weight/volume
  4. The base price will be calculated and displayed after each variation’s price

Skjermbilete

  • Product Page – Price per unit below product price [screenshot-1.png]
  • Shop View – Base prices in product grids [screenshot-2.png]
  • Cart/Checkout – Base prices in cart flows [screenshot-3.png]

Installasjon

  1. Upload the eu-base-price-display folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the «Plugins» menu in WordPress
  3. Go to WooCommerce > Settings > Products > EU Base Price to configure the plugin
  4. Set up base price display for your products in the product edit screen

Vanlege spm.

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.

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“EU Base Price Display for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

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