Plugin Directory

Changeset 2062898


Ignore:
Timestamp:
04/04/2019 10:37:29 AM (6 years ago)
Author:
MoxaJogani
Message:

Fix - WooCommerce Orders are not sorted in the descending order when 'Sort on WooCommerce Orders Page' option is checked. This is fixed now.

Location:
order-delivery-date-for-woocommerce/trunk
Files:
9 added
12 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • order-delivery-date-for-woocommerce/trunk/css/datepicker.css

    r1616159 r2062898  
     1.form-row-cart {
     2    width: fit-content;
     3}
    14.orddd_lite_field_note {
    25    font-size: 10px;
  • order-delivery-date-for-woocommerce/trunk/css/order-delivery-date.css

    r1616159 r2062898  
    5757    margin-bottom: 0px;
    5858}
     59
     60#datepicker {
     61    width: fit-content !important;
     62}
     63
     64.ui-datepicker {
     65    min-width: fit-content !important;
     66}
  • order-delivery-date-for-woocommerce/trunk/includes/orddd-lite-component.php

    r2030406 r2062898  
    3030                require_once( "component/deactivate-survey-popup/class-ts-deactivation.php" );
    3131
    32                 require_once( "component/welcome-page/ts-welcome.php" );
    3332                require_once( "component/faq-support/ts-faq-support.php" );
    34                 require_once( "component/pro-notices-in-lite/ts-pro-notices.php" );
    3533               
    3634                $orddd_lite_plugin_name          = self::ts_get_plugin_name();;
     
    6664                $orddd_lite_deativate->init ( $orddd_lite_file_name, $orddd_lite_plugin_name );
    6765
    68                 $ordd_lite_welcome_page_header_text = '';
    69 
    70                 $user = wp_get_current_user();
    71                
    72                 if ( in_array( 'administrator', (array) $user->roles ) ) {
    73                     new Orddd_Lite_TS_Welcome ( $orddd_lite_plugin_name, $orddd_lite_plugin_prefix, $orddd_lite_locale, $orddd_lite_plugin_folder_name, $orddd_lite_plugin_dir_name, $orddd_lite_get_previous_version, $ordd_lite_welcome_page_header_text );
    74                 }
    7566                $ts_pro_faq = self::orddd_lite_get_faq ();
    7667                new Orddd_Lite_TS_Faq_Support( $orddd_lite_plugin_name, $orddd_lite_plugin_prefix, $orddd_lite_plugins_page, $orddd_lite_locale, $orddd_lite_plugin_folder_name, $orddd_lite_plugin_slug, $ts_pro_faq );
    77                
    78                 $ts_pro_notices = self::orddd_lite_get_notice_text ();
    79                 new Orddd_Lite_ts_pro_notices( $orddd_lite_plugin_name, $orddd_lite_lite_plugin_prefix, $orddd_lite_plugin_prefix, $ts_pro_notices, $orddd_lite_file_name, $orddd_lite_pro_file_name );
    80 
    8168            }
    8269        }
     
    114101        }
    115102       
    116         /**
    117          * It will Display the notices in the admin dashboard for the pro vesion of the plugin.
    118          * @return array $ts_pro_notices All text of the notices
    119          */
    120         public static function orddd_lite_get_notice_text () {
    121             $ts_pro_notices = array();
    122 
    123             $orddd_lite_locale               = self::ts_get_plugin_locale();
    124 
    125             $message_first = wp_kses_post ( __( 'Thank you for using Order Delivery Date for WooCommerce! Never login to your admin to check your deliveries by syncing the delivery dates to the Google Calendar from Order Delivery Date Pro for WooCommerce. <strong><a target="_blank" href= "https://www.tychesoftwares.com/store/premium-plugins/order-delivery-date-for-woocommerce-pro-21/checkout?edd_action=add_to_cart&download_id=16&utm_source=wpnotice&utm_medium=first&utm_campaign=OrderDeliveryDateLitePlugin">Get it now!</a></strong>', $orddd_lite_locale ) ); 
    126 
    127             $message_two = wp_kses_post ( __( 'Send Product review emails to the customers on the next day of delivery using Post Delivery Product Reviews Addon for Order Delivery Date plugin. <strong><a target="_blank" href= "https://www.tychesoftwares.com/store/premium-plugins/post-delivery-product-reviews-addon-order-delivery-date-woocommerce/checkout?edd_action=add_to_cart&download_id=278278&utm_source=wpnotice&utm_medium=second&utm_campaign=OrderDeliveryDateLitePlugin">Have it now!</a></strong>', $orddd_lite_locale ) );
    128 
    129             $message_three = wp_kses_post ( __( 'Create Delivery Settings by Shipping Zones & Shipping Classes using Order Delivery Date Pro for WooCommerce plugin. <br>Use discount code "ORDPRO20" and grab 20% discount on the purchase of the plugin. The discount code is valid only for the first 20 customers. <strong><a target="_blank" href= "\'https://www.tychesoftwares.com/store/premium-plugins/order-delivery-date-for-woocommerce-pro-21/checkout?edd_action=add_to_cart&download_id=16&utm_source=wpnotice&utm_medium=third&utm_campaign=OrderDeliveryDateLitePlugin">Purchase now</a></strong>.', $orddd_lite_locale ) );
    130 
    131             $message_four = wp_kses_post ( __( 'Allow recurring deliveries for the subscriptions from the WooCommerce Subscriptions plugin by using WooCommerce Subscriptions Compatibility Addons. <strong><a target="_blank" href= "https://www.tychesoftwares.com/store/premium-plugins/woocommerce-subscriptions-compatibility-addon-for-order-delivery-date-pro-for-woocommerce-plugin/checkout?edd_action=add_to_cart&download_id=278278&utm_source=wpnotice&utm_medium=fourth&utm_campaign=OrderDeliveryDateLitePlugin">Have it now!</a></strong>.', $orddd_lite_locale ) );
    132 
    133             $message_five = wp_kses_post ( __( 'Receive feedbacks for your products from verified owners by sending them post delivery emails using Post Delivery Product Reviews addon of Order Delivery Date plugin. <strong><a target="_blank" href= "https://www.tychesoftwares.com/store/premium-plugins/post-delivery-product-reviews-addon-order-delivery-date-woocommerce/checkout?edd_action=add_to_cart&download_id=278278&utm_source=wpnotice&utm_medium=fifth&utm_campaign=OrderDeliveryDateLitePlugin">Have it now!</a></strong>.', $orddd_lite_locale ) );
    134 
    135             $orddd_wcal_lite_link = 'https://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro/checkout?edd_action=add_to_cart&download_id=20&utm_source=wpnotice&utm_medium=sixth&utm_campaign=OrderDeliveryDateLitePlugin';
    136 
    137             $message_six = wp_kses_post ( __( 'Boost your sales by recovering up to 60% of the abandoned carts with our Abandoned Cart Pro for WooCommerce plugin. It allows you to capture guest customer\'s email address on the shop page using Add to cart pop modal.<strong><a target="_blank" href= "'.$orddd_wcal_lite_link.'"> Install it now.</a></strong>', $orddd_lite_locale ) );
    138            
    139 
    140             $_link = 'https://www.tychesoftwares.com/store/premium-plugins/product-delivery-date-pro-for-woocommerce/checkout?edd_action=add_to_cart&download_id=238877&utm_source=wpnotice&utm_medium=seventh&utm_campaign=OrderDeliveryDateLitePlugin';
    141             $message_seven = wp_kses_post ( __( 'Allow your customers to select the Delivery Date on Single Product Page using our Product Delivery Date pro for WooCommerce Plugin. <br>
    142             <strong><a target="_blank" href= "'.$_link.'">Shop now</a></strong> & be one of the 20 customers to get 20% discount on the plugin price. Use the code "PRDPRO20". Hurry!!', $orddd_lite_locale ) );
    143            
    144             $_link = 'https://www.tychesoftwares.com/store/premium-plugins/woocommerce-booking-plugin/checkout?edd_action=add_to_cart&download_id=22&utm_source=wpnotice&utm_medium=eight&utm_campaign=OrderDeliveryDateLitePlugin';
    145             $message_eight = wp_kses_post ( __( ' Allow your customers to book an appointment or rent an apartment with our Booking and Appointment for WooCommerce plugin. You can also sell your product as a resource or integrate with a few Vendor plugins. <br>Shop now & Save 20% on the plugin with the code "BKAP20". Only for first 20 customers. <strong><a target="_blank" href= "'.$_link.'">Have it now!</a></strong>', $orddd_lite_locale ) );
    146            
    147             $_link = 'https://www.tychesoftwares.com/store/premium-plugins/deposits-for-woocommerce/checkout?edd_action=add_to_cart&download_id=286371&utm_source=wpnotice&utm_medium=eight&utm_campaign=OrderDeliveryDateLitePlugin';
    148             $message_nine = wp_kses_post ( __( ' Allow your customers to pay deposits on products using our Deposits for WooCommerce plguin. <br>
    149             <strong><a target="_blank" href= "'.$_link.'">Purchase now</a></strong> & Grab 20% discount with the code "DFWP20". The discount code is valid only for the first 20 customers.', $orddd_lite_locale ) );
    150            
    151             $ts_pro_notices = array (
    152                 1 => $message_first,
    153                 2 => $message_two,
    154                 3 => $message_three,
    155                 4 => $message_four,
    156                 5 => $message_five,
    157                 6 => $message_six,
    158                 7 => $message_seven,
    159                 8 => $message_eight,
    160                 9 => $message_nine,
    161             ) ;
    162 
    163             return $ts_pro_notices;
    164         }
    165        
    166103        /**
    167104         * It will contain all the FAQ which need to be display on the FAQ page.
  • order-delivery-date-for-woocommerce/trunk/js/orddd-lite-initialize-datepicker.js

    r2030406 r2062898  
    66 */
    77jQuery(document).ready( function() {
     8
     9    //Clear local storage for the selected delivery date in next 2 hours.
     10    var orddd_last_check_date = localStorage.getItem( "orddd_lite_storage_next_time" );
     11    var current_date = jQuery( "#orddd_lite_current_day" ).val();
     12   
     13    if( current_date != '' && typeof( current_date ) != 'undefined' ) {
     14        var split_current_date = current_date.split( '-' );
     15        var ordd_next_date = new Date( split_current_date[ 2 ], ( split_current_date[ 1 ] - 1 ), split_current_date[ 0 ], jQuery( "#orddd_lite_current_hour" ).val(), jQuery( "#orddd_lite_current_minute" ).val() );
     16    } else {
     17        var ordd_next_date = new Date();
     18    }
     19
     20    if ( null != orddd_last_check_date ) {
     21        if ( ordd_next_date.getTime() > orddd_last_check_date ) {
     22            localStorage.removeItem( "orddd_lite_storage_next_time" );
     23            localStorage.removeItem( "e_deliverydate_lite_session" );
     24            localStorage.removeItem( "h_deliverydate_lite_session" );
     25        }
     26    }
     27
     28    jQuery(document).on( "ajaxComplete", function( event, xhr, options ) {
     29        if( options.url.indexOf( "wc-ajax=checkout" ) !== -1 ) {
     30            if( xhr.statusText != "abort" ) {
     31                localStorage.removeItem( "orddd_lite_storage_next_time" );
     32                localStorage.removeItem( "e_deliverydate_lite_session" );
     33                localStorage.removeItem( "h_deliverydate_lite_session" );
     34            }
     35        }
     36    });
     37
     38
    839    var formats = ["MM d, yy","MM d, yy"];
    940   
     
    70101    var all = dayValue + "-" + monthValue + "-" + yearValue;
    71102
    72     var data = {
    73         e_deliverydate: jQuery( "#e_deliverydate" ).val(),
    74         h_deliverydate: all,
    75         action: "orddd_lite_update_delivery_session"
    76     };
    77    
    78     jQuery.post( jQuery( '#orddd_admin_url' ).val() + "admin-ajax.php", data, function( response ) {
    79     });
     103    if( 'on' == jQuery( '#orddd_lite_delivery_date_on_cart_page' ).val() ) {
     104        localStorage.setItem( "e_deliverydate_lite_session", jQuery( "#e_deliverydate" ).val() );
     105        localStorage.setItem( "h_deliverydate_lite_session", all );
     106       
     107        var current_date = jQuery( "#orddd_lite_current_day" ).val();
     108        if( typeof( current_date ) != 'undefined' && current_date != '' ) {
     109            var split_current_date = current_date.split( '-' );
     110            var ordd_next_date = new Date( split_current_date[ 2 ], ( split_current_date[ 1 ] - 1 ), split_current_date[ 0 ], jQuery( "#orddd_lite_current_hour" ).val(), jQuery( "#orddd_lite_current_minute" ).val() );
     111        } else {
     112            var ordd_next_date = new Date();
     113        }           
     114
     115        ordd_next_date.setHours( ordd_next_date.getHours() + 2 );
     116        localStorage.setItem( "orddd_lite_storage_next_time", ordd_next_date.getTime() );
     117    }
    80118}
    81119
     
    92130    }
    93131
    94     if( typeof( jQuery( '#e_deliverydate_lite_session' ).val() ) != 'undefined' && jQuery( '#e_deliverydate_lite_session' ).val() != '' ) {
    95         var e_deliverydate_session = jQuery( '#e_deliverydate_lite_session' ).val();
    96         var h_deliverydate_session = jQuery( '#h_deliverydate_lite_session' ).val();
    97         var default_date_arr = h_deliverydate_session.split( '-' );
    98         var default_date = new Date( default_date_arr[ 1 ] + '/' + default_date_arr[ 0 ] + '/' + default_date_arr[ 2 ] );
    99         jQuery( '#e_deliverydate' ).datepicker( "setDate", default_date );
    100         jQuery( "#h_deliverydate" ).val( h_deliverydate_session );
    101        
    102     }
     132    if( 'on' == jQuery( '#orddd_lite_delivery_date_on_cart_page' ).val() ) {
     133        var e_deliverydate_session = localStorage.getItem( 'e_deliverydate_lite_session' );
     134        if( typeof( e_deliverydate_session ) != 'undefined' && e_deliverydate_session != '' ) {
     135            var h_deliverydate_session = localStorage.getItem( 'h_deliverydate_lite_session' );
     136            if( typeof( h_deliverydate_session ) != 'undefined' && h_deliverydate_session != '' && h_deliverydate_session != null ) {
     137                var default_date_arr = h_deliverydate_session.split( '-' );
     138                var default_date = new Date( default_date_arr[ 1 ] + '/' + default_date_arr[ 0 ] + '/' + default_date_arr[ 2 ] );
     139                jQuery( '#e_deliverydate' ).datepicker( "setDate", default_date );
     140                jQuery( "#h_deliverydate" ).val( h_deliverydate_session );
     141            }
     142        }
     143    }
    103144}
    104145
     
    130171    if( delay_date != "" ) {
    131172        delay_days = minimum_date_to_set( delay_days );
     173
    132174        if( delay_days != '' ) {
    133175            var min_date_to_set = delay_days.getDate() + "-" + ( delay_days.getMonth()+1 ) + "-" + delay_days.getFullYear();
     
    182224                    if( current_day <= delay_days ) {
    183225                        var m = current_day.getMonth(), d = current_day.getDate(), y = current_day.getFullYear();
    184                         if ( jQuery( "#orddd_lite_disable_for_holidays" ).val() != 'no' ) {
     226                        if ( jQuery( "#orddd_lite_disable_for_holidays" ).val() != 'yes' ) {
    185227                            if( jQuery.inArray( ( m+1 ) + '-' + d + '-' + y, holidays ) != -1 ) {   
    186228                                delay_days.setDate( delay_days.getDate()+1 );
     
    188230                            }
    189231                        }
     232
     233                        if( jQuery.inArray( ( m+1 ) + "-" + d + "-" + y, bookedDays ) != -1 ) {
     234                            delay_days.setDate( delay_days.getDate()+1 );
     235                            delay_time = delay_days.getTime();
     236                        }
    190237                        current_day.setDate( current_day.getDate()+1 );
    191238                        current_time = current_day.getTime();
     
    194241                }
    195242            } else {
    196                 day = 'orddd_lite_weekday_' + delay_days.getDay();
    197                 day_check = jQuery( "#" + day ).val();
    198                 if ( day_check == '' ) {
    199                     delay_days.setDate( delay_days.getDate()+1 );
    200                     delay_time = delay_days.getTime();                 
    201                 }
    202 
    203243                if( current_day <= delay_days ) {
    204                     var m = current_day.getMonth(), d = current_day.getDate(), y = current_day.getFullYear();
    205                     if ( jQuery( "#orddd_lite_disable_for_holidays" ).val() != 'no' ) {
    206                         if( jQuery.inArray( ( m+1 ) + '-' + d + '-' + y, holidays ) != -1 ) {   
    207                             delay_days.setDate( delay_days.getDate()+1 );
    208                             delay_time = delay_days.getTime();
    209                         }
    210                     }
     244                    var m = delay_days.getMonth(), d = delay_days.getDate(), y = delay_days.getFullYear();
     245                    day = 'orddd_lite_weekday_' + delay_days.getDay();
     246                    day_check = jQuery( "#" + day ).val();
     247                    if ( day_check == '' ) {
     248                        delay_days.setDate( delay_days.getDate()+1 );
     249                        delay_time = delay_days.getTime();                 
     250                    } else if ( jQuery( "#orddd_lite_disable_for_holidays" ).val() != 'yes' && jQuery.inArray( ( m+1 ) + '-' + d + '-' + y, holidays ) != -1 ) {
     251                        delay_days.setDate( delay_days.getDate()+1 );
     252                        delay_time = delay_days.getTime();
     253                    } else if( jQuery.inArray( ( m+1 ) + "-" + d + "-" + y, bookedDays ) != -1 ) {
     254                        delay_days.setDate( delay_days.getDate()+1 );
     255                        delay_time = delay_days.getTime();
     256                    }               
    211257                    current_day.setDate( current_day.getDate()+1 );
    212258                    current_time = current_day.getTime();
     
    220266   
    221267    if( delay_days != '' ) {
    222         if ( jQuery( "#orddd_lite_disable_for_holidays" ).val() != 'no' ) {
     268        if ( jQuery( "#orddd_lite_disable_for_holidays" ).val() != 'yes' ) {
    223269            for ( i = 0; i < holidays.length; i++ ) {
    224270                var dm = delay_days.getMonth(), dd = delay_days.getDate(), dy = delay_days.getFullYear();
     
    236282        }
    237283    }
    238     
     284   
    239285    return delay_days;
    240286}
     
    323369        holidays[i] = holidays_array[ 1 ];
    324370    }
     371
     372    var bookedDays = eval( "[" + jQuery( "#orddd_lite_lockout_days" ).val() + "]" );
    325373
    326374    var delay_date = jQuery( "#orddd_lite_minimumOrderDays" ).val();
     
    363411                        if( current_day <= delay_days ) {
    364412                            var m = current_day.getMonth(), d = current_day.getDate(), y = current_day.getFullYear();
    365                             if ( jQuery( "#orddd_lite_disable_for_holidays" ).val() != 'no' ) {
     413                            if ( jQuery( "#orddd_lite_disable_for_holidays" ).val() != 'yes' ) {
    366414                                if( jQuery.inArray( ( m+1 ) + '-' + d + '-' + y, holidays ) != -1 ) {   
    367415                                    delay_days.setDate( delay_days.getDate()+1 );
     
    369417                                }
    370418                            }
     419
     420                            if( jQuery.inArray( ( m+1 ) + "-" + d + "-" + y, bookedDays ) != -1 ) {
     421                                delay_days.setDate( delay_days.getDate()+1 );
     422                                delay_time = delay_days.getTime();
     423                            }
     424
    371425                            current_day.setDate( current_day.getDate()+1 );
    372426                            current_time = current_day.getTime();
  • order-delivery-date-for-woocommerce/trunk/order_delivery_date.php

    r2030406 r2062898  
    55Description: This plugin allows customers to choose their preferred Order Delivery Date during checkout.
    66Author: Tyche Softwares
    7 Version: 3.6.1
     7Version: 3.7
    88Author URI: https://www.tychesoftwares.com/
    99Contributor: Tyche Softwares, http://www.tychesoftwares.com/
     
    1111Requires PHP: 5.6
    1212WC requires at least: 3.0.0
    13 WC tested up to: 3.5.4
     13WC tested up to: 3.5.7
    1414* @package  Order-Delivery-Date-Lite-for-WooCommerce
    1515*/
     
    1919 * @since 1.0
    2020 */
    21 $wpefield_version = '3.6.1';
     21$wpefield_version = '3.7';
    2222
    2323/**
     
    2525 * @since 1.0
    2626 */
    27 include_once( 'integration.php' );
    28 include_once( 'orddd-lite-config.php' );
    29 include_once( 'orddd-lite-common.php' );
    30 include_once( 'orddd-lite-settings.php' );
    31 include_once( 'orddd-lite-process.php' );
    32 include_once( 'filter.php' );
    33 include_once( 'orddd-lite-privacy.php' );
    34 //include_once( 'orddd-lite-pro-notices.php' );
     27include_once( 'includes/integration.php' );
     28include_once( 'includes/orddd-lite-config.php' );
     29include_once( 'includes/orddd-lite-common.php' );
     30include_once( 'includes/settings/orddd-lite-settings.php' );
     31include_once( 'includes/orddd-lite-process.php' );
     32include_once( 'includes/settings/filter.php' );
     33include_once( 'includes/orddd-lite-privacy.php' );
    3534
    3635/**
     
    6059            add_action( 'admin_init',            array( &$this, 'orddd_lite_capabilities' ) );
    6160            add_action( 'admin_init',            array( &$this, 'orddd_lite_check_if_woocommerce_active' ) );
    62             //add_action( 'admin_footer',          array( &$this, 'admin_notices_scripts' ) );
    63 
    64             //Add pro notices
    65             //add_action( 'admin_notices', array( 'orddd_lite_pro_notices', 'orddd_lite_notices_of_pro' ) );
    66             //add_action( 'admin_init', array( 'orddd_lite_pro_notices', 'orddd_lite_ignore_pro_notices' ) );
    6761                       
    6862            //Settings
     
    112106
    113107            //Ajax calls
    114             add_action( 'init', array( &$this, 'orddd_lite_load_ajax' ) );
    115108            add_action( 'init', array( &$this, 'orddd_lite_add_component_file' ) );
    116109
     
    122115                add_filter( 'ts_tracker_opt_out_data',                 array( 'orddd_lite_common', 'orddd_lite_get_data_for_opt_out' ), 10, 1 );
    123116                add_filter ( 'ts_deativate_plugin_questions',          array( 'orddd_lite_common', 'orddd_lite_deactivate_add_questions' ), 10, 1 );
    124             }
    125         }
    126        
    127         /**
    128          * Loads ajax callback
    129          *
    130          * @hook init
    131          * @since 1.5
    132          */ 
    133 
    134         function orddd_lite_load_ajax() {
    135             if ( !is_user_logged_in() ) {
    136                 add_action( 'wp_ajax_nopriv_orddd_lite_update_delivery_session', array( 'orddd_lite_process', 'orddd_lite_update_delivery_session' ) );
    137             } else {
    138                 add_action( 'wp_ajax_orddd_lite_update_delivery_session', array( 'orddd_lite_process', 'orddd_lite_update_delivery_session' ) );
    139117            }
    140118        }
     
    278256        function orddd_lite_update_db_check() {
    279257            global $wpefield_version;
    280             if ( $wpefield_version == "3.6.1" ) {
     258            if ( $wpefield_version == "3.7" ) {
    281259                order_delivery_date_lite::orddd_lite_update_install();
    282260            }
     
    296274            $orddd_lite_plugin_version = get_option( 'orddd_lite_db_version' );
    297275            if ( $orddd_lite_plugin_version != order_delivery_date_lite::get_orddd_lite_version() ) {
    298                 update_option( 'orddd_lite_db_version', '3.6.1' );
     276                update_option( 'orddd_lite_db_version', '3.7' );
    299277                if ( get_option( 'orddd_lite_update_value' ) != 'yes' ) {
    300278                    $i = 0;
     
    391369            }
    392370        }
    393        
    394         /**
    395          * Enqueue scripts in the admin footer
    396          *
    397          * @hook admin_footer
    398          * @since 2.6
    399          */
    400         function admin_notices_scripts() {
    401             wp_enqueue_script(
    402                 'dismiss-notice.js',
    403                 esc_url( plugins_url('/js/dismiss-notice.js', __FILE__) ),
    404                 '',
    405                 '',
    406                 false
    407             );
    408        
    409             wp_enqueue_style( 'dismiss-notice', esc_url( plugins_url('/css/dismiss-notice.css', __FILE__ ) ), '', '', false );
    410         }
    411371       
    412372        /**
  • order-delivery-date-for-woocommerce/trunk/readme.txt

    r2038781 r2062898  
    55Tags: delivery date, order delivery date, woocommerce delivery date, delivery, order delivery
    66Requires at least: 1.3
    7 Tested up to: 5.1
     7Tested up to: 5.1.1
    88Stable tag: trunk
    99License: GPLv2 or later
     
    219219== Changelog ==
    220220
     221= 3.7 (04.04.2019) =
     222
     223There are some bug fixes in this update:
     224* Incorrect delivery date was preselected in the delivery calendar on the checkout page when the current date is set as a holiday. This is fixed now.
     225* Preview calendar width was not coming proper on the Appearance link in Order Delivery Date -> Settings when the Eggplant calendar theme was selected. This is fixed now.
     226* Incorrect delivery date was preselected in the delivery calendar on the checkout page when the available dates have booked dates in between along with some weekdays disabled. This is fixed now.
     227* Incorrect delivery date was preselected on the checkout page due to the delivery date being stored in the session. This is fixed now.
     228* Width of the Delivery date field on the cart page was not proper. This is fixed now.
     229* On changing the first day of the week from Appearance link, the changes were not reflected in the admin calendars from the plugin. This is fixed now.
     230* WooCommerce Orders are not sorted in the descending order when "Sort on WooCommerce Orders Page" option is checked. This is fixed now.
     231
    221232= 3.6.1 (14.02.2019) =
    222233
Note: See TracChangeset for help on using the changeset viewer.