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

Hello,

I've created a custom module to hide some contents in the shop product web page for unregistered users.

When the public user clicks on the button 'show contents' he will be redirected to the signup page, once he register he should be redirected to the same page (product page) to see the hidden content

Here's my code:

<a class="btn btn-primary mb16 mt16" href="/web/signup?redirect=/shop">
 <span class="hidden-xs">Show content</span>
 <span class="visible-xs-inline">showcontent</span>
</a>


In my code (href tag) I redirected the user to the shop page because I don't know how to redirect him to the product page itself.

Can anyone give me a hint how to achieve it. Thanks

아바타
취소
관련 게시물 답글 화면 활동
0
6월 22
2844
0
8월 22
2722
2
11월 17
6976
4
10월 17
10901
1
10월 17
4165