What change can I do (on the usergroup , webpages, ...) as to make the page Shop and Shopping Cart only visible to the customers that are logged in?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hello,
You can add a rule in the HTML so that only internal users and logged in users can see the page.
To do that:
1. Specify that only members of the Internal User and Portal groups should have access to the Shop Menu, by adding the groups to the Menu like this:
2) Then go here:
Shop page --> customise Theme --> HTML/CSS/JS Editor and click on it
Add a base group at the end of the path t name = products etc
Should look like this:
2) For the shopping cart in the XML look for Header Cart Link and add the same base group at the end of the path starting with t-set show_cart as per above picture.
Hope helps you :)
This works great, with the exception that it brings up a completely blank page which is a bit misleading for user while not logged in.
Would you know how they could rather be redirected to view the sign-in page? To make the solution intuitive and complete the process.
Many thanks in advance!
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
3
thg 8 23
|
5336 | ||
|
0
thg 4 25
|
953 | ||
|
1
thg 5 24
|
3505 | ||
|
1
thg 4 24
|
2322 | ||
|
0
thg 4 24
|
1660 |