Free courses in the shopping cart after the activation of payment settings

101 views
Skip to first unread message

Сергей Челюскин

unread,
Feb 11, 2015, 8:20:51 AM2/11/15
to edx-...@googlegroups.com
Hi. 
I use the master version of the open-edx Ubuntu installation. Now free courses are added to the cart cost 0.00
This is issue?
Скриншот 2015-02-11 15.06.22.png

Chris Dodge

unread,
Feb 11, 2015, 9:27:01 AM2/11/15
to edx-...@googlegroups.com
Hello,

Thank you for your interest in Open edX.

I'll try to take a look later this afternoon at this report, but - off the cuff - I'm wondering if you have a "Course Mode" set for this course with a price of 0.00. My guess would be that if you remove the Course Mode - if one exists - then the user would not be taken to the shopping cart.

Naturally, if this is the case, we should add some code to treat a 0.00 priced course as the same as if there is no Course Mode defined, as it does not make any sense to put people into the shopping cart.

I'll post again later on once I get a chance to investigate a bit.

- Chris

Сергей Челюскин

unread,
Feb 11, 2015, 9:33:38 AM2/11/15
to edx-...@googlegroups.com
thanks you.
i don't have a "Course Mode" set for this course with a price of 0.00. screenshot in attachment

среда, 11 февраля 2015 г., 16:27:01 UTC+2 пользователь Chris Dodge написал:
Скриншот 2015-02-11 16.31.55.png
Message has been deleted

Сергей Челюскин

unread,
Feb 11, 2015, 9:39:28 AM2/11/15
to edx-...@googlegroups.com


среда, 11 февраля 2015 г., 16:27:01 UTC+2 пользователь Chris Dodge написал:
Hello,

Chris Dodge

unread,
Feb 11, 2015, 9:46:04 AM2/11/15
to edx-...@googlegroups.com
Thanks for the screen shot of the Django Admin page. If I'm reading this correctly, you have a Course Mode set to $12USD. But you are saying that this is showing up as 0.00 in the course about pages? Also, do you have values for the Expiration Dates? Unfortunately that screenshot appears to be rendering something in those fields that I cannot understand.

Сергей Челюскин

unread,
Feb 11, 2015, 9:57:00 AM2/11/15
to edx-...@googlegroups.com
Yes, $ 12, but for a different course. Not a demo course. But after that demo course was 0.00. Other courses for $12 works as expected. added with the right price in the shopping cart. I left the date blank. So it was written in the instructions here https://github.com/edx/edx-platform/wiki/Shopping-Cart

среда, 11 февраля 2015 г., 16:46:04 UTC+2 пользователь Chris Dodge написал:

Сергей Челюскин

unread,
Feb 11, 2015, 10:07:06 AM2/11/15
to edx-...@googlegroups.com
Demo curse free 
price: Free

среда, 11 февраля 2015 г., 16:46:04 UTC+2 пользователь Chris Dodge написал:

Chris Dodge

unread,
Feb 11, 2015, 10:24:09 AM2/11/15
to edx-...@googlegroups.com
While I look into this, can you simply remove the Course Mode for the course which you set to 0.00 and let me know what happens?

Сергей Челюскин

unread,
Feb 11, 2015, 10:30:54 AM2/11/15
to edx-...@googlegroups.com
I remove Course Mode. But nothing has changed. Now, all the courses are 0.00. And demo course too.

среда, 11 февраля 2015 г., 17:24:09 UTC+2 пользователь Chris Dodge написал:

Сергей Челюскин

unread,
Feb 11, 2015, 10:32:05 AM2/11/15
to edx-...@googlegroups.com
On the about page all courses marked as free

среда, 11 февраля 2015 г., 17:24:09 UTC+2 пользователь Chris Dodge написал:

Chris Dodge

unread,
Feb 11, 2015, 7:56:39 PM2/11/15
to edx-...@googlegroups.com
caesar2164 (a contributor to Open edX) has submitted what might be a bugfix for your issue. Do you want to try to apply the fix at https://github.com/edx/edx-platform/pull/6962 and let us know if it resolves your problem?

Best wishes,

Chris Dodge

Сергей Челюскин

unread,
Feb 12, 2015, 6:23:16 AM2/12/15
to edx-...@googlegroups.com
Thank U. Unfortunately, this does not solve the problem. This fix was already in my set. But once again I updated to the master version today. It did not help.

четверг, 12 февраля 2015 г., 2:56:39 UTC+2 пользователь Chris Dodge написал:

Сергей Челюскин

unread,
Feb 13, 2015, 7:09:25 AM2/13/15
to edx-...@googlegroups.com
in the edx-platform/common/djangoapps/course_modes/models.py line 253
Returns the minimum price of the course in the appropriate currency over all the course’s 
non-expired modes.
If there is no mode found, will return the price of DEFAULT_MODE, which is 0

I'm surprised how it worked before? Default slug is "honor", default price is 0. 




среда, 11 февраля 2015 г., 15:20:51 UTC+2 пользователь Сергей Челюскин написал:

Chris Dodge

unread,
Feb 13, 2015, 9:02:26 AM2/13/15
to edx-...@googlegroups.com
I believe that the PR that is at https://github.com/edx/edx-platform/pull/6962 (it has not yet been merged in) will likely fix your problem. Please try patching your system with the code changes contained in that PR.

Сергей Челюскин

unread,
Feb 13, 2015, 9:45:09 AM2/13/15
to edx-...@googlegroups.com
It works, thank you very much!

пятница, 13 февраля 2015 г., 16:02:26 UTC+2 пользователь Chris Dodge написал:

Andy

unread,
Dec 22, 2016, 10:46:18 AM12/22/16
to General Open edX discussion
i want to give certificates to all the registered users after completing the course. is  there any way to provide  to staff member while creating the course  or adding an option in advanced settings? 
Reply all
Reply to author
Forward
0 new messages