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?
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.
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.
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’
./manage.py lms makemigrations --settings=aws
./manage.py lms migrate --settings=aws
Restart lms service:
sudo /edx/bin/supervisorctl restart lms
ecommerce/ecommerce/settings/_oscar.py
OSCAR_DEFAULT_CURRENCY = ‘EUR’
delete all course modes from lms admin
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