Community Add-Ons

Maintainers: my-osc2000
Add file to this package
Top » Templates and Themes

More useful contact us Form, including customer IP recorder and Email Subject on contact us form
for osCommerce Online Merchant v2.2

I have made the " contact us" form more useful. this include two function.
1. add " Email subject " in contact us form, when people fill out the " contact us " form, for example, the people enter" how to buy " as the email subject when they fill in the form. then you will receive an email , which subject will be :
how to buy // Enquiry from "my sotre name..."

2. also, in the email you received, there will be an IP address listed after the email content .
e.g.

IP : 202.23.12.98

with this, you will be able to know who is contacting you using the "contact us " form .

if you have any trouble or questions, please contact me , using this form ,



http://www.365lowprices.com/contact_us.php




I will be glad to help you .
thanks.


Legend:  Download   Report
Expand All / Collapse All
small bugs fixed my-osc2000 1 Aug 2006  

if you see "ENTRY_CUSTOMER_SUBJECT " rather than " Subject " after installing this contribution, please do the following modification.

In includes/languages/english/contact_us.php

Add:
// BEGIN CUSTOMER SUBJECT
define('ENTRY_CUSTOMER_SUBJECT', 'Subject:');
// END CUSTOMER SUBJECT


if you use other language, just do modification in this catagory ,

In includes/languages/"other language you use"/contact_us.php

after correcting, the contact us form should seems like this

<a href="http://www.365lowprices.com/contact_us.php">http://www.365lowprices.com/contact_us.php</a>

More useful contact us Form, including customer IP recorder and Email Subject on contact us form my-osc2000 31 Jul 2006