Post by danj9700 » Fri Nov 04, 2016 10:09 am

Hi, I'm sick of trying to get the contact form working, tried for 3 days nothing works. All order confirmation, shipped confirmation etc. is working fine under Mail setting.
The customer get the emails OK.

When a customer use the contact form he/she get a reply "Thank you for contacting us" sent.
Buy I don't get the message sent to my inbox from the contact form (Mail protocol set to Mail).

I have tried the Settings system/settings/mail/ Mail protocol set to SMTP.

Setting "SMTP" after contact form filled in and send is clicked, it goes to a blank page and nothing is happening.

Now. I have given up and wants the contact us go directly to a mailto: command.

How and where can I do that?

Sorry I'm only a user of Opencart and have a limited programming experience.

If anyone could help me would be great.
Opencart 2.0.3.1

Newbie

Posts

Joined
Thu Sep 03, 2015 12:30 pm

Post by knowband.plugins » Fri Nov 04, 2016 5:31 pm

You need to edit file /catalog/view/theme/default/template/information/contact.tpl

Don't forget to make its backup first, just in case.

Now search for <div class="col-sm-3">

You will find it at 8 places.

Now, add below code just above the 4th search result.

Code: Select all

<div class="col-sm-3"><strong><?php echo "Mail To"; ?></strong><br />
             <a href="mailto:email@example.com?Subject=Customer inquiry from mywebsite.com" target="_top">email@example.com</a>
             </div>
Let us know if you face any issue. If you are interested in fixing the contact form, feel free to contact us. We can debug it for you.

Regards,
Knowband Team

Opencart Plugins: Knowband Store
Email: support@knowband.com


User avatar
Active Member

Posts

Joined
Thu Aug 04, 2016 2:56 pm
Who is online

Users browsing this forum: No registered users and 86 guests