Dollar Pricing for WooCommerce

Description

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

Screenshots

Installation

  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.

FAQ

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).

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Dollar Pricing for WooCommerce” adalah perisian sumber terbuka. Orang-orang berikut telah menyumbang kepada pemalam ini.

Penyumbang

“Dollar Pricing for WooCommerce” telah diterjemahkan ke dalam 1 penempatan. Terima kasih kepada para penterjemah untuk terjemahan mereka.

Translate “Dollar Pricing for WooCommerce” into your language.

Berminat dalam pembangunan?

Layari kod, periksa repositori SVN, atau langgani log pembangunan dengan RSS.

Changelog

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.