Dollar Pricing for WooCommerce

描述

With this plugin you can:
– Add a Dollar Purchase Price ($) to products.
– Configure a global Dollar Rate and Profit Margin.
– Recalculate prices for all products in bulk.

How it works:
– On each product, you can enter a custom field “Dollar Purchase Price ($)”.
– The plugin calculates the regular price as: purchase price × dollar rate × (1 + profit margin), with commercial-style rounding (…9, …99, …999).
– From the plugin admin page, you can run a bulk updater to apply the calculation to all products with a Dollar Purchase Price.

Compatibility:
– WooCommerce HPOS compatible (declared).
– WordPress 6.8+ / WooCommerce 9.1+ tested.

License

GPLv2 or later

屏幕截图

安装

  1. Upload the plugin and activate it.
  2. Open the “Dollar Pricing” admin page and set your Dollar Rate and Profit Margin.
  3. Edit products and enter the “Dollar Purchase Price ($)”.
  4. Use the Bulk Price Update button to recalculate all prices.

常见问题

Which products are affected?

Only products with a Dollar Purchase Price are updated. Other products are left unchanged.

How are prices calculated?

Price = Dollar Purchase Price × Dollar Rate × (1 + Profit Margin), then rounded using commercial rounding (…9, …99, …999).

评价

此插件暂无评价。

贡献者及开发者

「Dollar Pricing for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Dollar Pricing for WooCommerce」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Dollar Pricing for WooCommerce」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.0

  • Improved bulk updater stability by batching product IDs without loading all product meta into memory.
  • Added a live “Recently updated products” feed under the progress bar so admins can track updates in real time.
  • Optimised price saves to avoid fatal memory usage on large catalogues and refresh WooCommerce lookup tables automatically.
  • Logging now only writes when WP_DEBUG is enabled to keep production installs clean.

1.0.1

  • Readme translated to English and naming clarified for WordPress.org.

1.0.0

  • Initial release: modern admin UI, bulk updater, HPOS declaration, basic security.