Jump to content

Contact form


Recommended Posts

Hi,

I would like to allow the customer to put a subject in the contact form page. Currently, all the emails that I receive from customers are the same - ""shop_name" - message from customer"

Any help is much appreciated!

Link to comment
Share on other sites

Well this could get kind of hairy I guess but if you look at contact-us.php in the root you see that is calls Mail::Send. So that leads me to check the classes directory and there is a Mail.php file. In there is a function called Mail::Send. If it were me I would adjust what the subject is or I would adjust my form in the file and then have the function get that value from the form instead of where it gets it from now. Should be pretty straight forward I think. If this explanation is kind of lame or not enough detail then let me know and I will just do this to a test store and try to make a tutorial.

Link to comment
Share on other sites

×
×
  • Create New...