How do I change the currency for open edx ecommerce

I am trying to set the price associate with a course via the ecommerce platform:

i.e. via url.com:18130/courses/new
(shown below)

I need to be able to change the currency to great british pounds or euros.
How can I do this?

You need to make use of Django admin panel to reflect the changes which you have made.

https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-ficus.master/manage_live_course/manage_course_fees.html#id16

Thank you but this doesn’t seem to work

Hi I have been trying to reconfigure ecommerce to checkout with the Euro currency instead of the default USD.

I really don’t know how to do this - can anyone help?

i want also change ecommerce dollar sign and usd to inr please anyone know this type of problem then suggest me

I worked this out. The situation below is for changing USD to EUR. You will have to use the ISO standard for the currency you wish to change to.

In LMS Service

1)- First changes in lms.env.json PAID_COURSE_REGISTRATION_CURRENCY
- “EUR”,
- “€”
2) - Goto edx-platform/lms/djangoapps/shoppingcart/models.py
- Replace all ‘usd’ to ‘EUR’
3) - Goto edx-platform/common/djangoapps/course_modes/models.py
- Replace all ‘usd’ to ‘EUR’

  1. ./manage.py lms makemigrations --settings=aws
    ./manage.py lms migrate --settings=aws

Restart lms service:
sudo /edx/bin/supervisorctl restart lms

In Ecommerce Service

  1. ecommerce/ecommerce/settings/_oscar.py
    OSCAR_DEFAULT_CURRENCY = ‘EUR’

  2. delete all course modes from lms admin

  3. Edit course in ecommerce “/courses” and save again

Then migrate:

sudo -H -u edxapp -s bash
cd ~
source /edx/app/edxapp/edxapp_env
python /edx/app/edxapp/edx-platform/manage.py lms makemigrations --settings=aws
python /edx/app/edxapp/edx-platform/manage.py lms migrate --settings=aws
python /edx/app/edxapp/edx-platform/manage.py cms makemigrations --settings=aws
python /edx/app/edxapp/edx-platform/manage.py cms migrate --settings=aws
1 Like