VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: beny.rfg on December 02, 2021, 14:45:55 PM

Title: Order placed in several currencies are in default currency in admin
Post by: beny.rfg on December 02, 2021, 14:45:55 PM
Hi,

I have two currencies on the e-shop, but all orders are converted to default currency in the admin area. Even in the database table "jos_virtuemart_orders" is the default currency (payment_currency_id column) instead of currency which order has been placed.

Is it standard behavior? How to achieve to save the currency which order has been placed?

Thank, Petr
Title: Re: Order placed in several currencies are in default currency in admin
Post by: Jumbo! on December 02, 2021, 15:09:59 PM
Yes, that is the standard behaviour.

The user selected currency and the exchange rate at the time of order are captured and stored in #__virtuemart_orders database table. The names of the columns are user_currency_id and user_currency_rate respectively.
Title: Re: Order placed in several currencies are in default currency in admin
Post by: beny.rfg on December 02, 2021, 15:15:59 PM
Thank you, now I see the columns, that helped me

Thanks, Petr