Title: Product Fields, Addons and Price Calculator for WooCommerce
Author: Krzysztof Piątkowski
Published: <strong>2022 年 4 月 9 日</strong>
Last modified: 2024 年 4 月 29 日

---

搜尋外掛

![](https://ps.w.org/wc-kalkulator/assets/banner-772x250.png?rev=2707504)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/wc-kalkulator/assets/icon-256x256.gif?rev=2767665)

# Product Fields, Addons and Price Calculator for WooCommerce

 由 [Krzysztof Piątkowski](https://profiles.wordpress.org/wckalkulator/) 開發

[下載](https://downloads.wordpress.org/plugin/wc-kalkulator.1.6.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wc-kalkulator/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wc-kalkulator/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/wc-kalkulator/#developers)

 [技術支援](https://wordpress.org/support/plugin/wc-kalkulator/)

## 外掛說明

**WC Kalkulator (WCK)** is a WordPress plugin which extends the WooCommerce to use
custom extra fields with products and orders.
 Extra product fields can be used 
to calculate product price and save information in order details.

 * Absolutely **FREE plugin** with **PRO features**
 * **23 field types** to get customer input
 * Price calculation based on **formula**, **conditional expression** or **price
   add-ons** (product addons).

If you appreciate my work – [Buy me a Coffee](https://www.buymeacoffee.com/piatkowski)
or [Donate via PayPal](https://www.paypal.com/donate/?hosted_button_id=5DNZK72H5YCBY)

Sell products by anything. You are not limited to sell only by length, area, volume,
etc. **You decide how the prices will be calculated.** WooCommerce Product Fields
and Price Calculator plugin allows **full freedom** to define fields and formulas
for calculating custom price. You can create a personalized product in your store.

### Documentation

 * Documentation @ [wckalkulator.com](https://wckalkulator.com)
 * GitHub @ [github.com/piatkowski](https://github.com/piatkowski/wckalkulator)

### 22 Field Types (ALL FREE)

    ```
    1.  Attachment (URL/File)
    2.  Checkbox
    3.  Multi checkbox (group)
    4.  Color Picker
    5.  Color Swatches
    6.  Date Picker
    7.  Date Range Picker
    8.  Dropdown
    9.  E-mail input
    10. Heading
    11. Hidden
    12. HTML
    13. Image Select
    14. Image Swatches
    15. Link   
    16. Number
    17. Paragraph
    18. Radio
    19. Select
    20. Textarea
    21. Text input
    22. Image upload
    23. Formula Value
    ```

= =

### Definitions

 * **Field** – is used to get user’s input on the woocommerce product page. Custom
   Field can be used to calculate the price (is used in formula)
 * **Fieldset** – store manager can create the fieldset (set of custom product fields)
   which consists of different **Fields**. Fieldset must have at least one **Field**
   and the expression (formula) to calculate the product price
 * **Expression/Formula** – mathematical and/or logical expression using to calculate
   the woocommerce custom price. The expression can be single-line, conditional 
   price addons (product addons). **Expression** is protected and calculated only
   server-side.
 * **Validation** – each **Field** has specific requirements to be met. Incorrect
   values make it impossible to calculate the woocommerce custom price and add the
   product to the cart.
 * **Global Parameters** – are numeric variables which can be used in formulas across
   all fieldsets.

### Formula/Expression Builder

Use field’s values as variables to calculate product price. Drag&drop conditional
statements.
 You can use product addons to add extra price to the product regular
price.

### Price Add-Ons

Use custom fields to make Product Addons.

### Display Fields

Assign fields to products, categories or product tags. Include/exclude options.

Mass assignment.

### Validation

Each field has built-in validation tests on user input. You can define additional
conditions.

### Protected Formula

The price is calculated server-side only, so the Client can’t see exact expression.

### Advanced Customization

Field HTML templates can be overloaded in your theme file. Each field has CSS class
to set custom styles.

### Functions

You can use basic math functions in the formula. Fields such as Multi-checkbox, 
Date Picker, Date Range Picker has additional functions to get sum, min, max value
or get date, days between dates values as number.

### Global Parameters

You can define numeric variable across all fieldsets. You can modify all prices 
by global parameters.

### Cart

The customer can edit product options after adding to cart.

### Integration with ACF

You can use `acf('field_name')` function to get ACF field value in custom price 
formula.

### Compatibility

 * multisite mode is supported
 * product shortcodes
 * translation
 * virtual and variable products are supported
 * product regular and sale prices are supported
 * product tags and attributes
 * use product attributes in formulas
 * ACF supported

### More Features

 * define unlimited fieldsets with unlimited fields
 * fields are displayed in product page, cart and order details,
 * **expression builder**
 * define single-line expression to calculate the price
 * define unlimited conditional expressions to calculate the price
 * attach fieldset to: all products/catgories/tags, selected products/categories/
   tags
 * **supported variable products**
 * **supported multisite**
 * the plugin is translatable
 * every field has built-in validation tests
 * the product will be removed from user’s cart when shop manager updates the fieldset
   settings
 * **product shortcodes are supported**
 * **the formula is protected and will not be shown to the user** – the price is
   calculated only server-side
 * regular and sale price are supported
 * supported price filters
 * customizable HTML code of every field
 * HMTL template of every field can be overridden in a theme directory
 * static fields such as HTML, Heading, Paragraph, Hidden, Link, Attachment
 * math functions to use in the expression
 * additional functions for radio group, checkbox group (sum, max, min), range date
   picker (days between dated)
 * global parameters can be defined and used in formula
 * ability to edit product fields after from a cart

Full documentation at: [www.wckalkulator.com](https://wckalkulator.com)

## 螢幕擷圖

 * [[
 * [[
 * [[
 * [[
 * [[
 * [[
 * [[

## 使用者評論

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

### 󠀁[Good add-on](https://wordpress.org/support/topic/good-add-on-18/)󠁿

 [vappatunisia](https://profiles.wordpress.org/vappatunisia/) 2025 年 9 月 18 日

Recommend this app to add another layer of products customizing.

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

### 󠀁[Fantastic!](https://wordpress.org/support/topic/fantastic-3423/)󠁿

 [windoo](https://profiles.wordpress.org/windoo/) 2025 年 5 月 5 日

Great work, thanks so much, it provides so many options, keep up!

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

### 󠀁[no support or updates, website redirects to dangerous site](https://wordpress.org/support/topic/no-support-or-updates-so-cant-use/)󠁿

 [french2webdesign](https://profiles.wordpress.org/french2webdesign/) 2025 年 4 
月 8 日

This plugin looks promising in the beginning. However I see the author does not 
answer any support requests the last year. He also does not update the plugin. So
this means that this plugin is probably abandoned, and not futur-proof. If I get
a proof-of-support, I change my rating to 5 stars and I will support the author.
When I want to visit his website he mentioned for support, I get a Norton Anti-Virus
warning for dangerous page redirect…

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

### 󠀁[No one give like this for free](https://wordpress.org/support/topic/no-one-give-like-this-for-free/)󠁿

 [vinofolder](https://profiles.wordpress.org/vinofolder/) 2025 年 3 月 21 日

I really thank you for this plugin; it has simplified the complicated products on
my website.

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

### 󠀁[Super product fields support!](https://wordpress.org/support/topic/super-product-fields-support/)󠁿

 [anavrin79](https://profiles.wordpress.org/anavrin79/) 2025 年 3 月 13 日

Super plugin! Does exactlly what the name says. Can add useful fields and add any
price calculation.

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

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-9235/)󠁿

 [mpst](https://profiles.wordpress.org/mpst/) 2024 年 7 月 19 日

Excellent plugin, with great capabilities once you get to know it better

 [ 閱讀全部 46 則使用者評論 ](https://wordpress.org/support/plugin/wc-kalkulator/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Product Fields, Addons and Price Calculator for WooCommerce〉
的開發相關工作。

參與者

 *   [ Krzysztof Piątkowski ](https://profiles.wordpress.org/wckalkulator/)

〈Product Fields, Addons and Price Calculator for WooCommerce〉外掛目前已有 1 個
本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/wc-kalkulator/contributors)
為這個外掛做出的貢獻。

[將〈Product Fields, Addons and Price Calculator for WooCommerce〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wc-kalkulator)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wc-kalkulator/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/wc-kalkulator/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wc-kalkulator/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wc-kalkulator/)。

## 變更記錄

2022-09-27 v.1.6.1
 – fixed issue with color picker

2022-09-26 v.1.6.0
 – image file upload bug fixes – conditional visibility works
with static fields (html, paragraph) – added support for {image:size} in HTML field’s
content (for example: {={image:size}} MB) – display calculated product price in 
the cart widget (cart popup) – new parameter: product_is_on_sale to use in formula–
added parameters to js dynamic formula in HTML field – added placeholder for select
and dropdown fields – bug fixed: incorrect value of the image swatch in the cart

v.1.5.5-1.5.7
 – bug fixes

2022-08-21 v.1.5.4
 – add option to show Price Block before or after “Add to cart”
button – bug fixes

2022-08-16 v.1.5.2, v.1.5.3
 – image upload bug fix – option to display text before
or after field’s title

2022-08-11 v.1.5.0
 – fieldset’s options (toggle default price blocks) – new field:
formula value – make fields required: always/only if visible/not required – if the
field is hidden, default value will be 0 – you can assign numeric value to the WC
Product Attributes and use it in a formula – added ACF integration. You can use 
ACF field value in a formula – you can use custom JavaScript code – bug fixes

2022-07-23 v.1.4.6
 – added is_selected() function – bug fixes in multi checkbox

2022-07-23 v.1.4.5
 – conditional visibility support for multi checkbox

2022-07-23 v.1.4.4
 – bug fixes

2022-07-23 v.1.4.3
 – bug fixes

2022-07-22 v.1.4.1, 1.4.2
 – bug fixes

2022-07-21 v.1.4.0
 – new formula builder – apply filters on td elements in field’s
templates – new assignment type: product attribute – more columns on fieldset table–
toggle button to publish/unpublish fieldsets quickly – support for stock management
and stock reduction multiplier – layouts feature – you can choose one or two column
layout – conditional visibility (set rules to show/hide fields) – bug fixes

2022-07-11 v.1.3.3
 – Bug fixed: str_replace on array – Bug fixed: missing numberposts
argument on get_posts()

2022-07-07 v.1.3.2
 – added support for array and json objects in global parameters

2022-07-06 v.1.3.1
 – new variables to get product’s weight, width, height, length–
new variable to determine if current visitor is logged in – upload path settings

2022-07-05 v 1.3.0
 – new calculation mode – Price Add-ons – you can use formulas
in HTML/Paragraph field, for example: {={field_a}*{field_b}/100} – Image upload 
field added – you can use file size parameter in expressions – cron jobs to keep
uploaded files clean – strlen() function added to expressions – it returns text 
length – Settings page added – you can define custom product form selector, you 
can toggle error messages for admin/manager

2022-06-15 v.1.2.3

 * issue with ajax form serialization has been fixed

2022-06-14 v.1.2.2

 * add notices

2022-06-13 v.1.2.1

 * fixed issue with price calculation

2022-06-13 v.1.2.0

 * New fields: image select, image swatches, color swatches, checkbox group (multicheckbox),
   HTML, Heading, Paragraph, Hidden, Link, Attachment
 * Math functions to use in the expression
 * Additional functions for radio group, checkbox group (sum, max, min), range date
   picker (days between dated)
 * Global parameters can be defined and used in formula
 * Assign fieldset to product’s tags
 * Customer can edit cart item
 * text field has new option: pattern (regexp)
 * bug fixes

2022-06-03 v.1.1.3

 * bug fixes on ajax calls

2022-05-08 v.1.1.2

 * Added new fields: email, radio
 * fixed field builder (js script issue)
 * fixed typo in HTML code for dropdown and select fields

2022-04-20 v.1.1.1

 * Bug fix

2022-02-18 v.1.1.0

 * custom fields (fieldset) post type
 * assign the fieldset to products/categories on the fieldset\’s edit page
 * added a price option to all fields
 * new edit page
 * added the priority option to fieldsets
 * field’s template can be overrided in your theme folder
 * performance fixes
 * bug fixes

2022-01-20 v.1.0.0

 * Initial release

## 中繼資料

 *  版本 **1.6.1**
 *  最後更新 **2 年前**
 *  啟用安裝數 **1,000+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.5.8**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/wc-kalkulator/) 及 [Russian](https://ru.wordpress.org/plugins/wc-kalkulator/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/wc-kalkulator)
 * 標籤
 * [woocommerce custom fields](https://tw.wordpress.org/plugins/tags/woocommerce-custom-fields/)
   [woocommerce custom price field](https://tw.wordpress.org/plugins/tags/woocommerce-custom-price-field/)
   [WooCommerce product fields](https://tw.wordpress.org/plugins/tags/woocommerce-product-fields/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wc-kalkulator/advanced/)

## 評分

 4.9 星，滿分為 5 星

 *  [  44 個 5 星使用者評論     ](https://wordpress.org/support/plugin/wc-kalkulator/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/wc-kalkulator/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/wc-kalkulator/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/wc-kalkulator/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/wc-kalkulator/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wc-kalkulator/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wc-kalkulator/reviews/)

## 參與者

 *   [ Krzysztof Piątkowski ](https://profiles.wordpress.org/wckalkulator/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wc-kalkulator/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/donate/?hosted_button_id=5DNZK72H5YCBY)