Linux 软件免费装
Banner图

HDWebmobile Formula Pricing

开发者 htrxuan
更新时间 2026年10月14日 16:42
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce dynamic pricing calculator formula custom pricing

下载

1.0.0

详情介绍:

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: Key Features Limitations (please read before installing) 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.

安装:

  1. Upload the plugin files to the /wp-content/plugins/hdwebmobile-formula-pricing directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress. WooCommerce must already be installed and active.
  3. Edit a simple product, open its new "Formula Pricing" tab under Product Data, add your fields and formula.
  4. 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).

屏幕截图:

  • The customer-facing input fields and live price preview on the product page.
  • A cart line item showing the entered measurements alongside the computed price.

更新日志:

1.0.0