
內容簡介
Contact Form 7成本計算器是一個乾淨、簡單的報價/項目價格/估算外掛,允許您輕鬆地為WordPress網站創建價格估算聯繫表單7。
如何運作
外掛標籤
開發者團隊
② 後台搜尋「Cost Calculator for Contact Form 7」→ 直接安裝(推薦)
原文外掛簡介
Cost Calculator for Contact Form 7 turns any Contact Form 7 form into a quote, estimate or price calculator. Add priced options, then build the total with a visual formula builder and see the result live while you edit.
Features
Visual Formula Builder – pick a template, click or drag fields, add operators and functions. Switch to text mode at any time.
Live preview – try the formula with sample values before you save.
Unlimited totals – add as many Calculated fields as you need. A total can use another total (subtotal, tax, grand total).
Number & currency format – symbol and position, thousand and decimal separators, decimals. Presets for $, €, £, ₫, ¥ and ₹.
Hide a total – keep a subtotal off the form but still calculate it and send it by email.
Totals in emails – use [your-total] in the Mail tab; it is sent formatted.
Priced fields – Checkbox, Radio and Dropdown fields with “value|label” options. Contact Form 7 number, select, radio and checkbox fields work too.
Formulas box – see and edit every formula from the editor sidebar.
Safe evaluation – formulas are parsed by the plugin, never with eval().
Formula syntax
Operators: + - * / and brackets ( )
Functions: round(), ceil(), floor(), abs(), min(a, b), max(a, b)
Example: quantity * unit_price + shipping
Source code
The admin interface is built with Vue 3. The uncompressed source is included in the formula-builder folder; build it with npm install && npm run build.
