如何在 magento 的标头中使用迷你登录?我还希望登录后禁用登录表单。
3474 次
1 回答
1
您需要customer.xml在 /app/design/frontend/PACKAGE_NAME/TEMPLATE_NAME/layout 中编辑您的文件
此代码将迷你登录表单添加到左列:
<customer_logged_out>
<reference name="left">
<block type="customer/form_login" name="mini_login" template="customer/form/mini.login.phtml" />
</reference>
</customer_logged_out>
于 2010-02-04T10:31:06.177 回答