Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

Auto currency conversion

$
0
0

Replies: 0

Hi,

There’s one more thing I can’t seem to wrap my head around.
The freight company needs to declare USD instead of CNY(chinese yuan) which is used on checkout.

So what I want to do is for product field “Item Cost” and “Order Total Amount” to converse it to USD when exporting.

For example the product cost 100CNY then Item Cost should do 100×0.147721 = “14.77” (USD)
Order total amount should do price product 1 + product 2 x0.147721

Is there a way to do this in a function?

Thanks!


Viewing all articles
Browse latest Browse all 67836

Trending Articles