Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In ecommerce, some currency symbols are hardcoded to "$" #135

Open
regisb opened this issue Feb 4, 2022 · 8 comments
Open

In ecommerce, some currency symbols are hardcoded to "$" #135

regisb opened this issue Feb 4, 2022 · 8 comments
Assignees
Labels
bug Report of or fix for something that isn't working as intended release testing Affects the upcoming release (attention needed)
Milestone

Comments

@regisb regisb added bug Report of or fix for something that isn't working as intended affects:maple labels Feb 4, 2022
@BbrSofiane BbrSofiane added this to the Maple.2 milestone Feb 5, 2022
@BbrSofiane BbrSofiane modified the milestones: Maple.2, Maple.3 Feb 14, 2022
@BbrSofiane BbrSofiane modified the milestones: Maple.3, Nutmeg Release Apr 25, 2022
@BbrSofiane BbrSofiane modified the milestones: Nutmeg Release, Nutmeg.2 Jul 3, 2022
@lxmmxl56
Copy link

I'm a new contributor and I'd like to try fixing this issue. Do I need to be assigned or is it okay to just submit a PR once I've completed the work?

@BbrSofiane
Copy link
Member

You can start working on it @lxmmxl56, I'll assign it to you.

@arbrandes arbrandes removed this from the Nutmeg.2 milestone Dec 6, 2022
@wasuregusa18
Copy link

wasuregusa18 commented Jan 6, 2023

Is this still an open issue? I would be happy to take a stab.

If yes, what is the desired behavior here? The currency symbol should reflect the currency set in the yaml file? I don't have to worry about the prices themselves or anything right?
Do I need to do something like this? Or is gettext('$') going to suffice?

If you point me to a template that had the desired behavior currently implemented, I can just copy that to the places where the values are hardcoded.

@regisb
Copy link
Contributor Author

regisb commented Jan 6, 2023

Thanks for volunteering @wasuregusa18! The currency symbol should reflect the value of the PAID_COURSE_REGISTRATION_CURRENCY and COURSE_MODE_DEFAULTS["currency"] Django settings. I am not quite sure if there are existing places in the code base that you could try to emulate. It seems to me that you could use the add_currency python utility function, but I am absolutely not 100% sure of that.

@mariajgrimaldi
Copy link
Member

I left a comment in the PR: openedx-unsupported/ecommerce#3891 (comment)

@jalondonot jalondonot removed this from the Olive.3 milestone May 15, 2023
@mariajgrimaldi
Copy link
Member

This issue is blocked since the PR solving it has yet to be reviewed.

@mariajgrimaldi
Copy link
Member

mariajgrimaldi commented Sep 5, 2023

Update: no updates in the PR.

@mariajgrimaldi mariajgrimaldi added this to the Quince.3 milestone Feb 12, 2024
@mariajgrimaldi mariajgrimaldi modified the milestones: Quince.3, Redwood.1 Apr 26, 2024
@mariajgrimaldi mariajgrimaldi added the release testing Affects the upcoming release (attention needed) label May 9, 2024
@mariajgrimaldi mariajgrimaldi modified the milestones: Redwood.1, Sumac.1 Oct 29, 2024
@mariajgrimaldi
Copy link
Member

mariajgrimaldi commented Oct 29, 2024

E-commerce repos will be archived after Sumac: openedx/public-engineering#22

So, I'm not sure how we can move this forward before that happens because there is no maintainer for the e-commerce repos who can merge or review the PR. I left a comment in the PR asking what we could do before Sumac.

I'll close this issue after Sumac is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of or fix for something that isn't working as intended release testing Affects the upcoming release (attention needed)
Projects
Status: Blocked
Development

No branches or pull requests

7 participants