Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Adding a Text Input Box To an Order total module

    I need to be able to add a box for a customer to put in a date, specific to an order total module. The order total module that this is all based on is the Priority Handing Module. I just have cloned it so that there are for options now. Two of the four need a box to enter a date for delivery- the Order Delivery Date calendar really doesn't do it since it's kinda general- One other one needs a phone number- for appointment delivery. I could use it if I could have three of them- one next to each option.

    Of course, I need this date to go on the order too!

    Any thoughts?
    Thanks!
    Nancy

  2. #2
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Re: Adding a Text Input Box To an Order total module

    Instead of a text box, I like the Ship Order Date Contribution- A nice clean box. I've got it to work on the checkout payment page. Here is where I could use some guidance... Instead of having it's own "field"- listed separately as if it were a coupon code field... I'd like it to appear in one of the shipping upgrade options that I have added (based on priority handling). If there were a template for that, I'd put the code there but there isn't. I've got this code:

    Code:
    <!-- Bof Ship Date -->
    <fieldset class="shipping" id="order_delivery_date">
    <legend><?php echo TABLE_HEADING_DELIVERY_DATE; ?></legend>
    <select name="order_delivery_date">
    <?php
    for ($i=1, $n=50; $i < $n; $i++) {
        $now[$i] = strtotime ("+$i day", time());
        if ( strftime ("%w",$now[$i])<>0
            AND strftime ("%m-%d",$now[$i])<>"12-25"
            AND strftime ("%m-%d",$now[$i])<>"12-26"
            AND strftime ("%m-%d",$now[$i])<>"01-01"
        ){
            echo '<option value="'.strftime ("%Y-%m-%d",$now[$i]).'">'.strftime ("%A %d %B %Y",$now[$i]).'</option>';
        }
    }
    ?>
    </select>
    </fieldset>
    <!-- Eof Ship Date -->
    And I don't know where else to put it- everything I try, breaks everything!

    Any help- direction etc... is most welcome!
    Nancy

  3. #3
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Re: Adding a Text Input Box To an Order total module

    Any ideas at all??

    Normally, once I post a question here, I figure out he answer shortly there after but his time I'm really stuck.

 

 

Similar Threads

  1. Customising 'order comments' text input box
    By blackmafia in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 19 Jul 2010, 01:50 PM
  2. Search text input box width (in side box)
    By joshuaholland in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Apr 2010, 01:11 PM
  3. I want an order-total module to display total w/o tax
    By ivanc in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 4
    Last Post: 31 Oct 2009, 12:11 PM
  4. Text input box that times the total by the number entered
    By bradlawson in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Dec 2006, 02:59 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