Title: Price Per Unit for WooCommerce
Author: Martin Mechura
Published: <strong>8 می 2017</strong>
Last modified: 12 آگوست 2025

---

جستجوی افزونه‌ها

![](https://ps.w.org/woo-price-per-unit/assets/banner-772x250.png?rev=2269396)

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://ps.w.org/woo-price-per-unit/assets/icon-256x256.png?rev=2269371)

# Price Per Unit for WooCommerce

 توسط [Martin Mechura](https://profiles.wordpress.org/mechuram/)

[دانلود](https://downloads.wordpress.org/plugin/woo-price-per-unit.2.2.6.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/woo-price-per-unit/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/woo-price-per-unit/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/woo-price-per-unit/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/woo-price-per-unit/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/woo-price-per-unit/)

## توضیحات

This is an extension for WooCommerce which will help you to sell products where 
can be important for the customer to know how much a weight unit costs.
 For example
when selling food. Price is recalculated per weight and then shown according to 
your liking. The rules can be set store-wide or just for certain products. **Main
function of the plug-in is, that it takes the price of your product and divides 
this price by its weight, this is then displayed to your liking**

### Another Must-Have Plugin: Sell by Weight PRO

This plug-in allows you to sell easily products, where you want to have several 
weight option to sell at the same price for kilogram.
 It works in a similar way
as Variable products, but it is easier to manage because you will enter the price
only once and the options price is calculated automatically.

More info here – [Sell by Weight PRO](https://mechcomp.cz/sell-by-weight-pro/)

### New plug-in available – Unit Based Stock PRO

Manage your stock in Weight units!

Handle inventory in weight units – a capability unprecedented in WooCommerce, which
traditionally manages stock solely based on purchased quantity.
 Supports decimal
values for stock inventory as well.

More info here – [Unit Based Stock PRO](https://mechcomp.cz/unit-based-stock-pro/)

### PRO version available

[Price per Unit PRO](https://mechcomp.cz/price-per-unit-pro/)

**PRO version features:**

 * Single product settings – possibility to set the settings for each product individually
   and override the general settings
 * Better variations support – The variation shows price per unit after selecting.
 * It’s possible to enter custom number of units(for example kilograms) which is
   different from the weight – for the purpose you sell products with packing and
   you need to display recalculation for net weight and at the same time you need
   to keep gross weight for shipping purposes
 * This feature can now also be entered differently for separate variations on variable
   products
 * Change of recalculation per different unit (keeps the original weight, but shows
   the price per new unit)
 * Recalculation ratio – multiplies the price with this ratio – work for example
   if you want to show price per 100 grams (if you have shop in kg you enter 0.1)

**Description**

This is an extension for WooCommerce which will help you to sell products where 
can be important for the customer to know how much a weight unit costs.
 For example
when selling food. Price is recalculated per weight and then shown according to 
your liking. The rules can be set store-wide or just for certain products. **Main
function of the plug-in is, that it takes the price of your product and divides 
this price by its weight, this is then displayed to your liking**

### Important notice

**This plug-in works only if you have weight set on the product. This is independent
setting used for shipping purposes.**

**You can find it here:**
 Products->All products->some of your products->Shipping-
>Weight

**For variable products with different weight of variations:**
 Products->All products-
>some of your products->Variations->some variation->Weight

**Recalculated price can be shown**

 * Instead of original price
 * As a new row after original price

You can also add some text after recalculated price for example “/Kg”
 Price is 
recalculated only when the weight is set on the product.

**There are also two different settings depending on viewed page**

 * Settings for store page
 * Settings for single product page

**This plug-in can do also some other customization to the appearance of the price**

 * Additional custom text for all prices
 * You can hide original price when product is on sale
 * Additional custom text for variations
 * You can hide maximum price for variable products

Plug-in is compatible with WooCommerce versions from 3.0.0 to 4.0.x

**There are two sets of settings**

**General settings** – which will affect every product in the store
 It is located
under WooCommerce -> Settings -> Products -> Price Per Unit **Single product settings**–
affects just single product, can also override general settings It is located in
product editor – tab Price Per Unit

## عکس‌های صفحه

[⌊General options - those settings will affect all products⌉⌊General options - those
settings will affect all products⌉[

General options – those settings will affect all products

[⌊Important setting - for this plug-in to work the weight of the product needs to
be set⌉⌊Important setting - for this plug-in to work the weight of the product needs
to be set⌉[

Important setting – for this plug-in to work the weight of the product needs to 
be set

[⌊Single product page with recalculated price as new row⌉⌊Single product page with
recalculated price as new row⌉[

Single product page with recalculated price as new row

[⌊Example of shop page with different overrides. Recalculated price replaced original
one, recalculated price as new row, no recalculation at all.⌉⌊Example of shop page
with different overrides. Recalculated price replaced original one, recalculated
price as new row, no recalculation at all.⌉[

Example of shop page with different overrides. Recalculated price replaced original
one, recalculated price as new row, no recalculation at all.

[⌊Store with recalculation set for all products⌉⌊Store with recalculation set for
all products⌉[

Store with recalculation set for all products

## نصب

 1. Install and activate the plug-in in your WordPress dashboard by going to Plug-ins-
    > Add New.
 2. Search for “Price Per Unit for WooCommerce” to find the plug-in.
 3. When you see Price Per Unit for WooCommerce, click “Install Now” to install the
    plug-in.
 4. Click “Activate” to activate the plug-in.

## سوالات متداول

### Is it possible to set recalculation just for one product?

Yes. You have to go to product editor, tab Price per unit and set an override to
the rule you want. It works then even despite the global settings is turned off.

### I have recalculation on, but the price seems untouched. What’s wrong?

Recalculated price is shown only when the recalculation takes place. That means 
if you don’t have the weight set on the product, nothing happens to the price. Make
sure you have weight set.

### I want to use only other features, not recalculation. Is it necessary to have recalculation on?

No. Some features are independent on recalculation, you will find them as “General
price options” and “Options for variable products” those settings are store wide–
they will affect all products.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/e44d017256488614fe23753b0db94cadb37088856241423ceee37148914fbee5?
s=60&d=retro&r=g)

### 󠀁[useful plugin 👏](https://wordpress.org/support/topic/useful-plugin-%f0%9f%91%8f/)󠁿

 [David Klhufek](https://profiles.wordpress.org/brtak/) 11 دسامبر 2024

nice work

![](https://secure.gravatar.com/avatar/35daee1660fe0250f97c87bd8ac86bc46d0a09d114b00363f0d51af705480972?
s=60&d=retro&r=g)

### 󠀁[Elementor](https://wordpress.org/support/topic/elementor-232/)󠁿

 [standley2022](https://profiles.wordpress.org/standley2022/) 16 اکتبر 2024 2 پاسخ

Hello Why this plugin is not compatible with the single product page created with
Elementor?Guys, you are losing so many interested in this plugin. Elementor is being
used by 10M users..

![](https://secure.gravatar.com/avatar/f0ad724d10e4f37a4b2dba7826c1de84bd6934708dd2b03e047740b85ea3204d?
s=60&d=retro&r=g)

### 󠀁[Global?? Price per unit](https://wordpress.org/support/topic/global-price-per-unit/)󠁿

 [David Cuesta](https://profiles.wordpress.org/davidcuesta/) 7 دسامبر 2022 1 پاسخ

It has only support for all products at the same time. If you want to sell one product
per unit and other per kg, you cannot. Useless

![](https://secure.gravatar.com/avatar/1b5955b49ef40bc19c79cf6576478741ed055bf49eff7a0cdc51d60afec12632?
s=60&d=retro&r=g)

### 󠀁[too much limitation](https://wordpress.org/support/topic/too-much-limitation/)󠁿

 [benbon](https://profiles.wordpress.org/bonbonbillo/) 23 ژوئن 2021

not bad. but too much limited functions.

![](https://secure.gravatar.com/avatar/7cf53ab18656b97072e47cccabf02d7ba19e9585edc71f0378e6402858434378?
s=60&d=retro&r=g)

### 󠀁[Waste of time](https://wordpress.org/support/topic/waste-of-time-256/)󠁿

 [pjrfigueiredo](https://profiles.wordpress.org/pjrfigueiredo/) 22 ژانویه 2021 1
پاسخ

Waste of time installing it. It alerts to buy the pro version.

![](https://secure.gravatar.com/avatar/49df09fe80b31ee9cfd04f26a637ba189d6b9cc89ce3a6cafda8c24caab81a03?
s=60&d=retro&r=g)

### 󠀁[Totally Useless. Do not waste your time.](https://wordpress.org/support/topic/totally-useless-do-not-waste-your-time/)󠁿

 [gmucheru](https://profiles.wordpress.org/gmucheru/) 10 آگوست 2020 1 پاسخ

UPdate : The free version does the job but is very limited.

 [ خواندن تمامی 12 نقد و بررسی‌ ](https://wordpress.org/support/plugin/woo-price-per-unit/reviews/)

## توسعه دهندگان و همکاران

“Price Per Unit for WooCommerce” نرم افزار متن باز است. افراد زیر در این افزونه 
مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Martin Mechura ](https://profiles.wordpress.org/mechuram/)

“Price Per Unit for WooCommerce” به 1 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/woo-price-per-unit/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “Price Per Unit for WooCommerce” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/woo-price-per-unit)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/woo-price-per-unit/)،
[مخزن SVN](https://plugins.svn.wordpress.org/woo-price-per-unit/) را بررسی کنید،
یا از طریق [RSS](https://plugins.trac.wordpress.org/log/woo-price-per-unit/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/woo-price-per-unit/) مشترک
شوید.

## گزارش تغییرات

#### 2.2.6

 * Bug-fix – Legal changes

#### 2.2.4

 * New feature – Options on product detail to disable recalculation
 * Improvement – Variable products performance optimization
 * Bug-fix – small bugfixes
 * Improvement – HPOS compatibility
 * Improvement – Code refactoring
 * Compatibility with WooCommerce 8.8.3
 * Compatibility with WordPress 6.5.3

#### 2.0.9

 * Improvement – Warning displayed when no weight is set
 * Compatibility with WooCommerce 6.1.1
 * Compatibility with WordPress 5.9.0

#### 2.0.8

 * Bug-fix – Do not display additional text on empty price
 * Bug-fix – Division by zero in some rare circumstances
 * Scripts updated
 * RTL languages improvement
 * WPML configuration created
 * Compatibility with WooCommerce 5.6.0
 * Compatibility with WordPress 5.8.1

#### 2.0.7

 * Backward compatibility for recent bug-fix

#### 2.0.6

 * Bug-fix – In certain configurations price with taxes was displayed improperly
   in Cart

#### 2.0.5

 * Bug-fix – Improper price display with taxes

#### 2.0.4

 * Bug-fix – “Variations – prefix for variable price” not visible for replaced row

#### 2.0.3

 * New free version – due to huge changes in code(security hardening) the free version
   is created from scratch
 * For sake of easier parallel development of free and PRO version there is a change
   in free version approach
 * Removal – Single product settings removed
 * Paid feature released for free – display of recalculated price in Cart
 * New feature – automatic recalculation text

#### 2.0.1

 * Fixed info messages in admin for WooCommerce 4.0.1

#### 2.0.0

 * 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

#### 1.9.7

 * Code revision and rewrite

#### 1.9.5

 * Bug-fix – recalculated price was displayed on products with zero price

#### 1.9.4

 * New feature/bug-fix – displaying recalculate price on cart was influenced by 
   Shop page price behaviour – now it has option by itself
    The settings “Show if
   displayed on Shop page” and “Show if displayed on Single product page” take respective
   override from product settings Default setting is to show the text always

#### 1.9.3

 * New feature – Automatic recalculation text – it takes the weight unit from your
   shop settings and creates the text from it (example: /kg). Works together with
   other setting of this plug-in so it can create text for Different weight unit
   and also Custom number of units.
 * Added option to control the appearance of the price text
 * Added warning for no weight set(many people is asking why they don’t see the 
   recalculated price)

#### 1.9.2

 * Dropped support for WooCommerce pre 3.0

#### 1.9.1

 * Bug-fix – Settings automatically deleted on uninstall – now there is a setting
   in general options to delete on uninstall – caused troubles during manual update
   or upgrade to Pro version.

#### 1.9

 * New approach to entering additional text – predefined values

#### 1.8.1

 * Bug fix – “General price additional text” – not showing properly on recalculation

#### 1.8

 * Compatibility with WordPress 5.1

#### 1.7

 * Added Custom recalculation ratio for variations

#### 1.6

 * Added Custom recalculation ratio
 * Recalculated price can be shown also on variation selection
 * Translation fix
 * Core rewrite

#### 1.5

 * Plug-in is set to display recalculation for all products by default after installation.
   Doesn’t affect current installations.
 * Fixed compatibility with WooCommerce POS

#### 1.4

 * Fixed bug of improperly displayed price with TAX

#### 1.3

 * Added CSS class for whole new row. The class name is mcmp_recalc_price_row.
 * Added option for predefined styling of new row (off by default). New row will
   be in different size and italics.

#### 1.2

 * Improved handling of variable products. Now it works properly even with different
   weight on variations.
 * Added CSS classes for modification of additional texts appearance. Classes can
   be found in general settings help texts.

#### 1.1

 * Changed behaviour on variable products to conform with WooCommerce 3.x
 * Don’t show sale price on variable products

#### 1.0

 * Initial Release

## اطلاعات

 *  نگارش **2.2.6**
 *  آخرین به‌روزرسانی **1 سال پیش**
 *  نصب‌های فعال **1,000+**
 *  نگارش وردپرس ** 4.4 یا بالاتر **
 *  آزمایش‌شده تا **6.8.11**
 *  نگارش PHP ** 7.2 یا بالاتر **
 *  زبان‌ها
 * [Czech](https://cs.wordpress.org/plugins/woo-price-per-unit/) و [English (US)](https://wordpress.org/plugins/woo-price-per-unit/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/woo-price-per-unit)
 * برچسب
 * [price](https://fa.wordpress.org/plugins/tags/price/)[unit price](https://fa.wordpress.org/plugins/tags/unit-price/)
   [weight](https://fa.wordpress.org/plugins/tags/weight/)[woocommerce](https://fa.wordpress.org/plugins/tags/woocommerce/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/woo-price-per-unit/advanced/)

## امتیازها

 3.7 از 5 ستاره.

 *  [  امتیاز 6 5-ستاره     ](https://wordpress.org/support/plugin/woo-price-per-unit/reviews/?filter=5)
 *  [  امتیاز 2 4-ستاره     ](https://wordpress.org/support/plugin/woo-price-per-unit/reviews/?filter=4)
 *  [  امتیاز 1 3-ستاره     ](https://wordpress.org/support/plugin/woo-price-per-unit/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/woo-price-per-unit/reviews/?filter=2)
 *  [  امتیاز 3 1-ستاره     ](https://wordpress.org/support/plugin/woo-price-per-unit/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/woo-price-per-unit/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/woo-price-per-unit/reviews/)

## مشارکت کنندگان

 *   [ Martin Mechura ](https://profiles.wordpress.org/mechuram/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/woo-price-per-unit/)