[英]Change design redirect page after send contact form in magento
how can i edit page which is displaying after successful send contact form in magento?如何编辑在 magento 中成功发送联系表格后显示的页面? I got these addresses:
domain.com/contacts/index/post
.我得到了这些地址:
domain.com/contacts/index/post
。 I don't know how to edit it or only display statement on previous page in js (domain.com/contact)
?我不知道如何编辑它或只在 js
(domain.com/contact)
上一页显示声明?
By default you don't have such page.默认情况下,您没有这样的页面。 After submitting the contacts form you are redirected to the page you were before that (in most cases
/contacts
) with corresponding status message.提交联系人表单后,您将被重定向到之前的页面(在大多数情况下是
/contacts
),并带有相应的状态消息。
转到 app/code/core/mage/contacts/controller/indexcontroller.php 转到 post action,您会发现 $this->_redirect() 将其更改为根据您的要求在提交表单后发送。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.