2015-09-28 77 views
0

我搜索了網絡找到解決方案,但我能找到的所有東西在我的情況下都不起作用。我有一個聯繫CMS頁面https://example.com/contact-usMagento聯繫表單提交404頁面提交?

窗體顯示正常。當我填寫數據並點擊提交按鈕時,它會給我404錯誤。

我嘗試了表單URL的所有可能的URL,但他們都沒有工作到目前爲止。這是我目前使用的:

{{block type="core/template" name="contactForm" form_action="https://example.com/index.php/contacts/index/post/" template="contacts/form.phtml"}} 

https可以是問題嗎?如果不是,我還能嘗試什麼?

謝謝!

回答

0

試試這個:

{{block type="core/template" name="contactForm" form_action="/contacts/index/post" template="contacts/form.phtml"}} 

{{block type="core/template" name="contactForm" form_action="{{store direct_url='contacts'}}/index/post" template="contacts/form.phtml"}} 

請注意form_action。

+0

不工作,沒有一個。 – Arnie

+0

你可以發佈你的網站的網址嗎? –