콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5217 화면

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?

아바타
취소
베스트 답변

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:


You would get to this screen by navigating to the Website App, then Configuration --> Menus


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!

관련 게시물 답글 화면 활동
3
8월 23
5571
0
4월 25
1129
1
5월 24
3820
1
4월 24
2455
0
4월 24
1822