Plugin Author
Bob
(@prasunsen)
Namaste Pro is compatible with both WooCommerce and Simple Paypal Shopping cart.
So you want the same course to be sold for different prices?
Correct. As one price is without one to one tuition and the other is without tuition.
Which do you recommend, Woocommerce or Simple? Not heard back from client yet as going with Pro.
Plugin Author
Bob
(@prasunsen)
WooCommerce is heavier and more complicated, but with more options. Wp Simple shopping cart is well, simple and easy.
The client is not willing to pay for the upgrade to Pro to incorporate a shopping cart.
I’ve created a new course ‘… With Tuition’ and have tried to add some code to course-model.php so that if the user enrolls for the ‘with tuition’ course they also enroll for the ‘without tuition’ course but when I Update Namaste LMS deactivates.
Is there a block of some kind on modifying the code? If so how can I get it so if a user enrolls to the course ‘with tuition’ they get access to the lessons wihtout me having to duplicate all the lessons.
Trying to get this to work appear to have partially crashed Namaste.
inserted this code into the last line of Models/course-model.php
if($course_id = “991” && !NamasteLMSStudentModel :: is_enrolled($user_ID, ‘624’)) {
$course_id = “624”;
$_course = new NamasteLMSCourse();
$_course->enroll($student_id, $course_id, ‘enrolled’);
$course_id = “991”;
}
which caused namaste to disable and course-model.php to be deleted.
Worse still when I tried to upload a backup of the original php file via ftp I get the following error message : 553-can’t open that file: invalid argument.
Backup software nto working either.
I don’t want to have to uninstall and reinstall namaste as I woudl lose all the courses and lessons (quite a few of them) currently set up.
Have you ever encountered this problem working on namaste? Failing that, which folders / files will I need to backup and replace in order for the course content not to be lost?
Having just changed packages with my web hosting co. I had exceeded my allocated space. Forget the above comment.