Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing CONTACT US page.


DazJ

Recommended Posts

Posted

Hi!

 

First of all, I just want to say what an amazing program OSCommerce is. It's a brilliant piece of work and I'm very thankful for it.

 

Right, my question...My host has tweaked send_mail so that emails from my website can only be sent to customers with the same email as my host. Pathetic, I know.

 

So, what I'm wanting to do is simply change the CONTACT US, remove the fields, and have it simply say:

 

"If you have any queries, comments or suggestions then please send us an email at [email protected]"

 

How do I go about this?

 

Any help would be much appreciated.

 

Thanks in advance!

 

Yours, Daz.

Posted

You just answered your own question, take out everything you don't need ( all the dynamic code ) and replace it with just plain old text. You don't even need to get into the guts of the program - be careful and back up

 

Also - Jeff is correct - if you can only send mail in your own domain - then your hosting company has serious issues with security - there is no reason sendmail should care about what domain you are on or sending too. Sounds like them trying to upsell you into something.

Nothing unreal exists

Posted

Thanks for the suggestions, lol...Yeah I know, I'm wanting a new host myself but in the meantime, which file do I edit (which folder) and what do I delete and what do I not delete?

 

Cheers!

Posted

ok - so catalog/contac_us.php is the file - now, what you delete is up to you - just remember to copy the original to a place you won't destroy it and mess with it a bit - it'll be easier in the future if you make some "blind" modifications ands ee what happens - if you have a working backup copy, you can do whatever and go right back to the original if need be.

 

Having said that on contact_us.php

 

you can comment out the code, so you are really not deleting anything

 

like take this:

<?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?>

 

and change it to this:

 

<?php //echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?>

 

All you've done is hiddent the code from execution. Try that, and then in one of the table cells:

 

<td>Just type in there and see what happens, if you have a backup you can be worry free in making any change!</td>

Nothing unreal exists

Posted
ok - so catalog/contac_us.php is the file - now, what you delete is up to you - just remember to copy the original to a place you won't destroy it and mess with it a bit - it'll be easier in the future if you make some "blind" modifications ands ee what happens - if you have a working backup copy, you can do whatever and go right back to the original if need be.

 

Having said that on contact_us.php

 

you can comment out the code, so you are really not deleting anything

 

like take this:

<?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?>

 

and change it to this:

 

<?php //echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?>

 

All you've done is hiddent the code from execution. Try that, and then in one of the table cells:

 

<td>Just type in there and see what happens, if you have a backup you can be worry free in making any change!</td>

 

Problem solved! Thankyou so much!

  • 4 weeks later...
Posted

Hi. I'm tring to insert my contact details (text) below the Contact heading. I can't seem to find the right place to insert the text in the code in the Catalog/Contact_Us file.

 

Is there any other way to do this?

 

Help! :angry:

Archived

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

×
×
  • Create New...