shana-chan Posted January 19, 2006 Posted January 19, 2006 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!
osSea Posted January 19, 2006 Posted January 19, 2006 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.
shana-chan Posted January 19, 2006 Author Posted January 19, 2006 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
osSea Posted January 19, 2006 Posted January 19, 2006 :P Just kidding. :D Glad you got it working, fellow code warrior!
OutsideTheBox Posted January 20, 2006 Posted January 20, 2006 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]
Guest Posted January 20, 2006 Posted January 20, 2006 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.