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

Can not add more than 100 currency

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.

I've purchased the plugin woocommerce-currency-switcher before purchase I checked that it will give me permission to add unlimited currency. But in a the site when I'm trying to add all the currency I required for the site (more than 250 for all over the world) it can not add to the list.

I tried to find the issue and I found that the data for the currency is saved in wp_option table and in option_value(longtext) all the saved in  1 row but as the data is huge longtext also can not hold the data. I need help to solve the issue and I've to add more data like geoip currency-country relation.

Hello

Please try  in .htaccess file of your wp-site and drop there on the same bottom next code:

php_value max_input_vars 30000

  • Now I can add the currencies but there is another issue I could not do the payment if it's different currency rather than USD. I've added below code also but its not working. Please help My site has almost all currencies of the world so payment need to be smooth by updating default currency as USD on check out page.
    https://currency-switcher.com/force-currency-on-checkout-page
    
    add_filter('wp_head',function(){    
        if(is_checkout()){
            global $WOOCS;
            $WOOCS->set_currency('USD');
        }
    });

Now I can add the currencies but there is another issue I could not do the payment if it's different currency rather than USD.
I've added below code also but its not working. Please help.
My site has almost all currencies of the world so payment need to be smooth by updating default currency as USD on check out page.

Hello

Please drop me  exact  link to the  issue

Where did you add this code?

https://internationaldelinquent.com/beta/checkout/

Where did you add this code?

and  please  add  access to your site - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130637.png

I've added below code in functions.php inside my theme file

add_filter('wp_head',function(){    
    if(is_checkout()){
        global $WOOCS;
        $WOOCS->set_currency('USD');
    }
});

I just want to know how can I change the currency code before click on proced to paypal or place order
I mean on checkout page.

Please help me how can I update the currency before hit the checkout button.
Thanks

Hello

Unfortunately, the plugin does not have the feature of switching currencies depending on the payment system.

On your site, I noticed that the currency on the checkout page is switched to USD. But after the cart is redrawn in Ajax mode.  And unfortunately the function is_checkout() does not work in ajax.

Are you using third party code to redraw the cart?

"Are you using third party code to redraw the cart?"
>> No no third party plugin is used for cart refetch. Its default of woocommerce functionality.

https://github.com/UVLabs/set-gateway-currency-for-woocommerce
Some guy used woocs  like me and had the same issue. he manage to do above one.
I've istalled it and customized it to INR currency its updating the price but not the currency code before goed to paypal page.
can you help me whith that please.

Hello

Can  I  disable  plugins/theme  to  test it?