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“ إلى لغة واحدة. شكراً إلى جميع المُترجمين لمُساهماتهم.

ترجمة ”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.