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

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

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

Pick your version

Single e-shop

Suitable for individual e-shop owners
1 site
1 year of updates
14 days moneyback guarantee
20 USD per site
20 USD

Small busines

Suitable for small business owning several e-shops
3 sites
1 year of updates
14 days moneyback guarantee
12 USD per site
36 USD

Developer

Suitable for developers working for several companies
10 sites
1 year of updates
14 days moneyback guarantee
7 USD per site
70 USD

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. 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.

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

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

– 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
– WooCommerce 4.1.0 compatibility check

2.0.4

7.5.2020

– 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
– WooCommerce 4.1.0 compatibility check

2.0.4

30.3.2020

– Fixed info messages in admin for WooCommerce 4.0.1

2.0.1

30.3.2020

– Fixed info messages in admin for WooCommerce 4.0.1

2.0.1

25.3.2020

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

2.0.0

25.3.2020

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

2.0.0

4 Comments

  1. 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. 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

  2. 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. 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