Answers.Body: <p>Just tried setting <code>define('COMMERCE_PAYMENT_CURRENCY', 'EUR')</code> in the index.php file and it works fine. </p>
  
  <p>You just need to use </p>
  
  <p><code>{{ cart.paymentCurrency }}</code></p>
  
  <p>Not</p>
  
  <p><code>{{ cart.currency }}</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-13T11:29:52.323Z
Answers.LastActivityDate: 2018-09-13T11:29:52.323Z
Answers.UserDisplayName: Jason Mayo
Answers.Body: <p>How do you render the cart? </p>
  
  <p>Using <code>{{ item.price|commerceCurrency(cart.paymentCurrency,convert=true) }}</code> instead of <code>{{ item.price|commerceCurrency(cart.currency) }}</code> works for me.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-27T13:50:23.187Z
Answers.LastActivityDate: 2017-05-27T13:50:23.187Z
Answers.UserDisplayName: Marcus Scheller
Body: <p>Craft: 2.6.2976
  Commerce: 1.2.1341</p>
  
  <p>I want to force currency depending on language (en_us and no). The user should not be allowed to choose.</p>
  
  <p>I've added two currencies 1) EUR - base, 2) NOK.</p>
  
  <p>Putting <code>define('COMMERCE_PAYMENT_CURRENCY', 'EUR');</code> in the index.php for the english site, and <code>define('COMMERCE_PAYMENT_CURRENCY', 'NOK');</code>in the index.php file for the norwegian site does not work.</p>
  
  <p>The currency is always EUR.</p>
  
  <p>To be clear: Using <code>{{constant('COMMERCE_PAYMENT_CURRENCY')}}</code> does output the correct currency as set in index.php, however the cart is what always remains in EUR (base).</p>
  
  <p>Is this a bug in Commerce?</p>
  
Tags: <plugin-craftcommerce>
Title: Unable to set cart currency in index.php
ThreadText: # Unable to set cart currency in index.php
  
  (Asked by: username_0 on 2017-05-05)
  
  Craft: 2.6.2976
  Commerce: 1.2.1341
  
  I want to force currency depending on language (en\_us and no). The user should not be allowed to choose.
  
  I've added two currencies 1) EUR - base, 2) NOK.
  
  Putting `define('COMMERCE_PAYMENT_CURRENCY', 'EUR');` in the index.php for the english site, and `define('COMMERCE_PAYMENT_CURRENCY', 'NOK');`in the index.php file for the norwegian site does not work.
  
  The currency is always EUR.
  
  To be clear: Using `{{constant('COMMERCE_PAYMENT_CURRENCY')}}` does output the correct currency as set in index.php, however the cart is what always remains in EUR (base).
  
  Is this a bug in Commerce?
  
  **Tags:** plugin-craftcommerce
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-09-13. Score: 1
  
  Just tried setting `define('COMMERCE_PAYMENT_CURRENCY', 'EUR')` in the index.php file and it works fine.
  
  You just need to use
  
  `{{ cart.paymentCurrency }}`
  
  Not
  
  `{{ cart.currency }}`
  
  
  ---
  
  ### Answer by username_2 on 2017-05-27. Score: 1
  
  How do you render the cart?
  
  Using `{{ item.price|commerceCurrency(cart.paymentCurrency,convert=true) }}` instead of `{{ item.price|commerceCurrency(cart.currency) }}` works for me.
  
  
  ---
  
  