Plugin Directory

Changeset 2814643


Ignore:
Timestamp:
11/08/2022 08:09:43 PM (3 years ago)
Author:
mdalabar
Message:

v2.4.2 - Fix: Pickup location info missing on order meta info at admin and frontend also on order note.

Location:
byconsole-woo-order-delivery-time/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • byconsole-woo-order-delivery-time/trunk/ByConsoleWooODT.php

    r2812590 r2814643  
    1212* Description: Let your buyers to choose if order to deliver or pickup along with their chosen date and time (Need to have Woocommerce installed first).
    1313
    14 * Version: 2.4.1
     14* Version: 2.4.2
    1515
    1616* Author: ByConsole
     
    14371437    //$byconsolewooodt_pickup_location_array=get_option('byconsolewooodt_pickup_location');
    14381438
    1439     $byconsolewooodt_pickup_location_array=$byconsolewooodt_location_setting_array['byconsolewooodt_pickup_location'];
    1440 
    1441     $byconsolewooodt_pickup_location_array_location_name=$byconsolewooodt_pickup_location_array[$_POST['byconsolewooodt_pickup_location']]['location'];
    1442 
    1443 update_post_meta( $order_id, 'byconsolewooodt_pickup_location', sanitize_text_field($byconsolewooodt_pickup_location_array_location_name));
     1439    //$byconsolewooodt_pickup_location_array=$byconsolewooodt_location_setting_array['byconsolewooodt_pickup_location'];
     1440
     1441    //$byconsolewooodt_pickup_location_array_location_name=$byconsolewooodt_pickup_location_array[$_POST['byconsolewooodt_pickup_location']]['location'];
     1442   
     1443   
     1444    $byconsolewooodt_pickup_location_array = $ByConsoleWooODTLite->get_wooodtlite_settings('byconsolewooodt_pickup_location');
     1445   
     1446
     1447
     1448update_post_meta( $order_id, 'byconsolewooodt_pickup_location', sanitize_text_field($byconsolewooodt_pickup_location_array[$_POST['byconsolewooodt_pickup_location']]['location']));
    14441449
    14451450$byc_wooODT_order_note .= '<p><strong>'.__('Pickup location','byconsole-woo-order-delivery-time').':</strong> ' . esc_html(sanitize_text_field($byconsolewooodt_pickup_location_array_location_name)) . '</p>';
  • byconsole-woo-order-delivery-time/trunk/readme.txt

    r2812590 r2814643  
    55Requires at least: 3.5
    66Tested up to: 6.0.2
    7 Stable tag: 2.4.1
     7Stable tag: 2.4.2
    88Requires PHP: 7.4
    99WC requires at least: 2.6
     
    343343
    344344
     345= 2.4.2(9/11/2022) =
     346Fix: Pickup location info missing on order meta info at admin and frontend also on order note.
     347
    345348= 2.4.1(05/11/2022) =
    346349Fix: Order note with date time info does not show order type text.
     
    581584== Upgrade Notice ==
    582585
    583 = 2.4.1(05/11/2022) =
    584 Fix: Order note with date time info does not show order type text.
     586= 2.4.2(9/11/2022) =
     587Fix: Pickup location info missing on order meta info at admin and frontend also on order note.
Note: See TracChangeset for help on using the changeset viewer.