• Resolved uffesgjutformar

    (@uffesgjutformar)


    Hello!

    I’ve found a bug.
    If you have it set so that checkout only use default currency, in my case Swedish Crowns, SEK, and the customer on the checkout-page switches to another currency, EUR for instance, the checkout page will show correct currency (SEK) before clicking on “Send order”, but after order is sent, the currency will be EUR, and also the reciept sent to the customer will have the wrong currency.

    It’s when the URL contains the “?currency=EUR” at the end it will go wrong.

    So, to make the bug appear, change currency to some other than default on the checkout-page before clicking on Send order button.

    Please have a look at this as soon as possible.

    https://wordpress.org/plugins/woocommerce-currency-switcher/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author RealMag777

    (@realmag777)

    Hello
    In the previous versions of the WOOCS currency changing was disabled on the checkout page to avoid different troubles. Users asked me unlock it. In your case it is better lock it to avoid such trouble on the site.

    You can do it here: wp-content\plugins\woocommerce-currency-switcher\views\shortcodes\woocs.php #9 -> uncomment return

    if (is_object($post))
    {
        if ($this->get_checkout_page_id() == $post->ID)
        {
            return "";
        }
    }
    Thread Starter uffesgjutformar

    (@uffesgjutformar)

    Hello!

    Yes, that worked fine.
    Will I have to do this after every update of the plugin, or will you make it optional? 🙂

    Thanks!

    Plugin Author RealMag777

    (@realmag777)

    Great! Looks like I will have to make optional 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wrong currency in the mail sent to customer.’ is closed to new replies.