Author Topic: How to amend Contact Us Form  (Read 3110 times)

Offline ibnuzahari

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
How to amend Contact Us Form
« on: December 06, 2013, 11:04:18 PM »
Guys, any idea on how to amend the contact us form?
And how to direct it to the another email?

Thank You.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4305
  • Karma: +288/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to amend Contact Us Form
« Reply #1 on: December 06, 2013, 11:17:39 PM »
Currently main store email is used for contact us sending.

You can edit this in the file:
storefront/controller/pages/content/contact.php

Locate:
Code: [Select]
$mail->setTo($this->config->get('store_main_email'));


Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline ibnuzahari

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: How to amend Contact Us Form
« Reply #2 on: December 06, 2013, 11:42:51 PM »
which part should i replace with the new email?
i try to replace 'store_main_email' with the new one.
but seems no function.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4305
  • Karma: +288/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to amend Contact Us Form
« Reply #3 on: December 14, 2013, 02:13:03 PM »
You need to specify your custom email in the function just for contact us page.

Code: [Select]
$mail->setTo('your@email.com');
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod