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

WOOCS Forces Currency On All Pages

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
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,

I have recently purchased WOOCS, and used the below code to force USD at checkout. But it seems to to be forcing USD on all pages including Shop, Product, and Cart pages. Please Help!

Website: socelery.com

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

Hello

Paste your license key here - https://share.stackovergo.com/image/i20210618130558.png -> https://share.stackovergo.com/image/i20210618130614.png and  exact link to the  issue

Hi Pablo,

Thanks for your response.

I have updated the case with the private data.

Hello

Please  check  options -  https://share.stackovergo.com/image/i20210901144445.png  and  do  a  test

Thank you so much Pablo! It's working now ♡

Hello

Welcome;)

Hi Pablo,

One last thing!

I noticed that when going back from checkout page to the cart, product, or shop pages, the currency doesn't revert back from the forced one! can this be fixed?

 

Thank You.

Hello

Unfortunately no, because WOOCS changed currency for the site. But if you need, you can apply the same trick for cart page:

add_filter('wp_head',function(){    

    if(is_cart()){

        global $WOOCS;

        $WOOCS->set_currency('AED');

    }

});

Thank you Pablo!

 

 

Escobar ;)

Welcome :)