Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jul 2008
    Posts
    58
    Plugin Contributions
    0

    Default Customizing the check out page by adding a dropdown menu of delivery times

    hello,

    I'm creating a fast food website where people can order online . I need to customize the checkout page so that a customer can choose a time for their food to be delivered.

    So what i am trying to do is add dropdown menu on the checkout page of all the times that their food can be delivered.

    Is there an addon that i can download??
    Or do i have to create a drop down menu my self?

    Thank You!

  2. #2
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Customizing the check out page by adding a dropdown menu of delivery times

    Not sure if there is an addon. But the checkout page does include a section for Special Instructions- you could change this Textarea to a drop down box....

  3. #3
    Join Date
    Jul 2008
    Posts
    58
    Plugin Contributions
    0

    Default Re: Customizing the check out page by adding a dropdown menu of delivery times

    Quote Originally Posted by s_t_e_v_e View Post
    Not sure if there is an addon. But the checkout page does include a section for Special Instructions- you could change this Textarea to a drop down box....
    thanks.... i checked around on the add ons couldn't find a dropdown menu for time picker ... the only drop down menu i found was to to select your DOB .

    I will Also be needing the Special Instruction Box During Check Out... Should i just copy that code and paste it right below the special instruction text area?

    Thank you very much!

  4. #4
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Customizing the check out page by adding a dropdown menu of delivery times

    copy the following template file to your own custom template folder...


    tpl_checkout_shipping_default.php


    Look for the following:

    <fieldset class="shipping" id="comments">

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

    </fieldset>


    and change the highlighted line for the following;


    <legend>Choose Your Time For Delivery</legend>
    <select name="comments">
    <option>?? Delivery Time ??</option>
    <option>Delivery Time 17:00</option>
    <option>Delivery Time 18:00</option>
    <option>Delivery Time 19:00</option>
    <option>Delivery Time 20:00</option>
    </select>


    Add to the options.....

    Test it thoroughly.

    Hope this helps...

  5. #5
    Join Date
    Feb 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Customizing the check out page by adding a dropdown menu of delivery times

    Could you attach the file you referred to: tpl_checkout_shipping_default.php


    This sounds like exactly what I need!

  6. #6
    Join Date
    Feb 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Customizing the check out page by adding a dropdown menu of delivery times

    I found the referenced file: tpl_checkout_shipping_default.php

    in includes/templates/tempate_default

    I assume that is the correct file?

    I assume the example text would be substituted for both the lines identified in the post?

    Thanks!!
    Last edited by AnitaB; 10 Mar 2009 at 04:11 PM.

  7. #7
    Join Date
    Feb 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Customizing the check out page by adding a dropdown menu of delivery times

    This worked excellantly!

  8. #8
    Join Date
    Nov 2006
    Posts
    27
    Plugin Contributions
    0

    Default Re: Customizing the check out page by adding a dropdown menu of delivery times

    Hey Steve, I also needed this for a site, and I was able to get the drop-down to show up fine, but it won't store it in the admin section after the order is placed (which defeats the purpose since we don't know when they want it delivered). Am I doing something wrong here?

  9. #9
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    274
    Plugin Contributions
    0

    Default Re: Customizing the check out page by adding a dropdown menu of delivery times

    Thank you, Steve!

    This works well for me. It shows well in Order Confirmation right above the Address Information.
    See it clear in Admin in the Comments field.
    Pre-Owned Books and Second Hand Stuff: http://www.onlineyardsale.ca

  10. #10
    Join Date
    Oct 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: Customizing the check out page by adding a dropdown menu of delivery times

    Hi Steve pardon my ignorance, I am new to zencart. I want to apply you solution however i could not figure out the "acivate option" after adding to the said file. You help will be much appreciated

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Adding ez-page links to a dropdown menu
    By lEWISm in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Aug 2012, 11:25 PM
  2. Replies: 4
    Last Post: 12 Apr 2011, 04:37 PM
  3. Question regarding customizing the check out flow...
    By Echelon in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Oct 2008, 05:31 PM
  4. Adding text to check out page
    By LyndaRay in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Sep 2008, 10:54 AM
  5. Replies: 3
    Last Post: 6 Sep 2008, 05:58 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