How to set currency Vietnam Dong for Woocommerce?
If you want to make a sales website, you must use the woocommerce plugin. 1 plugin is very widely used on most websites nowadays.
Woocommerce is a free plugin used to create the best small e-commerce site available in WordPress. It is like many other plugins that add functionality to the website, but it will add almost all the functions that a simple sales page needs.
You go to WordPress admin page -> Woocommerce -> Setting (or set up in Vietnamese) -> General
At this tab, we scroll down to the Currency Options section to set the currency as shown below

Currency : where you choose the currency
Currency position: you choose the display position of the currency: left (left), right (right).
Thousand separator: sign after the thousandth of the price.
Decimal separator: decimal separator.
Number of decimals: how many numbers after the decimal part.
So we have set up VND currency for Woocommerce.
The problem is that WOO’s default notation is ₫, which is not very pleasing to the eye. The following code will help you to change to VND.
Change the currency character Vietnamese Dong
You insert the following code into the functions.php file in your theme.
add_filter( 'woocommerce_currency_symbol' , 'change_currency_symbol' , 10, 2);
function change_currency_symbol( $currency_symbol , $currency ) {
switch ( $currency ) {
case 'VND' : $currency_symbol = 'VNĐ' ; break ;
}
return $currency_symbol ;
}Epilogue
That’s all I want to share about Vietnam Dong Currency Setup for Woocommerce.
If you find it interesting, you can follow the wordpress tips section to know more new knowledge.
Follow fanpage to receive the latest posts: Group
Wish you have interesting and interesting knowledge about wordpress!

