Here is a use case that we’d like to implement.
The Course should not be visible on any listing. Even if you know the course URL, you should not be able to load it. With the plugin and by entering the license key that the students were given, they should be able to enroll in the Course and see it under their profile.
It looks like if the Course is marked as “Private”, it should do the job, but no, it does not work because the private courses do not show under your profile page after you enroll.
Can you suggest a workaround or solution to see private courses that you are enrolled in, under your Profile page and work on them?
This is a use case that is very applicable for environments where you have a large number of small courses and you don’t want all students to see all courses. For example, a school or college.
]]>I installed ALMS on a fresh dev-site and also added WooCommerce.
I have created a course & connected with a Woo-Product, but now I want to be able to streamline the purchase-process.
Currently, it requires the visitor to apply many clicks, before he finishes the purchase and gets enrolled.
I would like to replace the “Add to cart” button with a “Buy now” button, which will automatically add the product to the cart and redirects the visitor to the checkout.
How can I achieve this?
I have already tried to apply this code-snippet:
function redirect_to_checkout() {
// Check if the user is on a product page or the shop page
if (is_product() || is_shop()) {
// Redirect to the checkout page
wp_safe_redirect(wc_get_checkout_url());
exit;
}
}
add_action('template_redirect', 'redirect_to_checkout');
but it does not work on ALMS-course-pages.
Can you help me with this?
Kind regards
Sascha
First, I registered the user as a Subscriber in WP’s native USER feature.
Then, I clicked on Orders in LearnPress, switched the user to the new student, and changed it to COMPLETED.
Then, I clicked on Add Items. It shows me all my courses, I choose the course to assign to the student, but it doesn’t add, it remains blank in the enrolled courses section, and the student is not added to the course.
P.S.: I have the latest versions of WP and LearnPress. In Pricing, it’s not marked that the student can view without enrolling.
Print error: https://drive.google.com/file/d/1xKhUeQPTnG_FYHWjnYjm3cjO6aF7H_1T/view?usp=sharing
]]>very frustrating
]]>Piotr
]]>I have set all instructor and student’s registration pages.
]]>