Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2006
    Posts
    12
    Plugin Contributions
    0

    Default modification of checkout_shipping

    I need add a new text field below "Special Instructions or Comments About Your Order" field on the check out page. So I add

    Code:
    <fieldset class="shipping" id="partydate">
    <legend><?php echo TABLE_HEADING_PARTYDATE; ?></legend>
    <?php echo zen_draw_textarea_field('partydate', '45', '1'); ?>
    </fieldset>
    in shop\includes\templates\custom\templates\tpl_checkout_shipping_default.php

    and

    Code:
    define('TABLE_HEADING_PARTYDATE', 'Please Tell Us the Date(s) of Your Birthday Party');
    in shop\includes\languages\english\custom\checkout_shipping.php

    also I add a text data field "partydate" into database table "orders_status_history" .

    I would like to know anything else I need to modify to catch the data customer input into the text field I just added.

    Thanks in advance!

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

    Default Re: modification of checkout_shipping

    Why during the checkout? Wouldn't it be better to get the date with the product it is associated with using the attributes?
    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
    Dec 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: modification of checkout_shipping

    Hi Kim,

    The site sell party supplies, so better know when customer is going to do the party.

    Any suggestion from you?

    Cheers

    bbai

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: modification of checkout_shipping

    Okay- the comments section isn't enough? You can change the "title" from special instructions to Party date and instructions.
    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.

  5. #5
    Join Date
    Dec 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: modification of checkout_shipping

    Yes, change the title is the easiest way. I did the complex way to add an extra field, just because the client insist an separate field from the comments.

 

 

Similar Threads

  1. Stuck at checkout_shipping
    By skylarker in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 8 May 2008, 03:50 PM
  2. checkout_shipping.html > Next > checkout_shipping.html
    By Makover in forum General Questions
    Replies: 10
    Last Post: 23 Apr 2008, 12:00 AM
  3. Admin modification vs. .php file modification??
    By recordshow in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Nov 2006, 05:00 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR