Price per Unit for Magento 2

Ensure legal compliance and boost customer trust by enabling automatic base price calculation and display using Magento 2 Price per Unit extension.

  • Show unit prices by weight, volume, length, etc.
  • Create custom units tailored to your products
  • Place 'price per unit' blocks on product, category, cart, and checkout pages
  • Flexibly modify the base price template
  • Dynamically showcase unit prices for configurable product options
  • Hyva-ready storefront (view demo >>)
  • WCAG compliant (Luma & Hyva Themes)
Add to Wish List
Product updates and support for 12 months

Updates and support prolongation - $85

more info

Pick a combo deal with 15% discount:

Save $73.05

Deliver greater pricing transparency

In most countries, companies are legally obliged to also indicate the price per unit (base price) alongside the actual selling price in an easy-to-read way. This practice helps customers make more thought-out purchases as they can simply compare and evaluate products between brands and package sizes.


Explore 3 main reasons why you need
the price-per-unit Magento functionality

Effortlessly comply with the unit price regulations enforced in many countries


Enhance the shopping experience by providing accurate and consistent price per unit information


Strengthen your unique selling proposition by providing clear criteria for comparison with competitors

NEW: Manage unit price locations

Decide where to display unit prices in your store. The extension offers the flexibility to showcase base price information to customers at key stages of their purchasing journey, facilitating decision-making. Now, you can easily enable or disable unit price display on:

  • Product Pages;
  • Category Pages;
  • Shopping Cart Page;
  • Mini Cart;
  • Checkout Page.

Set custom quantities and measurements

The Magento Price per Unit extension will be an excellent choice for providing customers with unit prices when you sell products based on weight, volume, items, square meterage, or lengths, such as liquids, fabric, tiles, ropes, wallpapers, and more.

Use and edit three pre-built measurement units or add as many custom ones as you need to cover specific requirements of products in the store catalog. Conveniently view all units from the grid and set them with easy-to-identify system names for internal use.

📌 To create a new unit, you need to specify the product unit (e.g. g), reference unit (e.g. kg), reference amount (e.g. 1), and conversion rate (e.g. 1000).


Assign unit metrics to products

Assign unit metrics to products they were created for to automatically calculate the base price. For this, you’ll be asked to select one of the pre-created units from the dropdown and enter the product amount value (e.g. 500) on the product’s edit page.

The calculation of the product's base price will be automatically performed using the formula: ((product_price / product_amount) * conversion_rate) * reference_amount.

📌 For example, taking into account the mentioned configurations, the base price of a 500 Gr coffee package priced at $15 will be $30 per Kg ((15/500) * 1000) * 1.

Customize unit price display

Clearly showcase blocks with the base price on Magento product and category pages. Use available variables and add extra text to make a unique unit price template for displaying on the frontend.

📌 The default template looks like {{unit_price}} / {{reference_amount}} {{reference_unit}} or ‘$92.00 / 100 Ml’. You can change it to ‘equals {{unit_price}} / {{reference_amount}} per {{reference_unit}}’ on the backend, which may result in ‘equals to $92.00 per 100 Ml’ on the frontend.


See how the solution can serve different industries

With the extension, you can design unique metrics with precise conversion rules suitable for country-specific and industry-specific needs.
Here are some examples:

Cosmetics and personal care

In the cosmetic and personal care industry, package products are commonly used, especially for boosting sales. For instance, a package of 5 face masks priced at $10 can be configured with the extension to display a unit price of $2 per count. Similarly, a pack of 30 baby diapers priced at $15 translates to $0.50 per pcs, and a 24 oz bottle of shampoo for $9.99 equates to $0.42 per ounce.


In the food industry, especially for liquid and weight products, the extension helps handle different measurements. For example, milk can be sold in liters, milliliters, gallons, quarts, ounces, or even pints depending on the location. In such cases, it is recommended to attentively configure the unit metric and its conversion rate to appropriately display the unit price.

DIY (construction, repair)

In the DIY industry, where customers purchase materials like fabrics, paints, cables, wallpapers, or nails, the extension plays a crucial role in simplifying price comparisons. For example, products like nails are often sold in boxes of varying quantities. With the extension, a store admin can configure the pricing to display an exact unit price, such as $0.05 per nail.

Adobe partner logo
Magento Marketplace logo
See 500+ verified reviews
1 Single points of sales
Trusted by Customers
Are Amasty extensions compatible with all themes and extensions by other vendors?
Amasty extensions work with all plugins we issued and with most 3rd-party plugins. If you come across a Magento 2 compatibility issue with any third-party module, we’ll definitely try to help you. If you face any technical issues, please create a ticket...
Will I get free support and updates?
Product updates for extensions purchased before Feb 1, 2022With the transition to product subscriptions, you will receive product updates for all extensions purchased before Feb 1, 2022 throughout the entire grace period — up to Aug 1, 2022. If you ...
Do you have the installation service?
Yes, you can use installation and configuration services that are available as the part of Pro and Premium add-ons for your product subscriptions.Please note that this installation service doesn’t include uninstallation. So, if you need to completely...
Can I request a free trial?
Amasty doesn’t provide any trials of Magento extensions. There's one exception: Amasty extensions are provided for testing or demo purposes to our official Platinum Partners as a part of the “access to Amasty extensions for testing purposes with Composer...
Can I test an Amasty extension on a staging site before transferring it to a live one?
Yes, you can install any Amasty extension on a test site and configure all the settings there before doing it on your live store.
How can I get a refund?
Amasty offers to its Customers a thirty (30) day money-back guarantee for the Software. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you. Fees for support subscriptions and any services provided...
How can I receive a discount?
We are now working at a loyalty program for our customers that is supposed to bring even greater benefits in the long term. While it’s not out yet, you can look through these Special Offers. New discounts and specials are added every month. To stay ...
How to update a Magento 2 Amasty extension?
To update a Magento 2 extension by manual upload:1. log in to the customer account;2. navigate to the Products tab, scroll to the packages section, and click the Download link next to the extension that should be updated;3. Important: If some extension...
If I need additional features to be added to an Amasty extension, how can I ask for it?
To leave your feature request, log in to your customer account and open the Products tab. Then, scroll down to the bottom of the page, and leave your feature request in the following form: As soon as you send your request, it is considered by our ...
Magento 2 Amasty extensions installation
Each Amasty extension package is provided with the extension files, installation & setup guides, and a license agreement. Some extensions include import files examples as well. So how to install our Magento extension? What is the plugin...
How can I prolong support?
If you have an active support service subscription, it grants you access to support services for all products purchased before Feb,1 as long as your subscription is active. Alternatively, support services are only available as the part of a product ...
Can I change the EE extension to CE for free?
Usually, no, you can’t exchange modules. Please, contact our support managers and they’ll consider your case individually. → Learn more about our special offers
How can I get a discount to re-purchase plugins?
Usually, we don’t provide any discounts. But you can contact us, and we’ll consider your case individually. → Learn more about our special offers
Customer Reviews

Do you need specific features added so you can achieve your business goals?

Drop us a line and we'll customize this extension for you!

You can always download the recent version free of charge from your account installing an upgrade is easy

See Magento (and other software) versions we support and guarantee their compatibility with our extensions

Version 1.1.0
Last Update: Apr 08, 2024
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
Last Update: Jan 03, 2024
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

Ratings & Reviews

Be the first to review this product