New Zenner
- Join Date:
- Feb 2008
- Posts:
- 23
- Plugin Contributions:
- 0
Remove Special Instructions box
Hi
is there any way to remove the
"Special Instructions or Order Comments" on the payment information page of the checkout?
Views: 2,503
New Zenner
Hi
is there any way to remove the
"Special Instructions or Order Comments" on the payment information page of the checkout?
Totally Zenned
This appears as a fieldset I think - on a couple of files at least.
Start with:-
includes/templates/template_default/templates/tpl_checkout_shipping_default.php
Make a COPY of this on your hard drive.
Find (probably close to the end of the file) the section:-
<fieldset class="shipping" id="comments">
<legend><?php echo TABLE_HEADING_COMMENTS; ?></legend>
<?php echo zen_draw_textarea_field('comments', '45', '3'); ?>
</fieldset>
and COMMENT it out (ie: use <!-- and --> tags):-
<!--<fieldset>
<legend><?php echo TABLE_HEADING_COMMENTS; ?></legend>
<?php echo zen_draw_textarea_field('comments', '45', '3'); ?>
</fieldset>-->
SAVE the file.
LOAD the edited file to your OVER-RIDES directory:-
includes/templates/YOUR_TEMPLATE/templates
You will need to find similar references on other tpl_xxx.php
Look for the ones with tpl_checkout_xxxxxx.php
Again, work on a COPY of the file. Then FTP the EDITED file to your over-rides directories.
TEST THE WHOLE CHECKOUT PROCEDURE! INCLUDING THE E-MAIL CONFORMATION! If my suggestions mess things up, REVERT to the original files (which should be safely untouched in their original directories.
Totally Zenned
You could also try some CSS.
In stylesheet.css...
ADD the following:-
#comments {
display: none;
}
(The only issue here is that the COMMENTS fieldset is not always given a CSS class or ID. You would have to EDIT the tpl_xxxx.php files to add the CLASS or ID to this filedset, wherever it occurs).
Tell staff why this post should be reviewed.