Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的商店中,当会话到期时,单击我的帐户,用户将重定向到登录页面,但我想将其更改为主页。
所以,如果有人可以帮助我,我很高兴。我会继续尝试这样做,如果我找到了我会在这里发布的方法。
谢谢。
终于我找到了答案!
文件:app/code/core/mage/custoumer/model/session.php
app/code/core/mage/custoumer/model/session.php
线路:266
$action->setRedirectWithCookieCheck(Mage_Customer_Helper_Data::ROUTE_ACCOUNT_LOGIN, Mage::helper('customer')->getLoginUrlParams() );
你只需要改变常数Mage_Customer_Helper_Data::ROUTE_ACCOUNT_LOGIN
Mage_Customer_Helper_Data::ROUTE_ACCOUNT_LOGIN
这是所有的了!