1. WooCommerce Multilingual – run WooCommerce with WPML
The app auto-detects the currency and display it on the app
2. Multi Currency for WooCommerce
There are 2 steps
- Define languages in the file wp-config.php on your server
define( 'APP_BUILDER_CURRENCIES', serialize( array(
'USD' => array(
'currency' => 'USD',
'symbol' => '$',
'position' => 'right_space',
'thousand_sep' => 'right_space',
'decimal_sep' => '.',
'num_decimals' => 2,
'rate' => '1',
),
'VND' => array(
'currency' => 'VND',
'symbol' => 'đ',
'position' => 'right_space',
'thousand_sep' => 'right_space',
'decimal_sep' => '.',
'num_decimals' => 2,
'rate' => '23000',
),
) ) );
- Change currency param in the file currencies.dart

const String CURRENCY_PARAM = 'wmc-currency';