skip to Main Content

try to make a custom form and send mail when user submit that form but page not work always get 404 error when try to submit page

i am follow this tutorial to make page

https://inchoo.net/magento/magento-email/magento-custom-email-contact-form-with-notification-system/

i am using magento version 1.9

copy code in following path

i am using custom magento theme dukan

2

Answers


  1. what kind of error do you have? where do you going? mage.test/mail/index or another adress?? push yours zip archive of project. I will check and say to you

    Login or Signup to reply.
  2. go to design yuor phtml file, find this :

    /app/design/frontend/base/default/template/inchoo/
    

    find this:

    <form id="simple_contact_form" name="simple_contact_form" action="<?php echo $this->getUrl('inchoo-simplecontact/') ?>index/sendemail" method="post">
    

    and change it to –

    <form id="simple_contact_form" name="simple_contact_form" action="<?php echo $this->getUrl('inchoo-simplecontact/index/sendemail') ?>index/sendemail" method="post">
    

    if it was helpful, tap +1 and answer 🙂

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search