Zen Cart Logo
Forums / Basic Configuration / Remove Special Instructions box

Remove Special Instructions box

Locked

Views: 2,503

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
29 Feb 2008, 10:28 AM
#1
dirtyweekender avatar

dirtyweekender

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?

29 Feb 2008, 10:02 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Remove Special Instructions box

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.

29 Feb 2008, 10:12 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Remove Special Instructions box

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).