How to Configure Price Per Unit in Magento 2?
In Magento 2, you can easily set the price per unit for a product by installing a third-party pricing calculator extension. If you want to set pricing based on each unit quantity, area, volume or weight then you have to use the “Per Unit Price” for each product. Per Unit Price is best fit for selling variable size products like tiles, flooring, fabric, blinds, carpet, liquids, sugar, etc.

Setup Products Price Per Unit in Magento 2

In order to configure Price Per Unit in Magento 2, download & install Pricing Calculator Extension by FME.
  • After Installation, Login to Admin Panel > Tap FME extensions > Click Configurations
  • In General Settings, Select Yes to enable the extension
Now Expand Basic Tab and set following configurations:
  • Fields Label – Set fields labels to be displayed on product page, e.g. length, width, height, volume, meter, etc.
  • Discount – Enter title for discount, e.g. Discount, etc.
  • Keyword for Minimum Quantity - Enter text for minimum value like min, etc.
  • Keyword for Minimum Quantity - Enter text for maximum value like max, etc.
  magento-2-price-per-unit-configurations   Now Expand Product Page Tab
  • Show Base Price – You can show/hide base price on frontend
  • Show Discount Price - You can show/hide discount amount on frontend
  magento-2-price-per-unit-configuration  

Customizable Options Settings

Now, when you’re done with the Configurations General settings, you need to display input fields like length, width, height, weight, volume etc. on product page in order to take input value from customers. For this,
  • Open a Product in editor mode
  • Click & Expand Customizable Options Tab
  • Now Click Add Option on right side
  • Set Option Title – Make sure the option title matches the labels in the Configurations General settings
  • Option Type – Select Field type
  • Required - Check if you want to make the field mandatory
  magento-2-price-per-unit-input-field-options   Note: Create input fields according to your requirements, e.g. create 2 fields (length, width) for area-based pricing, 3 fields for volume (length, width, height) or 1 field for single dimension volume like liter, etc.

Price Per Unit Volume (cubic meter, cubic ft, cubic inches, liter, ml, gallon etc.)

Now to Setup Price Per Unit Volume, open a product in editor mode
  • Click Catalog on left sidebar > Click Products
Now click & expand Pricing Calculator Tab
  • Active – Select Yes to Active the Price calculator for the product
  • Measure By – Select Measurement Type - select Volume
  • Discount Size – Setup discount size, set min & max value and setup discount as Fixed or Percentage amount
  • Units – Select Input & Output Units like meter, foot, inch, etc. (will be calculated as cubic meter, cubic foot, cubic inches,)
  • Unit Price – Select Per Unit price
  • Pricing Limit – Set Pricing Limit, e.g. minimum & maximum values
  • Save the Product
  magento-2-price-per-unit-volume   Note: You can also price & sell single dimension products like Oil in liters, diesel in gallons, etc.

Price Per Weight Unit (gram, kg, ounce, pound, ton, etc.)

Now to Setup Price Per Weight Unit, open a product in editor mode
  • Click Catalog on left sidebar > Click Products
Now click Pricing Calculator Tab
  • Active – Select Yes to Active the Price calculator for the product
  • Measure By – select Weight
  • Discount Size – Setup discount size, set min & max value and setup discount as Fixed or Percentage amount
  • Units – Select Input & Output Units e.g. Kg, gram, ton, etc.
  • Unit Price – Select Per Unit price
  • Pricing Limit – Set Pricing Limit, e.g. minimum & maximum values
  • Save the Product
  magento-2-price-per-weight-unit  

Area Based Price Per Unit (sq ft, sq meter, sq yard, sq inches, etc.)

Now to Setup Price Per Unit Area, open a product in editor mode & click Pricing Calculator Tab
  • Active – Select Yes to Active the Price calculator for the product
  • Measure By – Select Area
  • Discount Size – Setup discount size, set min & max value and setup discount as Fixed or Percentage amount
  • Units – Select Input & Output Units like meter, foot, inch, etc. (will be calculated as square meter, sq ft, sq yard, etc.)
  • Unit Price – Select Per Unit price
  • Pricing Limit – Set Pricing Limit, e.g. minimum & maximum values
  • Save the Product
  magento-2-price-per-area-unit   Note: You can also price & sell single dimension products like fabric in yards, nylon ropes in meter. This extension also perform complex pricing calculations like:
  • Calculate Price by Length
  • Calculate Price by Meter
  • Calculate Price by Gram, kg
  • Calculate Price by Square Foot
  • Calculate Price by Yards
  • Calculate Price per KG
  • Set Weight Units in Gram
  • Calculate Price by Volume
  • Calculate Price by Weight
  View Extension Demos:  Frontend Demo     Backend Demo     Buy Extension

If you need any help feel free to contact our support team.