how can i edit page which is displaying after successful send contact form in magento? I got these addresses: 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)
?
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.
转到 app/code/core/mage/contacts/controller/indexcontroller.php 转到 post action,您会发现 $this->_redirect() 将其更改为根据您的要求在提交表单后发送。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.