Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
736 Lượt xem

How can I make it so that my clients, who have already purchased my eLearning courses, can quickly access the courses from my website?

I managed to add a template that already includes a login, but that login takes them to a "My Account" menu where they can only see information as a customer: name, invoices, payment methods, connection and security. However, I haven’t been able to add a button that quickly redirects my clients to the courses they’ve already paid for.

Is there a way to do this?

Version 18.0+e

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Yes, you can add a "My Courses" button to the "My Account" page in Odoo to let clients quickly access their purchased eLearning courses. This involves extending the portal.my_home template to include a button that links to a new route, like /my/courses. Then, create a controller to display only the courses the logged-in user has access to—typically filtered by their group membership or purchase history. Finally, design a simple template to list those courses with links. This creates a seamless way for clients to go directly to their learning content after logging in.


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 23
1394
3
thg 9 25
2146
Login Website Đã xử lý
3
thg 10 25
149265
1
thg 9 25
1307
4
thg 9 25
6044