Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2008
    Posts
    23
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default 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:-

    HTML Code:
    <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):-
    HTML Code:
    <!--<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.
    20 years a Zencart User

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default 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).
    20 years a Zencart User

 

 

Similar Threads

  1. remove special instructions
    By ebaobao in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 26 Feb 2010, 01:47 PM
  2. Remove Special Instructions
    By solarchart in forum Templates, Stylesheets, Page Layout
    Replies: 21
    Last Post: 27 Apr 2009, 08:34 AM
  3. Removing special instructions box.
    By snowy2007 in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 27 Oct 2008, 11:56 AM
  4. Delivery Information Page - Special Instructions Box
    By tom2u in forum General Questions
    Replies: 1
    Last Post: 9 Apr 2007, 12:30 PM
  5. Special Instructions box issue
    By Parafanaylya in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 20 Jun 2006, 05:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg