Cirilla Documentations

  1. Home
  2. Docs
  3. Cirilla Documentations
  4. How to
  5. Add multi currency

Add multi currency

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

  1. 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',
	),
) ) );

  1. Change currency param in the file currencies.dart
const String CURRENCY_PARAM = 'wmc-currency';
Was this article helpful to you? Yes No

How can we help?