HDWebmobile Formula Pricing
Price a product from customer-entered numbers using a formula -- evaluated safely, never with PHP's eval().
Solide Wahl
HDWebmobile Formula Pricing is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 12 hours ago, and scores 64/100 on our health check.
- Aktiv entwickelt – letztes Update vor 12 Stunden
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (<10 aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where HDWebmobile Formula Pricing stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| calculator | >100 |
| Custom Pricing | >100 |
| dynamic pricing | >100 |
| formula | #87 |
| WooCommerce | >100 |
About HDWebmobile Formula Pricing
Aus der offiziellen Readme · V1.0.1Beschreibung
HDWebmobile Formula Pricing lets customers enter measurements or quantities on the product page, and prices the product live from a formula you write using those field names (e.g. 10 + width * height * 0.05 for a custom-cut material priced by area). This is a common real need for stores selling custom-sized fabric, framed prints, engraved items, or anything priced by dimension or quantity, not just a flat number.
Security by design
The simplest way to implement formula-based pricing — passing the merchant’s formula text straight into PHP’s eval() at calculation time — is also the most dangerous: it turns any formula input into a remote code execution path. This plugin closes that entire vulnerability class by construction:
- The formula is tokenized character-by-character into a strict set of allowed pieces: numbers, your own configured field names, and the four arithmetic operators plus parentheses. Anything else in the formula text — any other letter sequence, any function-call-looking pattern, any special character — causes the formula to be rejected outright when you save it.
- The token stream is evaluated by a small hand-written arithmetic parser. There is no
eval(), nocreate_function(), no dynamic function dispatch of any kind anywhere in this plugin — the only operations that can ever run are addition, subtraction, multiplication, and division of plain numbers. - The customer-facing live price preview also never exposes your formula to the browser: it’s computed by an AJAX call back to your own server, through the exact same safe evaluator used at checkout, so the formula text itself is never sent to a visitor’s browser.
- The real price used at checkout is always recomputed server-side from the product’s own stored fields and formula — never trusted from what the browser submitted.
Hauptmerkmale
- Add up to 6 numeric input fields per product (label, variable name, min/max bounds, default value)
- Write a formula referencing those fields by name — validated for safety the moment you save it
- Live price preview on the product page as the customer types, computed server-side
- Optional minimum/maximum price clamps, so no combination of inputs can produce an unreasonable price
- Every field’s min/max bounds are enforced again server-side at add-to-cart time, not just in the browser
- Field values show on the cart, checkout, and order screens exactly as entered
Limitations (please read before installing)
- Simple products only in this version — no variable-product support
- Formulas support only +, -, *, /, and parentheses (no exponents, square roots, or conditional logic) — deliberately, since a richer grammar is a larger safety surface to get right
- No formula “test” button in the admin beyond the save-time validation — if a formula is rejected, the error message names exactly what’s wrong (an unknown variable, a bad character, division by zero with the values you tried)
- Requires a Regular Price to be set on the product (even a nominal placeholder) — this is standard WooCommerce behavior for any product with no price at all, not something this plugin can work around
Enjoying this plugin?
If it helps your site, please consider leaving an honest review on WordPress.org — it helps other WordPress users find it. Found a problem or have an idea? Please open a support topic first so it can be fixed.
Need help with your store?
This plugin is made by HD Web Mobile, a small WordPress and WooCommerce studio. If you’d like it set up or customised for your site, or your site has a speed, checkout or PHP update problem, there are fixed-price fixes and custom work. Questions about the plugin itself are always answered for free here in the support forum. To find out quickly when an update breaks your checkout, there is also Store Guardian, a paid plugin that places a test order every hour.
Wie man benutzt
1. Add your input fields
On a simple product’s “Formula Pricing” tab, click “+ Add Field” for each number the customer should enter (e.g. “Width in cm” with variable name width). Set a minimum, an optional maximum, and a default value for each.
2. Write the formula
In the Formula box, write an expression using your field names exactly as shown, e.g. 10 + width * height * 0.05. Save the product — if the formula uses anything other than your field names, numbers, and + - * / ( ), you’ll see exactly what’s wrong and the formula won’t be saved until it’s fixed.
3. What the customer sees
The product page shows your input fields above the Add to Cart button, with a live estimated price that updates as they type. The real price is confirmed the moment the product is actually added to the cart.
4. Keeping prices sane
Set an optional minimum and/or maximum price on the same tab — no matter what a customer enters (within their allowed field ranges), the final price is clamped to stay within those bounds.
Installation
- Laden Sie die Plugin-Dateien in das
/wp-content/plugins/hdwebmobile-formula-pricing-Verzeichnis hoch oder installieren Sie das Plugin über den WordPress-Plugin-Bildschirm direkt. - Activate the plugin through the ‘Plugins’ screen in WordPress. WooCommerce must already be installed and active.
- Edit a simple product, open its new “Formula Pricing” tab under Product Data, add your fields and formula.
- On the product’s “General” tab, set a Regular Price — WooCommerce hides the entire purchase form on a product with no price at all, even with formula pricing enabled, so enter at least a nominal placeholder amount (it will be overridden the moment a customer enters a value).
Änderungsprotokoll
1.0.1
- The WooCommerce > HDWebmobile Overview page now has a short introduction to Store Guardian, a separate paid plugin that test-buys from your checkout every hour. It is hidden once Store Guardian is active. No changes to this plugin’s own features.
1.0.0
- Initial release: per-product numeric input fields, safe formula evaluation via a hand-written tokenizer and recursive-descent parser (no eval()), server-side live price preview via AJAX, min/max price clamping, field values shown on cart/checkout/order screens.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best HDWebmobile Formula Pricing alternatives
All calculator plugins →Fragen und Antworten
HDWebmobile Formula Pricing: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is HDWebmobile Formula Pricing free?
Yes. HDWebmobile Formula Pricing is free to download and use from the official WordPress.org plugin directory.
Is HDWebmobile Formula Pricing safe to use in 2026?
HDWebmobile Formula Pricing is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 12 hours ago, and scores 64/100 on our health check.
How many websites use HDWebmobile Formula Pricing?
HDWebmobile Formula Pricing is active on <10 WordPress websites and has been downloaded 311 times since it launched in October 2026. It was downloaded 181 times in the last 30 days.
Does HDWebmobile Formula Pricing work with WordPress 7.1?
Yes. The developer has tested HDWebmobile Formula Pricing up to WordPress 7.2, the latest release. It requires WordPress 6.9 or newer.
What PHP version does HDWebmobile Formula Pricing need?
HDWebmobile Formula Pricing requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was HDWebmobile Formula Pricing last updated?
The latest version, 1.0.1, was released on December 3, 2026 (12 hours ago).
Who makes HDWebmobile Formula Pricing?
HDWebmobile Formula Pricing is developed and maintained by HDWebMobile.
What are the best alternatives to HDWebmobile Formula Pricing?
The most popular alternatives to HDWebmobile Formula Pricing are Cost Calculator Builder (20K+ installs), Cost Calculator for Contact… (5K+ installs) and Mortgage Calculator (4K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte



