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.

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

جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

تعاون ڪندڙ & ڊولپرز

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