=== Dollar Pricing for WooCommerce === Contributors: ubermind Tags: woocommerce, pricing, dollar, bulk update, currency Requires at least: 5.8 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Price WooCommerce products from Dollar cost + rate + margin. Includes a simple admin UI and a bulk updater. == 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. == 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. == Frequently Asked Questions == = 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). == Changelog == = 1.1.1 = * Added missing assets. = 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. == Upgrade Notice == Please back up your site and test on staging before running bulk updates. == License == GPLv2 or later