Price per unit PRO

Price per Unit PRO

Wordpress plug-in

What is it about?

Price per Unit plug-in for WordPress and WooCommerce calculates the automatically how much will cost one unit of your goods and then displays the recalculated price

Helps you sell

Your customers will be having direct overview of the average value of each product.

Conform EU laws

EU laws orders shop owners to display unit price for food. That is exactly what you will get from this plug-in.

Free version available

If you are interested in my plug-in the free version is available on here WordPress site
If you’re not satisfied with the plugin you can ask within 14 days for your money back, on the first purchase of the plug-in.

Paid version features

Recalculation per different weight or number

Sometimes you may want to use different unit or weight than specified on shipping tab.

This is handy for several cases:

You want to sell pack of t-shirts and you want to show price for one piece.

You are selling food in some package and you want to show price per net weight yet you need to keep the gross weight for shipping purposes.

There is many scenarios for this option and it is just up to your need or imagination to use it to your benefit.

Different weight - Frontend Different weight - Frontend
Variation select - Frontend Variation select - Frontend

Full variable products support

Recalculated variation price is displayed under normal price after variation is selected.

Recalculation per different weight unit

This is useful when your shop has a specific weight unit – let’s say kilograms and you want to show the the calculation for different unit – this time it’s gram. This feature works acros all the WooCommerce default units (kg,g,oz,lb).

Different weight unit - Frontend Different weight unit - Frontend

Supported also in Cart

Recalculated price is now shown also on Cart page. If your theme supports Minicart it should be also visible there – this depends on themes developers.

Custom ratio - recalculation per different units number

Normally the recalculation works per one unit – if I have shop in kilograms it calculates price for 1 kg. This feature can help you if you need to show the price for different number of kilograms  – perhaps per a ton(if you are selling wholesale) or maybe just per 100 grams.

Recalculation ratio - Frontend Recalculation ratio - Frontend

Video introduction

Pick your version

Single e-shop

Suitable for individual e-shop owners
1 site
1 year of updates
14 days moneyback guarantee
Basic licence price
30 USD

Small busines

Suitable for small business owning several e-shops
3 sites
1 year of updates
14 days moneyback guarantee
33% discount off the basic licence price
60 USD

Developer

Suitable for developers working for several companies
10 sites
1 year of updates
14 days moneyback guarantee
50% discount off the basic licence price
150 USD

Extended compatibility for plug-ins

Create beautiful, responsive WooCommerce product table layout with ease!

Since plugin version

2.1.0

Increase conversions through dynamic discounts and price rules, and build powerful and targeted offers.

Ultimate plugin for B2B and B2B+B2C WooCommerce stores.

FAQ

The most important thing is to have weight of the product set. So you should go to Products -> (product you want to edit) -> Shipping and fill in product weight. This is crucial because we are trying to calculate the price of product per its weight. Lot of people forget this so check it first.

After the purchase you will receive e-mail with your account information – it’s subject is Your MechComp account has been created!. With the username and password from the e-mail you will go to https://mechcomp.cz/my-account/ and login with the credentials.

In the Downloads section you will find the plug-in file. Download it to some location where you can easily find it.

In the section My licences you will find the licence key for the plug-in. Copy this key with CTRL+V. Both of those information can also be found in the e-mail with subject Your MechComp order is now complete.

In the next step you need to go into section Plugins -> Add new in the site where you want to install the plug-in. There click on Upload plugin.

Browse for the file downloaded earlier and click Install now.

After the installation and activation of the plug-in find it in the Plugins section and there you should see that the plugin licence is not activated and button Activate licence. Click it and this will take you to general settings of the plug-in.

Paste the licence key into the field Licence key and click Activate. And now your plug-in should be fully functional.

Whenever there is a new plugin update, you need to perform update task manually.

First step is to make sure that you have the setting Delete settings on uninstall unchecked. The plugin will be uninstalled during the process and if you have it checked you will lose all your plugin settings including product settings regarding Sell by Weight. You will find the setting under general settings of the plugin.

Then you have to disable the plugin.

Then you will delete the plugin.

Afterwards you will continue same way as if you’re installing the plugin for the first time.

In the next step you need to go into section Plugins -> Add new in the site where you want to install the plug-in. There click on Upload plugin.

Browse for the file downloaded earlier and click Install now.

After the installation just activate the plugin again.

Within 14 days from the purchase, you can get a money return on your first purchase of the plugin. The only thing needed from you is to deactivate the licence first. Then send an e-mail to [email protected] and I will do a money return for you. This is a limited offer on the first purchase of the plug-in.

Go to General settings of the plugin – WooCommerce -> Settings -> Products -> Price per Unit PRO under Licence key is button Deactivate. Press the button and wait for the message about successful deactivation.

If the additional row is too big or too small you can try to check the setting New row different styling in general settings of the plugin.

This setting adds the following code to the page:

.woocommerce .product .price .mcmp_recalc_price_row, .woocommerce .product .price .mcmp_recalc_price_row .amount{
    font-size: 0.9em !important;
    font-style: italic;
}

If the look still doesn’t suits your needs you can copy this code, change it as you wish and add it to your site.

If you’re not familiar with CSS and entering it into the system I can recommend plug-in Simple Custom CSS and JS which can make it easier for you.

Changelog

26.3.2024

– New feature – Ability to change Shop page behavior in Quick and Bulk editor
– New feature – Ability to change Single product behavior in Quick and Bulk editor
– Change – compatibility with WooCommerce 8.7.0
– Change – compatibility with WordPress 6.4.3

2.2.4

26.3.2024

– New feature – Ability to change Shop page behavior in Quick and Bulk editor
– New feature – Ability to change Single product behavior in Quick and Bulk editor
– Change – compatibility with WooCommerce 8.7.0
– Change – compatibility with WordPress 6.4.3

2.2.4

20.11.2023

– New feature – New Updates system – it is now possible to get updates directly in the backend of your site
– Change – compatibility with WooCommerce 8.3.1
– Change – compatibility with WordPress 6.4.1

2.2.3

20.11.2023

– New feature – New Updates system – it is now possible to get updates directly in the backend of your site
– Change – compatibility with WooCommerce 8.3.1
– Change – compatibility with WordPress 6.4.1

2.2.3

9.10.2023

– New feature – WooCommerce HPOS compatibility
– Change – compatibility with WooCommerce 8.1.1
– Change – compatibility with WordPress 6.3.1

2.2.2

9.10.2023

– New feature – WooCommerce HPOS compatibility
– Change – compatibility with WooCommerce 8.1.1
– Change – compatibility with WordPress 6.3.1

2.2.2

9.10.2023

– New feature – Compatibility with B2BKing wholesale plugin
– New feature – option for displaying PPU price on Order review (by default turned off)
– Improvement – better support for single product page behavior
– Improvement – added two new units – bottle, set

2.2.1

9.10.2023

– New feature – Compatibility with B2BKing wholesale plugin
– New feature – option for displaying PPU price on Order review (by default turned off)
– Improvement – better support for single product page behavior
– Improvement – added two new units – bottle, set

2.2.1

3.1.2023

– New feature – YITH WooCommerce Dynamic Pricing and Discounts – Display PPU price in quantity tables
– Improvement – new approach to database upgrades
– Change – code refactoring
– Change – compatibility with WooCommerce 7.2.2
– Change – compatibility with WordPress 6.1.1

2.2.0

3.1.2023

– New feature – YITH WooCommerce Dynamic Pricing and Discounts – Display PPU price in quantity tables
– Improvement – new approach to database upgrades
– Change – code refactoring
– Change – compatibility with WooCommerce 7.2.2
– Change – compatibility with WordPress 6.1.1

2.2.0

15.8.2022

– Bug-fix – When Decimal separator is set to different value than “.” in some cases PPU prices are incorrect.
– Improvement – added Slovak translation – thanks to Peter Šuranský

2.1.9

15.8.2022

– Bug-fix – When Decimal separator is set to different value than “.” in some cases PPU prices are incorrect.
– Improvement – added Slovak translation – thanks to Peter Šuranský

2.1.9

14.6.2022

– Improvement – Improved performance on variable products.
– Improvement – New filter with ability to hide all fronted elements programmatically – mcmp_ppu_process_front_end
– Improvement – Better compatibility with plugin YITH WooCommerce Dynamic Pricing and Discounts
– Change – hooks for processing price are loaded on after_setup_theme hook
– Change – added CSS class mcmp_recalc_price
– Change – compatibility with WooCommerce 6.5.1
– Change – compatibility with WordPress 6.0.0

2.1.8

14.6.2022

– Improvement – Improved performance on variable products.
– Improvement – New filter with ability to hide all fronted elements programmatically – mcmp_ppu_process_front_end
– Improvement – Better compatibility with plugin YITH WooCommerce Dynamic Pricing and Discounts
– Change – hooks for processing price are loaded on after_setup_theme hook
– Change – added CSS class mcmp_recalc_price
– Change – compatibility with WooCommerce 6.5.1
– Change – compatibility with WordPress 6.0.0

2.1.8

24.2.2022

– Bug-fix – Plugin YITH WooCommerce Dynamic Pricing and Discounts versions 3.0.0 and later are fully supported again.

2.1.7

24.2.2022

– Bug-fix – Plugin YITH WooCommerce Dynamic Pricing and Discounts versions 3.0.0 and later are fully supported again.

2.1.7

24.2.2022

– Bug-fix – Critical error with YITH WooCommerce Dynamic Pricing and Discounts version 3.0.0 – quick fix – removal of version 3 compatibility

2.1.6

24.2.2022

– Bug-fix – Critical error with YITH WooCommerce Dynamic Pricing and Discounts version 3.0.0 – quick fix – removal of version 3 compatibility

2.1.6

7.1.2022

– New feature – Added support for Plug-in MyIntegrator – MYOB Exo
– Improvement – speed optimization for variable products
– Change – compatibility with WooCommerce 6.0.0
– Bug-fix – few small bug fixes

2.1.5

7.1.2022

– New feature – Added support for Plug-in MyIntegrator – MYOB Exo
– Improvement – speed optimization for variable products
– Change – compatibility with WooCommerce 6.0.0
– Bug-fix – few small bug fixes

2.1.5

1.7.2021

– Improvement – Possible to display General suffix text on selected variations
– Improvement – added Spanish translation – thanks to Noé Moreno
– Improvement – added French translation – thanks to Philrom Kolipré and vermander

2.1.4

1.7.2021

– Improvement – Possible to display General suffix text on selected variations
– Improvement – added Spanish translation – thanks to Noé Moreno
– Improvement – added French translation – thanks to Philrom Kolipré and vermander

2.1.4

26.4.2021

– Bug-fix – YITH WooCommerce Dynamic Pricing and Discounts – PPU prices discount was doubled in new version of YITH plugin.
– Bug-fix – Custom units check against non-numeric values.
– Bug-fix – jQuery functions update.

2.1.3

26.4.2021

– Bug-fix – YITH WooCommerce Dynamic Pricing and Discounts – PPU prices discount was doubled in new version of YITH plugin.
– Bug-fix – Custom units check against non-numeric values.
– Bug-fix – jQuery functions update.

2.1.3

9.3.2021

– Improvement – Improved RTL languages support
– Improvement – Better WPML support – custom units and suffixes are registered as WPML strings
– Improvement – Performance optimization for variable products.
– Bug-fix – Prefix separated from the text, disappeared.

2.1.2

9.3.2021

– Improvement – Improved RTL languages support
– Improvement – Better WPML support – custom units and suffixes are registered as WPML strings
– Improvement – Performance optimization for variable products.
– Bug-fix – Prefix separated from the text, disappeared.

2.1.2

25.1.2021

– New feature – Added support for YITH WooCommerce Dynamic Pricing and Discounts
– New feature – Variable products – corresponding PPU prices. When this plugin calculates PPU prices for variable products it displays them from lowest to highest. With the new setting you will be able to display the recalculated prices in accord with the prices for the displayed variation.
– Change – WooCommerce stopped showing sale prices in Cart. Price per Unit plugin stopped doing so too. However, there is a checkbox, which allows you to display the PPU price exactly as it did before.
– Improvement – added Italian translation – thanks to Lorenzo Rota Sperti for his quick and dedicated work.
– Bug-fix – there was a bug in last version which caused a critical error in the frontend, when the licence wasn’t entered. This version fixed the bug.

2.1.1

25.1.2021

– New feature – Added support for YITH WooCommerce Dynamic Pricing and Discounts
– New feature – Variable products – corresponding PPU prices. When this plugin calculates PPU prices for variable products it displays them from lowest to highest. With the new setting you will be able to display the recalculated prices in accord with the prices for the displayed variation.
– Change – WooCommerce stopped showing sale prices in Cart. Price per Unit plugin stopped doing so too. However, there is a checkbox, which allows you to display the PPU price exactly as it did before.
– Improvement – added Italian translation – thanks to Lorenzo Rota Sperti for his quick and dedicated work.
– Bug-fix – there was a bug in last version which caused a critical error in the frontend, when the licence wasn’t entered. This version fixed the bug.

2.1.1

12.1.2021

– New feature – Added support for WooCommerce Product Table Version PRO 2.1.0 and newer
– New feature – Possibility to change PPU elements basic CSS classes.
– Bug-fix – Disabled creating general additional texts on empty prices.

2.1.0

12.1.2021

– New feature – Added support for WooCommerce Product Table Version PRO 2.1.0 and newer
– New feature – Possibility to change PPU elements basic CSS classes.
– Bug-fix – Disabled creating general additional texts on empty prices.

2.1.0

13.11.2020

– New feature – Experimental – Sorting of products by Price per Unit on front-end. Product without price per unit are treated as if PPU price is equal to zero.
– New feature – Price per Unit can be displayed on order detail in back-end. Warning – this price will change in old orders if you change used weight or units.
– Improvement – Variable product’s recalculation for selected variations can also replace the original price.
– Bug-fix – Variable products with flat price in WooCommerce don’t display price on selected variant. Price per Unit now doesn’t display in this case neither.

2.0.9

13.11.2020

– New feature – Experimental – Sorting of products by Price per Unit on front-end. Product without price per unit are treated as if PPU price is equal to zero.
– New feature – Price per Unit can be displayed on order detail in back-end. Warning – this price will change in old orders if you change used weight or units.
– Improvement – Variable product’s recalculation for selected variations can also replace the original price.
– Bug-fix – Variable products with flat price in WooCommerce don’t display price on selected variant. Price per Unit now doesn’t display in this case neither.

2.0.9

– New feature – Experimental – Price per unit prices are now saved in the meta for later use. Meta names: _mcmp_ppu_price, _mcmp_ppu_price_text.
– New feature – Columns in products list on back-end displaying new meta.
– Bug-fix – price per unit with tax in cart can be displayed improperly in some cases.

2.0.8

– New feature – Experimental – Price per unit prices are now saved in the meta for later use. Meta names: _mcmp_ppu_price, _mcmp_ppu_price_text.
– New feature – Columns in products list on back-end displaying new meta.
– Bug-fix – price per unit with tax in cart can be displayed improperly in some cases.

2.0.8

26.6.2020

– New feature – Variable products can now have recalculation displayed only for selected variants

2.0.7

26.6.2020

– New feature – Variable products can now have recalculation displayed only for selected variants

2.0.7

– New feature – New approach to custom units – now you can use custom units which will cooperate with automatic text
– New feature – Modified units are now displayed on product detail – general settings – Display modified units info on product details
– Improvement – Extended internationalization through PO files (can be managed through Loco translate)– Bug-fix – Improper price display with taxes

2.0.6

– New feature – New approach to custom units – now you can use custom units which will cooperate with automatic text
– New feature – Modified units are now displayed on product detail – general settings – Display modified units info on product details
– Improvement – Extended internationalization through PO files (can be managed through Loco translate)– Bug-fix – Improper price display with taxes

2.0.6

12.5.2020

– Bug-fix – Improper price display with taxes

2.0.5

12.5.2020

– Bug-fix – Improper price display with taxes

2.0.5

7.5.2020

– New feature– Added option to replace price with recalculated in Cart – located in General options – Cart page behavior
– Bug-fix – “Variations – prefix for variable price” not visible for replaced row
– Improvement– WooCommerce 4.1.0 compatibility check

2.0.4

7.5.2020

– New feature– Added option to replace price with recalculated in Cart – located in General options – Cart page behavior
– Bug-fix – “Variations – prefix for variable price” not visible for replaced row
– Improvement– WooCommerce 4.1.0 compatibility check

2.0.4

30.3.2020

– Bug-fix – Fixed info messages in admin for WooCommerce 4.0.1

2.0.1

30.3.2020

– Bug-fix – Fixed info messages in admin for WooCommerce 4.0.1

2.0.1

25.3.2020

– New feature– Added option to trim recalculated prices instead of rounding
– New feature– Added recalculated price prefix
– Improvement– Security hardening – complete revision of the code to comply with the latest WordPress security recommendations

2.0.0

25.3.2020

– New feature– Added option to trim recalculated prices instead of rounding
– New feature– Added recalculated price prefix
– Improvement– Security hardening – complete revision of the code to comply with the latest WordPress security recommendations

2.0.0

6 Comments

  1. [email protected] May 26, 2022 at 10:35 pm

    Hi Martin,
    Is there a way to show the actual unit of the product as well next to the unit price per pro. I.e.:

    Unit: 2l
    Price per unit: 2$/l

    Thanks for your reply.

    1. Martin June 1, 2022 at 6:12 pm

      The information you’re looking for is on “Additional information” tab. The setting responsible for displaying this info is “Display modified units info on product details”. After unchecking this, the information will disappear.

  2. Pitshou Kalombo September 24, 2020 at 3:13 pm

    Hi.
    I would like to change domain and use my live domain. How do I do that?

    1. Martin September 25, 2020 at 8:11 pm

      Hi,
      it’s easy – to use the licence on some other domain you need to deactivate the licence on the first domain, then you can use it on another.

      The instruction how to deactivate the licence is the same as in here https://mechcomp.cz/price-per-unit-pro/#faq-money-return

  3. Gabriel burciu August 20, 2020 at 2:13 pm

    Hi Martin,

    I’m setting up your plugin but I find it kind of difficult to set it up properly. Is there a tutorial or examples with how to set it up in the backend ?

    Also I’m updating my products by uploading a csv file into woocommerce every now and then with the updated products list. I cannot however find where the extra information from your plugin is in the woocommerce csv file I download from the website. Thanks

    1. Martin August 21, 2020 at 11:23 am

      Hi Gabriel,

      in here you can find examples with pictures of how to set up the products. Hope this helps.

      As of now the plugin calculates the price per unit only when the product is displayed and it’s not saved anywhere – so you can’t get it in your export. But I’m working on a version which will have this feature implemented.

      If you have any question don’t hesitate to ask. But I prefer to do this over the e-mail, which is on the bottom of the page.

Leave a Reply

has been added to the cart. View Cart