Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Infomation to the Contatct Page


JessieWA

Recommended Posts

Posted

Hi,

 

I am trying to add some basic contact info (address, phone, etc.) to the includes > Languages > English > contact_us.php.

 

I think I have correctly added the PHP necessary to do this, but it isn't working. I am very new to PHP so I was wondering if I am doing something wrong or if this is not possible.

 

Here is the code. Any help or suggestions would be greatly appreciated.

 

 
define('HEADING_TITLE', 'Contact Us');
define('NAVBAR_TITLE', 'Contact Us');
define('TEXT_INFORMATION', 'If you do not see what your are looking for give us a call. We would be more than happy to help you find exactly what it is your are looking for. <br>
<b>Company Names</b><br>
123 1st Avenue North<br>
Town, MT 12345<br><br>
<b>(123) 727-000</b>');
define('TEXT_SUCCESS', 'Your enquiry has been successfully sent to the Store Owner.');
define('EMAIL_SUBJECT', 'Enquiry from ' . STORE_NAME);

define('ENTRY_NAME', 'Full Name:');
define('ENTRY_EMAIL', 'E-Mail Address:');
define('ENTRY_ENQUIRY', 'Enquiry:');
?>

Posted

There is a very nice add-on for the contact page you can find it here and in use in my live store here

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Posted
Hi,

 

I am trying to add some basic contact info (address, phone, etc.) to the includes > Languages > English > contact_us.php.

 

I think I have correctly added the PHP necessary to do this, but it isn't working. I am very new to PHP so I was wondering if I am doing something wrong or if this is not possible.

 

Here is the code. Any help or suggestions would be greatly appreciated.

 

 
define('HEADING_TITLE', 'Contact Us');
define('NAVBAR_TITLE', 'Contact Us');
define('TEXT_INFORMATION', 'If you do not see what your are looking for give us a call. We would be more than happy to help you find exactly what it is your are looking for. <br>
<b>Company Names</b><br>
123 1st Avenue North<br>
Town, MT 12345<br><br>
<b>(123) 727-000</b>');
define('TEXT_SUCCESS', 'Your enquiry has been successfully sent to the Store Owner.');
define('EMAIL_SUBJECT', 'Enquiry from ' . STORE_NAME);

define('ENTRY_NAME', 'Full Name:');
define('ENTRY_EMAIL', 'E-Mail Address:');
define('ENTRY_ENQUIRY', 'Enquiry:');
?>

in catalog/contact_us.php

 

you will need to add where you want it to display

		   <tr>
		<td class="main"><?php
	  /* Show Store Name, Address, Location & Phone */	
	 echo TEXT_INFORMATION; ?>
			</td>
	  </tr>

 

Steve

Posted

Thanks Steve! Worked great! I knew that I had to do something to the other contact form but I wasn't sure what.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...