Vailry Posted July 4, 2018 Share Posted July 4, 2018 Hello there! I'm currently modifying my customersignin.tpl and wanted to add a Sign up button which'll link to the 'create account' form. I added the following code to my customersignin.tpl <a class="no-account" href="{$url_for_register}" data-link-action="display-register-form" title="{l s='No account? Create one here' d='Shop.Theme.Customeraccount'}" > <span class="">{l s='Sign up' d='Shop.Theme.Actions'}</span> </a> This snippet however doesn't work. If I hover over the link in my browser it only links to the current page. Whereas the other links have "my-account" and cart?action=show behind them. Link to comment Share on other sites More sharing options...
Vailry Posted July 4, 2018 Author Share Posted July 4, 2018 I solved the problem. It changed from %url_for_register to $urls.pages.register Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now