Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Removing special instructions box.

    Hi all - Is there any way I can completely remove the "Special Instructions or Comments About Your Order" box from the checkout process. Customers are using it to put special delivery instructions in such as "Please leave parcel with neighbour". Unfortunately our carrier won't allow that.

    Many thanks.

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Removing special instructions box.

    We found that the best way to tackle this is to KEEP the comments box, but add some custom text just under the section header, telling people that shipping was "signed-for receipt only" and that shipped goods could not be left with neighbours etc.

    People still like to have the option to send a message with their order, so try to keep the facility operative.

    One way to add the custom text is to Hard-Code it into:

    /includes/templates/template_default/templates/tpl_checkout_shipping_default.php .

    ... remembering of course that once you've made the edit, to put that file into:

    /includes/templates/YOUR-CUSTOM-TEMPLATE/templates/

    ... so that you comply with the over-ride system.

    Find this section of code, near the bottom of the file:

    PHP Code:
    <fieldset class="shipping" id="comments">
    <legend><?php echo TABLE_HEADING_COMMENTS?></legend>
    <?php echo zen_draw_textarea_field('comments''45''3'); ?>
    </fieldset>
    ... and add your custom message:-

    PHP Code:
    <fieldset class="shipping" id="comments">
    <legend><?php echo TABLE_HEADING_COMMENTS?></legend>
    <br />Please note: All shipping options are signed-for receipt. We are therefore unable to leave goods unattended at your delivery address, or with your neighbours. Please see our shipping and delivery policy for more details.<br />
    <?php echo zen_draw_textarea_field('comments''45''3'); ?>
    </fieldset>
    ----------------------------

    However, the simplest way to HIDE the section completely is to add this to the bottom of your stylesheet.css:-

    Code:
    #checkoutComments {display: none;}

  3. #3
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Re: Removing special instructions box.

    Hi fairestcape. Thanks V much for the advice. Whilst waiting for a reply I have already done something similar by adding the message to the following files :

    includes/languages/english/checkout_confirmation.php
    includes/languages/english/checkout_payment.php
    includes/languages/english/checkout_shipping.php

    in the section :

    define('TABLE_HEADING_COMMENTS'


    Have i done the wrong thing or will this work just fine?

    Many thanks.

  4. #4
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Re: Removing special instructions box.

    Quote Originally Posted by fairestcape View Post
    ----------------------------

    However, the simplest way to HIDE the section completely is to add this to the bottom of your stylesheet.css:-

    Code:
    #checkoutComments {display: none;}
    Hi - I tried to add that code to bothe the following files :

    includes/templates/template_default/css/stylesheet.css

    and

    includes/templates/classic/css/stylesheet.css

    And it still displays the special order comments box?

    Any ideas please?

  5. #5
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Removing special instructions box.

    Try this one:

    Note that it will neutralize all displays of divs that are governed by "#comments" - if these exist elsewhere in ZC.
    Code:
    #comments {display: none;}

  6. #6
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Re: Removing special instructions box.

    Quote Originally Posted by fairestcape View Post
    Try this one:

    Note that it will neutralize all displays of divs that are governed by "#comments" - if these exist elsewhere in ZC.
    Code:
    #comments {display: none;}
    Thanks V much for the reply.

    I might just keep the message in that I have already put there - With regards to my earlier post about the files that I changed the text in :

    includes/languages/english/checkout_confirmation.php
    includes/languages/english/checkout_payment.php
    includes/languages/english/checkout_shipping.php

    Will that be OK or should I change them back and just change it in the file you mentioned?

    Also, even with the message there some people are STILL putting delivery instructions in the box! How would I change the text colour of some parts of the message to RED ??

  7. #7
    Join Date
    Mar 2008
    Posts
    100
    Plugin Contributions
    0

    Default Re: Removing special instructions box.

    Sorry to bump this but could anyone please answer my question above re the files I have modded ? Many, many thanks in advance.

  8. #8
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Removing special instructions box.

    Please put up your website address so I can see what you have currently done. (I use one-page checkout on my sites and the configuration is different, so I can't use my sites to test this.) I will have to register as a customer to see the checkout pages.

  9. #9
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Removing special instructions box.

    On one of our sites we display the message like this:-



    and the HTML that makes it look like this is:

    <br /><b><font color="#ff0000">Please note:</font></b> All shipping options are signed-for receipt. We are therefore unable to leave goods unattended at your delivery address, or with neighbours. <a href="index.php?main_page=shippinginfo">GO HERE</a> for details.<br />

    This HTML is hard coded into

    tpl_checkout_shipping_default.php

    as described in my post above.

 

 

Similar Threads

  1. How can I hide the Special instructions box on checkout?
    By benn600 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 26 Feb 2010, 01:08 PM
  2. Add item to breadcrumb and Special Instructions box
    By jordanwb in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Mar 2009, 06:31 PM
  3. Remove Special Instructions box
    By dirtyweekender in forum Basic Configuration
    Replies: 2
    Last Post: 29 Feb 2008, 11:12 PM
  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