Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help modify the contact_us page


Tzig

Recommended Posts

Hi,

I want to add my company information above the contact us form and I have edited the catalog/includes/languages/italian/contact_us.php page:

define('HEADING_TITLE', 'Contattaci');
define('NAVBAR_TITLE', 'Contattaci');
define('TEXT_SUCCESS', 'La sua domanda ? stata inviata al webmaster..');
define('EMAIL_SUBJECT', 'Domanda riguardante ' . STORE_NAME);

define('SHOP_INFO', '<p><b>EMC elettronica Srl <br />Vicolo Cieco 3 <br />00047 Marino (Roma)</b></p> <p><b>[email protected] <br />Tel: 0693802077 <br />Fax: 0693802077</b></p>')

define('ENTRY_NAME', 'Nome e cognome:');
define('ENTRY_EMAIL', 'Indirizzo E-Mail:');
define('ENTRY_ENQUIRY', 'Domanda:');
?>

and the catalog/contact_us.php page:

<tr>
	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	  <tr class="infoBoxContents">
		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
		  <tr>
			  <td class="main"><?php echo SHOP_INFO; ?></td>
		  </tr>
		  <tr>
			<td class="main"><?php echo ENTRY_NAME; ?></td>
		  </tr>
		  <tr>
			<td class="main"><?php echo tep_draw_input_field('name'); ?></td>
		  </tr>
		  <tr>
			<td class="main"><?php echo ENTRY_EMAIL; ?></td>
		  </tr>
		  <tr>
			<td class="main"><?php echo tep_draw_input_field('email'); ?></td>
		  </tr>
		  <tr>
			<td class="main"><?php echo ENTRY_ENQUIRY; ?></td>
		  </tr>
		  <tr>
			<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
  </tr>

 

And now the contact_us page it shows blank.

Can anyone help me please!!!

I don't have any php acknowledge but I learn very fast.

Contributions used: italian payment - Bonifico Bancario; Dynamic Meta Tags 1.0; Italian language for 2.2MS2; PayPal IPN Module v1.0; Purchase Without Account; Register Globals; Back buttons

Do you recommend me any other contribution?

Here is My Store, tell me how can I improve it!

Link to comment
Share on other sites

:blush: thank you so much!

I didn't noticed there is a ";" missing

It's working now.

Contributions used: italian payment - Bonifico Bancario; Dynamic Meta Tags 1.0; Italian language for 2.2MS2; PayPal IPN Module v1.0; Purchase Without Account; Register Globals; Back buttons

Do you recommend me any other contribution?

Here is My Store, tell me how can I improve it!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...