Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add text to contact us page


Guest

Recommended Posts

Hi,

 

Im trying to add text to the contact us page of my site.

 

I just want to add the busineess address and telephone number but unlike the other files such as the index.php file in includes/languages/english it has a field:

 

define('TEXT_INFORMATION', 'text will go here');

 

Then the text will be displayed.

 

On the contact us page there is no field to put text in so i tried dropping it into the code but it just gives out errors.

 

define('TEXT_SUCCESS', 'Your enquiry has been successfully sent to the the team at Go Faster Bits.');
define('EMAIL_SUBJECT', 'Enquiry from ' . STORE_NAME);

define('TEXT_INFORMATION', 'text will go here');

define('ENTRY_NAME', 'Full Name:');
define('ENTRY_EMAIL', 'E-Mail Address:');

 

Is there any way i can get this to work or another way to add teh business address and telephone number to the contact us page?

 

Thanks in advance

Link to comment
Share on other sites

the above should work and then on catelog/contact_us.php put this in the place you want it to show up

<tr>

<td class="main"><?php echo TEXT_INFORMATION; ?></td>

</tr>

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

There is also a contribution available which will add your address and tel numbers as per the info you add in your admin section (Admin>Configuration>My Store>Store address and phone). You can find the Contrib here: http://www.oscommerce.com/community/contributions,3250

I find it useful if you ever change your contact details, no need to edit your details in more than one place. Hope that helps.

 

Scott

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...