Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default remove special instructions

    is there a setting on admin or do we still have to use this option?

    tpl_checkout_payment_default.php
    tpl_checkout_shipping_default.php

    and move them to my custom overrides directory.

    the code i changed was as follows:

    tpl_checkout_payment_default.php:

    Comment out lines 178 - 182

    <fieldset>
    <legend><?php echo TABLE_HEADING_COMMENTS; ?></legend>
    <?php echo zen_draw_textarea_field('comments', '45', '3'); ?>
    </fieldset>

    tpl_checkout_shipping_default.php:

    Comment out lines 117 - 120

    <fieldset class="shipping" id="comments">
    <legend><?php echo TABLE_HEADING_COMMENTS; ?></legend>
    <?php echo zen_draw_textarea_field('comments', '45', '3'); ?>
    </fieldset>

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: remove special instructions

    There is not an admin switch. Just remove the section of code from the templates and put the changed copies in your overrides.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Re: remove special instructions

    Hi Kim,
    I manage to remove them from the payment and shipping templates, but can you tell me which part of the code in the checkout_confirm template to comment out? I'm new to php and don't want to mess up commenting out the wrong code.
    Thanks!

  4. #4
    Join Date
    Oct 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: remove special instructions

    Quote Originally Posted by ebaobao View Post
    Hi Kim,
    I manage to remove them from the payment and shipping templates, but can you tell me which part of the code in the checkout_confirm template to comment out? I'm new to php and don't want to mess up commenting out the wrong code.
    Thanks!
    In my template it was around lines 91 ->96
    Code:
    <!--
    <h2 id="checkoutConfirmDefaultHeadingComments"><?php echo HEADING_ORDER_COMMENTS; ?></h2>
    <div class="buttonRow forward"><?php echo  '<a href="' . zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_EDIT_SMALL, BUTTON_EDIT_SMALL_ALT) . '</a>'; ?></div>
    <div><?php echo (empty($order->info['comments']) ? NO_COMMENTS_TEXT : nl2br(zen_output_string_protected($order->info['comments'])) . zen_draw_hidden_field('comments', $order->info['comments'])); ?></div>
    <br class="clearBoth" />
    -->

  5. #5
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: remove special instructions

    Hi, I'm also trying to remove the special instructions box completely, but I'm a bit lost. I cannot find a file called tpl_checkout_payment_default.php

    I found the other one but lines 117-20 dont look like you describe. Please help!

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: remove special instructions

    It's now lines 200-203

    <fieldset>
    <legend><?php echo TABLE_HEADING_COMMENTS; ?></legend>
    <?php echo zen_draw_textarea_field('comments', '45', '3'); ?>
    </fieldset>


    tpl_checkout_payment_default is in includes/templates/template_default/templates and after you edit it, it goes in includes/templates/YOUR_TEMPLATE/templates

  7. #7
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: remove special instructions

    Hi thanks, I was just about to reply and say not to worry as i'd figured it out. But thank you

    I'm now finding lots of little niggling things I need to fix i.e removing a payment radio button option from the checkout, can not find this in the forums but have started a thread hopefully someone out there can help....

 

 

Similar Threads

  1. Special Instructions wrapping??
    By michaelchu in forum Managing Customers and Orders
    Replies: 0
    Last Post: 9 Jan 2012, 06:03 PM
  2. special instructions input
    By charliepingpong in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Nov 2011, 06:53 AM
  3. Remove Special Instructions
    By solarchart in forum Templates, Stylesheets, Page Layout
    Replies: 21
    Last Post: 27 Apr 2009, 08:34 AM
  4. Special shipping instructions
    By isaacr25 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 16 Oct 2008, 07:45 PM
  5. Remove Special Instructions box
    By dirtyweekender in forum Basic Configuration
    Replies: 2
    Last Post: 29 Feb 2008, 11:12 PM

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