• Resolved graficity

    (@graficity)


    hi there!
    we have a store with WooCommerce Currency Switcher and products price are in USD currency, but we need that clients pay in ARS currency.
    and we have problem for make manual order , we have USD for default and when we put for change currency the order is empty, or change money symbol but the value is the same, like this:

    product A usd 80 ————> change to ARS
    product A ARS 80

    thanks for your help
    sorry for my english!

    URL del sitio: https://graficity.com.ar
    Versión de WooCommerce: 3.4.4
    Versión de WordPress: 4.9.7
    Versión de PHP: 5.6.36 –

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello

    or change money symbol but the value is the same, like this: – Yes! It’s correct behavior. you can only convert the order to the base currency

    To the user only pay in one currency add this code in functions.php

    add_action('wp_head', 'my_example_scripts') ;
    function my_example_scripts(){
               if (class_exists('WOOCS'))
              {
                                global $WOOCS;
                                 if (is_checkout() OR is_checkout_pay_page())
                                     {
                                     $WOOCS->current_currency='ARS';
                                     $WOOCS->storage->set_val('woocs_current_currency','ARS');
                                    }
              }
    }
    Thread Starter graficity

    (@graficity)

    hi Pavlo, tks for your reply,
    i used your code , and changed current currency for ARS but the value didnt change.
    i need thisper example:

    1 usd is
    3 ARS

    the product A is 10 usd and exchange is 30 ARS

    when i generate order it say 10 ARS and correct form would be 30 ARS
    and when i put recalculate order, the order automatically deleted.

    sorry for my english,
    tks for your help

    Hello

    Do you mean new order?

    Try to disable all plugins except woo+woocs and do test

    Read this please – https://currency-switcher.com/currency-recounts-wrong-double-zero-and-others/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘woocs_recalculate_order_data’ is closed to new replies.