跳至内容
菜单
此问题已终结
3008 查看

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
2843
0
8月 22
2722
2
11月 17
6974
4
10月 17
10900
1
10月 17
4165