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

With Custom Product Option Like Personalisation , Currency INR is not converted from USD

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 Sir,

Actually my developer added Custom Option Like Personalisation And gift wrapping , we used the following code

function fox_price_converter( $price ){
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;
}
}
}
return$price;
}
It work with all currencies except with India, where the converted amounts are in cents.
Need your help regarding the above.
Thanks
Om Prakash

Hello Om

Unfortunately this is too little information. All I see is code: reverse conversion.

For my part, I can only suggest the functionality of my plugin.  Please  try  to  use - https://currency-switcher.com/function/woocs-convert_from_to_currency