=== Currency per Product for WooCommerce ===
Contributors: tychesoftwares
Tags: woocommerce, currency per product, multicurrency, product currency
Requires at least: 4.4
Tested up to: 5.7
Stable tag: trunk
Requires PHP: 5.6
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Set and display prices for WooCommerce products in different currencies.

== Description ==

**[Currency per Product for WooCommerce](https://www.tychesoftwares.com/store/premium-plugins/currency-per-product-for-woocommerce/?utm_source=wprepo&utm_medium=topprolink&utm_campaign=CurrencyProductLite/)** plugin lets you set and display prices for WooCommerce products in different currencies.

There is a number of scenarios that can be implemented with this plugin:

* Set WooCommerce product prices in different currencies and display it in shop in **different currencies**.
* Set WooCommerce product prices in different currencies, but display it in shop in **one currency, converted with the exchange rates** (i.e. "multicurrency product base price").
* Set WooCommerce product prices in different currencies, display it in shop in **different currencies**, but convert it to **one currency in cart and checkout**.

= Shop Behaviour Options =

* Show prices in **different currencies** (and set cart and checkout behaviour separately).
* Convert to **shop default currency** (including cart and checkout).
* Add **original (i.e. not converted) price** display to shop pages.

= Cart and Checkout Behaviour Options =

* **Convert** to **shop default** currency.
* **Leave** product currency (allow only **one product** to be added to cart).
* **Leave** product currency (allow only **same currency products** to be added to cart).
* **Convert** to currency of **last product** in cart.
* **Convert** to currency of **first product** in cart.

= Currencies Options =

* Add **two** currencies in free version and **unlimited** number of currencies in [Pro version](https://www.tychesoftwares.com/store/premium-plugins/currency-per-product-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite/).
* Optional currency per **product authors**.
* Optional currency per **product authors user roles**.
* Optional currency per **product categories**.
* Optional currency per **product tags**.

= Currency Exchange Rates Options =

* **Manual** currency exchange rates in free version and **automatic** currency exchange rates in [Pro version](https://www.tychesoftwares.com/store/premium-plugins/currency-per-product-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite/) (including customizable update **rate** and currency exchange rates **server**).

= More Options =

* Add currency selection to admin bar in WooCommerce **admin reports**.
* Enable use of converted prices in WooCommerce **"Sort by price" sorting**.
* Enable use of converted prices in WooCommerce **"Filter Products by Price" widget**.

**Some of our Pro plugins:**

1. **[Abandoned Cart Pro for WooCommerce](https://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Abandoned Cart Pro for WooCommerce")**

2. **[Booking & Appointment Plugin for WooCommerce](https://www.tychesoftwares.com/store/premium-plugins/woocommerce-booking-plugin/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Booking & Appointment Plugin for WooCommerce")**

3. **[Order Delivery Date Pro for WooCommerce](https://www.tychesoftwares.com/store/premium-plugins/order-delivery-date-for-woocommerce-pro-21/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Order Delivery Date Pro for WooCommerce")**

4. **[Product Delivery Date Pro for WooCommerce](https://www.tychesoftwares.com/store/premium-plugins/product-delivery-date-pro-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Product Delivery Date Pro for WooCommerce")**

5. **[Deposits For WooCommerce](https://www.tychesoftwares.com/store/premium-plugins/deposits-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Deposits For WooCommerce")**

6. **[Payment Gateway Based Fees and Discounts for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/payment-gateway-based-fees-and-discounts-for-woocommerce-plugin/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Payment Gateway Based Fees and Discounts for WooCommerce - Pro")**

7. **[Custom Order Status for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/custom-order-status-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Custom Order Status for WooCommerce - Pro")**

8. **[Custom Order Numbers for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/custom-order-numbers-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Custom Order Numbers for WooCommerce - Pro")**

9. **[Product Input Fields for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/product-input-fields-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Product Input Fields for WooCommerce - Pro")**

10. **[Call for Price for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/woocommerce-call-for-price-plugin/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Call for Price for WooCommerce - Pro")**

11. **[Price based on User Role for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/price-user-role-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite "Price based on User Role for WooCommerce - Pro")**

**Some of our other free plugins:**

1. **[Abandoned Cart for WooCommerce](https://wordpress.org/plugins/woocommerce-abandoned-cart/ "Abandoned Cart for WooCommerce")**

2. **[Order Delivery Date for WooCommerce - Lite](https://wordpress.org/plugins/order-delivery-date-for-woocommerce/ "Order Delivery Date for WooCommerce - Lite")**

3. **[Product Delivery Date for WooCommerce - Lite](https://wordpress.org/plugins/product-delivery-date-for-woocommerce-lite/ "Product Delivery Date for WooCommerce")**

4. **[Payment Gateway Based Fees and Discounts for WooCommerce](https://wordpress.org/plugins/checkout-fees-for-woocommerce/ "Payment Gateway Based Fees and Discounts for WooCommerce")**

5. **[Custom Order Status for WooCommerce](https://wordpress.org/plugins/custom-order-statuses-woocommerce/ "Custom Order Status for WooCommerce")**

6. **[Custom Order Numbers for WooCommerce](https://wordpress.org/plugins/custom-order-numbers-for-woocommerce/ "Custom Order Numbers for WooCommerce")**

7. **[Product Input Fields for WooCommerce](https://wordpress.org/plugins/product-input-fields-for-woocommerce/ "Product Input Fields for WooCommerce")**

8. **[Call for Price for WooCommerce](https://wordpress.org/plugins/woocommerce-call-for-price/ "Call for Price for WooCommerce")**

9. **[Price based on User Role for WooCommerce](https://wordpress.org/plugins/price-by-user-role-for-woocommerce/ "Price based on User Role for WooCommerce")**

= Feedback =
* We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!
* Please visit the [plugin page](https://www.tychesoftwares.com/store/premium-plugins/currency-per-product-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=CurrencyProductLite/).

== Installation ==

1. Upload the entire plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the "Plugins" menu in WordPress.
3. Start by visiting plugin settings at "WooCommerce > Settings > Currency per Product".

== Changelog ==

= 1.4.8 - 20/04/2021 =
* Fix - On creating the order manually from the backend it was showing the default shop currency instead of showing the product currency. This is fixed now.
* Fix - The currency symbol in the Mini cart was coming wrong. This is fixed now.

= 1.4.7 - 08/10/2020 =
* Updated compatibility with WordPress 5.5
* Updated compatibility with WooCommerce 4.5
* Fix - Cart & Checkout behaviour option when set to 'Convert to last product currency' & 'Convert to first product currency' amount was not updated. This is fixed now.
* Fix - Currency was not displayed for the selected categories product when 'Currency per product categories' or 'Currency per product tags' setting was enabled. This is fixed now.

= 1.4.6 - 20/03/2020 =
* Update compatibility with WooCommerce 4.0.0.

= 1.4.5 - 25/03/2019 =
* Fix - Prices for the Bookable products from WooCommerce Bookings plugin were not converted to the default currency when 'Convert to Shop default currency (and set cart and checkout behavior separately)' option is selected for Shop Behaviour setting. This is fixed now. 
* Fix - The prices for the selected currency for the bookable products were shown as 0 on the Shop page when 'Add original price in shop' option is checked. This is fixed now. 
* Fix - A fatal error was shown on the Shop page for Variable products when visited as Wholesale customer added from Wholesale Customers For Woo plugin. This is fixed now. 

= 1.4.4 - 16/11/2018 =
* Version Changed. 

= 1.4.3 - 31/10/2018 =
* Compatibility with WooCommerce 3.5.0 tested.

= 1.4.2 - 23/09/2018 =
* Fix - Behaviour - Add original price in shop - Variable products fixed.

= 1.4.1 - 19/09/2018 =
* Feature - General - "Custom currency symbol" options added.
* Fix - Variations currency in backend fixed (in case if "Convert to shop default currency (including cart and checkout)" is selected).
* Fix - Exchange Rates - "ECB" and "TCMB" fixed on servers with `allow_url_fopen` option disabled.
* Dev - Minor code refactoring.

= 1.4.0 - 13/08/2018 =
* Feature - Behaviour - Shop Behaviour Options - "Add original price in shop" options added.
* Feature - Advanced - "Sorting by converted price" option added ("Sort by price" sorting).
* Feature - Advanced - "Filtering by converted price" option added ("Filter Products by Price" widget).
* Dev - Exchange Rates - "Yahoo" server removed (as it's discontinued).
* Dev - Exchange Rates - Step decreased (to 12 decimals) in admin settings.
* Dev - Raw input is now allowed in some plugin options.
* Dev - Admin settings divided in separate sections, restyled and descriptions updated.
* Dev - Major code refactoring; plugin folders structure changed; `version_updated()` function added.

= 1.3.0 - 09/08/2018 =
* Fix - Additional checks added to `get_currency_exchange_rate()` function to prevent division by zero and "non-numeric value encountered" notices.
* Dev - Advanced Options - "Save products prices" option added.
* Dev - Exchange rates updates - "Free Currency Converter API (free.currencyconverterapi.com)" server added.
* Dev - Exchange rates updates - "European Central Bank (ECB)" server set as the default option.
* Dev - Admin settings restyled.
* Dev - Code refactoring.

= 1.2.1 - 19/06/2018 =
* Dev - Core - `change_currency_code()` function rewritten.
* Dev - "WC tested up to" added to plugin header.
* Dev - Plugin URI updated to wpfactory.com.
* Dev - Admin settings descriptions updated.

= 1.2.0 - 06/12/2017 =
* Dev - WooCommerce v3.2.0 compatibility - Admin settings `select` type options fixed.
* Dev - Yahoo exchange rates server URL updated.
* Dev - Admin settings - Minor restyling.
* Dev - `includes()` - `settings` are saved as object property now.
* Dev - POT file added.

= 1.1.0 - 27/09/2017 =
* Dev - "Shop Behaviour" option added.
* Dev - Advanced Options - "Fix mini cart" option added.
* Dev - Advanced Options - "Currency Reports" option added.

= 1.0.0 - 20/08/2017 =
* Initial Release.

== Upgrade Notice ==

= 1.0.0 =
This is the first release of the plugin.
