:)
我目前正在编辑主题的customerignin.tpl,并希望添加一个“注册”链接。
这些是.tpl文件中使用的其他href类和href:
class="logout"
href="{$logout_url}"
class="account"
href="{$my_account_url}"
href="{$my_account_url}"
我不知道注册表的必需类(如果需要)和href是什么。我用
之类的东西猜了一下href="{$create_account_url}"
但最终,我无法随机击中它。
答案 0 :(得分:0)
要添加注册链接,您可以从经典主题提供的示例代码中了解一个想法。
类似的东西:
<a href="{$url_for_register}" data-link-action="display-register-form">
{l s='No account? Create one here' d='Shop.Theme.Customeraccount'} </a>
对于PS 1.7.2.4,可以在/themes/classic/templates/customer/authentication.tpl
中找到身份验证模板