Results 1 to 10 of 544

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    how can i get jQuery version ?

  2. #2
    Join Date
    Nov 2013
    Location
    Hong Kong
    Posts
    43
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Hi,

    Will someone please kindly tell me:
    Which part of the js file control the calendar icon??

    Click image for larger version. 

Name:	2-calendar-cap.png 
Views:	99 
Size:	13.5 KB 
ID:	13989
    Never get rid of this since last year......

    Thanks,
    Eva
    Last edited by Green Books; 14 Apr 2014 at 10:19 AM.

  3. #3
    Join Date
    Nov 2013
    Location
    Hong Kong
    Posts
    43
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Hi,

    I'm using v.2-3-2, but want to add "ERROR_PLEASE_CHOOSE_DELIVERY_DATE" in checkout_shipping/header_php without update to v.2-4. Cause I can't fix the conflict in v.2-4.

    I've seen and try Delia's solution below:
    http://www.zen-cart.com/showthread.p...ckout-shipping
    PHP Code:
    if (zen_not_null($_POST['order_delivery_date'])) {
    $_SESSION['order_delivery_date'] = zen_db_prepare_input($_POST['order_delivery_date']);
    } else {
    $messageStack->add_session('checkout_shipping'ERROR_PLEASE_CHOOSE_DELIVERY_DATE'error');

    zen_redirect(zen_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL')); 

    I followed #357 and add the time function, the error part was worked:
    PHP Code:
    if ($_POST['order_delivery_time'] == 'notselected') {
    $messageStack->add_session('checkout_shipping'ERROR_PLEASE_CHOOSE_DELIVERY_DATE'error');
    $messageStack->add_session('checkout_shipping'ERROR_PLEASE_CHOOSE_DELIVERY_TIME'error');
    zen_redirect(zen_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL'));
    }
        
        if (
    zen_not_null($_POST['order_delivery_date'])) {
          
    $_SESSION['order_delivery_date'] = zen_db_prepare_input($_POST['order_delivery_date'] . " " $_POST['order_delivery_time']);
        }
        
    $order_delivery_date $_SESSION['order_delivery_date']; 
    .
    .
    .

    However, now I no longer apply the time function, and because of this the "ERROR_PLEASE_CHOOSE_DELIVERY_DATE" keep no show.
    I try to fix the code, but no luck
    PHP Code:
    if ($_POST['order_delivery_date'] == 'notselected') {
    $messageStack->add_session('checkout_shipping'ERROR_PLEASE_CHOOSE_DELIVERY_DATE'error');

    zen_redirect(zen_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL'));
    }
        
        if (
    zen_not_null($_POST['order_delivery_date'])) {
          
    $_SESSION['order_delivery_date'] = zen_db_prepare_input($_POST['order_delivery_date']);
        }
        
    $order_delivery_date $_SESSION['order_delivery_date']; 

    And yes, I'd add this line to checkout_shipping.php already.
    PHP Code:
    define('ERROR_PLEASE_CHOOSE_DELIVERY_DATE''Please choose a pickup/delivery date'); 

    Any ideas?

    Many Thanks

  4. #4
    Join Date
    Jan 2010
    Posts
    79
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    I use zx_slideshow.4

    that means order_delivery_date is not working.

    does someone has an idea to use both zx_slideshow.4 and order_delivery_date?

    do i need to move jscripts of zx_slideshow.4?

    thank you guys have a good one...

  5. #5
    Join Date
    Jun 2014
    Location
    United States
    Posts
    5
    Plugin Contributions
    0

    Default Re: Order Delivery Date Support Thread

    Is it possible to set the Delivery Date required only if customer is using local delivery as shipping option, otherwise not required?
    v1.5.3 and Product Delivery by Postcode

  6. #6
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Order Delivery Date Support Thread

    Quote Originally Posted by candledreams View Post
    Is it possible to set the Delivery Date required only if customer is using local delivery as shipping option, otherwise not required?
    v1.5.3 and Product Delivery by Postcode
    Not easily and maybe not at all.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

 

 

Similar Threads

  1. order delivery date addon - date not showing in checkout
    By jagall in forum Addon Shipping Modules
    Replies: 4
    Last Post: 19 Oct 2017, 09:09 PM
  2. JK Order Exporter - Support Thread
    By eVelt in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 26 Sep 2015, 07:06 AM
  3. v151 Order Delivery date on Product Info Page
    By nicksab in forum General Questions
    Replies: 0
    Last Post: 30 Dec 2013, 03:23 AM
  4. Support Thread for JS Date Picker for options
    By eVelt in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 5 Dec 2013, 05:44 AM
  5. Order Delivery Date Mod
    By fagriffin in forum Addon Shipping Modules
    Replies: 1
    Last Post: 11 Oct 2008, 04:50 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