Trader Information
Back to topOverview
Back to topDisplaying unit (base) prices alongside actual selling prices for products offered in different quantities, volumes, or sizes is a growing trend and a best practice for e-commerce stores. There are several reasons for this:
- it enhances the shopping experience by simplifying the price comparison process;
- it speeds up purchasing decisions by clearly highlighting bargains;
- it helps ensure compliance with unit price display regulations adopted in many countries;
- it adds clarity and transparency to pricing, building customer trust.
Our Price per Unit extension for Magento 2 makes it easy to implement this best practice — displaying unit prices for products across your store pages. With the extension, you can flexibly create an unlimited number of measurement units and apply them to corresponding products, taking into account your specific business and country requirements. Based on experience, this module is especially useful for businesses selling cosmetics, personal care products, fabrics, food, and DIY goods.
Key Features:
- Automatically calculate and display unit prices based on length, weight, volume, etc;
- Use 3 pre-installed units or create custom ones;
- Locate price-per-unit blocks on product, category, checkout, shopping, and mini-cart pages;
- Change the price-per-unit display format;
- Showcase unit prices for each configurable product option and tier price level;
- Hyvä-ready storefront and Hyvä Checkout ready;
- WCAG compliant (Luma & Hyvä Themes).
Set Up Units
Upon installing the extension, three common units (conversion rules) are available on the 'Units' grid: 'Grams → Kilograms', 'Milliliters → Liters', and 'Centimeters → Meters'. If more specific units are required, for example, 'Pounds → Kilograms' or 'Gallons → Liters', they can be easily set up. To create a new unit, you need to specify the product unit (e.g., ML), reference unit (e.g., L), reference amount (e.g., 1), and conversion rate (e.g., 1000).
Apply Units to Products
Once created, these units can be assigned to the corresponding products on their edit pages. The unit price of the product will be automatically calculated using the following formula: ((product_price / product_amount) * conversion_rate) * reference_amount.
Example: For a 250 ML bottle of washing liquid priced at $1.79, the unit price will be $7.16 per L: ((1.79 / 250) * 1000) * 1 = 7.16
Define Price-Per-Unit Display Format
You can modify the default price-per-unit display template by using variables and adjusting the wording.
Demo:
|Frontend example (Luma Theme)|
|Frontend example (Hyva Theme)|
User Guide:
|Learn how to configure the module step by step with User Guide|
|See Frequently Asked Questions|
Our Support Policy:
- Support Service subscription also may be purchased separately. Please contact vendor for details;
- 25-days Marketplace Return Policy.
Technical Specifications
Back to topSeller profile
Seller contact
Current Version
1.3.0
Adobe Commerce platform compatibility
Adobe Commerce (cloud): 2.4 (current)
Adobe Commerce (on-prem): 2.4 (current)
Magento Open Source: 2.4 (current)
Type
Stable Build
Updated
26 April, 2025
Categories
Extensions, Content & Customizations, Product Content
Quality Report
Back to topAll tests were conducted on the latest versions of Adobe Commerce that existed for the compatible release lines at the moment of the extension submission. Latest versions of all other software were used, as applicable.
Release Notes
Back to top1.3.0:
- Compatible with Adobe Commerce (cloud) : 2.4
- Compatible with Adobe Commerce (on-prem) : 2.4
- Compatible with Magento Open Source : 2.4
- Stability: Stable Build
-
Description:
Version 1.3.0
1.3.0 - Nov 05, 2024
Compatibility: compatibility with Hyvä Checkout was added. You can find the 'amasty/module-price-per-unit-hyva-checkout' package for installing in composer suggest (Note: the compatibility is available as a part of an active product subscription or support subscription)
Version 1.2.0
1.2.0 - Sep 30, 2024
Improvement: we added support for Tier Prices, and now the Unit Price can be displayed for each price level
Fix: fixed compatibility with Amasty Color Swatches Pro and now the Price per Unit is displayed correctly for the child products of the configurable products
Version 1.1.0
1.1.0 - Apr 08, 2024
New: we added the possibility to perform CRUD actions on Prices per Unit via REST API
Improvement: we added the ability to display Prices per Unit at Checkout and in the Mini Cart
Improvement: now Price per Unit dynamically updates for child products of configurable products
Version 1.0.1
1.0.1 - Jan 03, 2024
Compatibility: we added the compatibility with Hyva Theme
1.0.0 - Dec 22, 2023
New: Initial release. The module is available for installation
Support
Back to topThe best place to start if you need help with a specific extension is to contact the developer. All Adobe Commerce developers have both a contact email and a support email listed.
Contact Vendor