Question

I have magento website in domain and also in sub domain.

The domain website form work correctly i.e. $this->getRequest()->isPost() return true after form submission.

But the subdomain website form after submission $this->getRequest()->isPost() return false.

I also add the code : getFormKey(); ?>" />

after form tag then also it is not working.$this->getRequest()->isPost() return false.

Same code works in my local xampp server.

Please help me to solve this issue.

Était-ce utile?

La solution

It should be

$this->getRequest()->isPost()

and not

$this->getrequest()->ispost()

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top