Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by Bruno Kos 1 year, 3 months ago.

Assisted by: Bruno Kos.

Author Posts
March 22, 2023 at 1:44 pm #13305725

maciejU

I want to set up a currency widget and put a prices up for the specific currency

March 22, 2023 at 2:34 pm #13306367

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

I asked our 2nd tier team about this, I'll get back to you as soon as I have any news or questions for you.

Regards,
Bruno Kos

April 12, 2023 at 5:28 pm #13458535

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Can you tell me if a filter such as:

add_filter( 'wcml_exchange_rate_lifting_charge', function( $lifting_charge, $target_currency ) {
    switch( $target_currency ) {
        case 'USD':
            return 5;
        case 'CAD':
            return 10;
    }

    return $lifting_charge;
} );

Would work for you, so not through WCML interface but like this only? It does not exist yet, but would be a possible implementation.

Regards,
Bruno Kos

July 31, 2023 at 12:32 pm #14127267

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Please let me know if something like this would work for you, I still haven't received your response.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.