Exchange Rates Today

تفصیل

A small WooCommerce plugin for shops that keep prices in one currency but need to show them in another.

Enter today’s rate on the settings screen and every product price is multiplied by it before being displayed — simple products, variable products, variations, sale prices and the price filter widget included. Product prices in the database are never modified, so changing the rate back to 1 restores the original figures exactly.

Features

  • One setting: the rate. Nothing else to configure.
  • Covers simple products, variations and variable product price ranges.
  • Converts the price filter widget in both directions, so filtering by a displayed price range returns the right products.
  • Participates in WooCommerce’s variation price cache, so a rate change takes effect immediately.
  • Available in English, Ukrainian and Russian.

Limitations

The rate is entered manually. This plugin does not fetch rates from any external service, and it does not change the currency symbol — set that under WooCommerce Settings General.

انسٹالیشن

  1. Install and activate the plugin.
  2. Go to WooCommerce Today’s Exchange Rate.
  3. Enter the rate and save.

عمومی سوالات

Does this change the prices stored on my products?

No. Conversion happens when a price is displayed. Set the rate to 1 and everything reads exactly as it is stored.

What happens if I do not set a rate?

Prices are shown unchanged.

Does it change the currency symbol?

No. Set that under WooCommerce Settings General.

I upgraded from 1.x — do I need to re-enter my rate?

No. The existing rate is carried over automatically on activation.

جائزے

نومبر 16, 2018 2 replies
Fatal error: Cannot use $this as parameter in …public_html/x.pp.ua/wp-content/plugins/exchange-rates-today/exchange-rates-today.php on line 36 =((
مئی 20, 2017
Ребята, спасибо! Все работает без проблем. Плагин простой и рабочий. Желаю процветания Вашему проекту!
تمام 8 جائزے پڑھیں

شراکت دار اور ڈیویلپرز

“Exchange Rates Today” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:

شراکت دار

“Exchange Rates Today” کا اپنی زبان میں ترجمہ کریں۔

ڈویلپمینٹ میں دلچسپی ہے؟

کوڈ براؤز کریں، ایس این وی ریپوزیٹری کو چیک کریں یا ڈویلپمینٹ لاگ کو سبسکرائب کریں بذریعہ آر ایس ایس۔

چینج لاگ

3.0.0

Rewrite. Please back up before updating.

  • Fixed a fatal error on PHP 8: filtering the catalogue by price while no rate was set raised DivisionByZeroError and broke the shop page.
  • Fixed sale prices on simple products not being converted, which could show a converted regular price struck through next to an unconverted sale price.
  • Fixed rates typed with a comma ("38,5”) being silently read as whole numbers, mispricing the entire shop.
  • Rates of zero, negative numbers and non-numeric input are now rejected instead of zeroing every price.
  • All functions are now prefixed. The previous versions defined custom_price() and setting_page() in the global namespace, which could fatal on activation alongside another plugin or theme using those names.
  • The kurs option is renamed to ert_rate, migrated automatically on activation.
  • The settings screen is now translatable, and ships with Ukrainian and Russian translations.
  • Added a clear notice when WooCommerce is not active, instead of failing silently.
  • Settings screen now requires the manage_woocommerce capability and escapes all output.
  • Declared compatibility with WooCommerce High-Performance Order Storage.
  • Version numbering corrected: the plugin header, changelog and stable tag previously disagreed (1.7, 1.8 and 2.5.7 respectively). 3.0.0 is above all three so every existing install updates cleanly.

1.8

Add PHP 7.2 support.
Fix variable products support.
Fix price filter widget.

1.7

Fix for Price filter widget

1.6

Last version

1.5

Stable version

1.4

Fixed bug with Sale products

1.3

Variations price added.

1.2

Fix bug with float price.

1.1

Fixed some bugs. Now plugin works not only with catalogue and change price at whole shop.

1.0

First version 🙂