PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Wishlist Plugin not working correctly with Currency Switcher plugin

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

We have Currency Switcher plugin installed on our site and now we are integrating the Wishlist Plugin. Wishlist Plugin sends the Price Drop Notifications to the customers when the price drops but due to the currency switcher plugin it is not working correctly. Assume a customer changes the currency to USD using the switcher plugin and the product price becomes from 9GBP to 11.67USD and the customer adds the product to its wishlist. Now when the Wishlist plugin checks in the database it gets the price as"9" and the price added in the wishlist as"11.67" (it ignores the currency), due to the inequality the plugin sends the price drop notification to the customer even there is no change in the price of the product. The wishlist plugin uses get_price( ) to fetch the price but it returns the converted price i.e. 11.67. Is there any way that we can find the price that is in the database and not the price displayed on the page.

 

Please let us know in case of any query/concern.

 

Hello

Try  to  use  get_price('wishlist')

Or  you can do the reverse conversion :

 if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$price = $price / $rate;
}
}
}