Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing the Comment text box in the checkout_shipping page


shana-chan

Recommended Posts

Posted

Yep, like the title says, I want to get rid of the comment box in the first checkout page, since both comment boxes will hold the same information, and I'd rather that the people just type it in once, rather than typing one thing in the first box, and something different in the second, and then getting mad at me because I didn't get the first information. :-"

 

This is probably an easy fix, but if someone could get back to me ASAP, I'd really appreciate it!

Posted

Hi Shanelle. In /catalog/checkout_shipping.php look for this:

 

	  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
	  <tr>
		<td class="main"><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td>
	  </tr>
	</table></td>
  </tr>
  <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><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5'); ?></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>

 

and change it to this:

 

<?php /* ### - commented out comments box
  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
	  <tr>
		<td class="main"><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td>
	  </tr>
	</table></td>
  </tr>
  <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><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5'); ?></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
*/ ?>

 

Voila! No more comment box on the shipping page.

 

Cheers.

Posted
Yep, like the title says, I want to get rid of the comment box in the first checkout page, since both comment boxes will hold the same information, and I'd rather that the people just type it in once, rather than typing one thing in the first box, and something different in the second, and then getting mad at me because I didn't get the first information. :-"

 

This is probably an easy fix, but if someone could get back to me ASAP, I'd really appreciate it!

 

Nevermind, I fixed it!

 

What you do is go into catalog/checkout_shipping.php and find this code:

 

<tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
	  <tr>
		<td class="main"><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td>
	  </tr>
	</table></td>
  </tr>
  <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><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5'); ?></td>
		  </tr>
		</table></td>
	  </tr>
	</table></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>

 

And then delete it. ^_^ No more comment box on the first checkout page. :3

Posted

Ok - but now, do you know how to change the text that says, "Add Comments About Your Order" to something different? I'm a service industry, so I need to ask them for their Account Name and Password that is relavent to the service which I will be providing my services on. (Not their Username and Password within osCommerce).

 

I just need to know what file contains the text that displays that line.

 

[email protected]

Posted

Sorry if this winds up posting twice...

 

Catalog/Includes/Languages/PICKYOURLANGUAGE/checkout_payment or checkout_shipping, depending on which you are using, contain the "Add Comments About Your Order" text

Archived

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

×
×
  • Create New...