Changeset 2815861
- Timestamp:
- 11/10/2022 10:22:52 AM (3 years ago)
- Location:
- byconsole-woo-order-delivery-time/trunk
- Files:
-
- 2 edited
-
ByConsoleWooODT.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
byconsole-woo-order-delivery-time/trunk/ByConsoleWooODT.php
r2814643 r2815861 12 12 * 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). 13 13 14 * Version: 2.4. 214 * Version: 2.4.3 15 15 16 16 * Author: ByConsole … … 1344 1344 1345 1345 //$byconsolewooodt_time_field_show = $byconsolewooodt_odt_setting_array['byconsolewooodt_time_field_show']; 1346 $ ByConsoleWooODTLite->get_wooodtlite_settings('byconsolewooodt_time_field_show');1346 $byconsolewooodt_time_field_show=$ByConsoleWooODTLite->get_wooodtlite_settings('byconsolewooodt_time_field_show'); 1347 1347 1348 1348 … … 1434 1434 1435 1435 if ( ! empty( $_POST['byconsolewooodt_pickup_location'] ) ) { 1436 1437 //$byconsolewooodt_pickup_location_array=get_option('byconsolewooodt_pickup_location');1438 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 1436 1444 1437 $byconsolewooodt_pickup_location_array = $ByConsoleWooODTLite->get_wooodtlite_settings('byconsolewooodt_pickup_location'); 1445 1446 1447 1448 update_post_meta( $order_id, 'byconsolewooodt_pickup_location', sanitize_text_field($byconsolewooodt_pickup_location_array[$_POST['byconsolewooodt_pickup_location']]['location'])); 1449 1450 $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>'; 1438 1439 update_post_meta( $order_id, 'byconsolewooodt_pickup_location', sanitize_text_field($byconsolewooodt_pickup_location_array[$_POST['byconsolewooodt_pickup_location']]['location'])); 1440 1441 $byc_wooODT_order_note .= '<p><strong>'.__('Pickup location','byconsole-woo-order-delivery-time').':</strong> ' . esc_html(sanitize_text_field($byconsolewooodt_pickup_location_array[$_POST['byconsolewooodt_pickup_location']]['location'])) . '</p>'; 1451 1442 1452 1443 } 1453 1444 1454 1445 // add the order notes as customer. so that it can be fetched by WC API and unsed on othe rapplication like cloud printer data. 1455 1456 1446 if($ByConsoleWooODTLite->get_wooodtlite_settings('add_delivery_pickup_date_time_in_order_note') == 'yes'){ 1457 1447 -
byconsole-woo-order-delivery-time/trunk/readme.txt
r2814643 r2815861 5 5 Requires at least: 3.5 6 6 Tested up to: 6.0.2 7 Stable tag: 2.4. 27 Stable tag: 2.4.3 8 8 Requires PHP: 7.4 9 9 WC requires at least: 2.6 … … 343 343 344 344 345 = 2.4.3(10/11/2022) = 346 i) Fix: Pickup and delivery time not showing at frontend, backend & on order notes. 347 ii) Fix: Pickup location name missing on order note. 348 345 349 = 2.4.2(9/11/2022) = 346 350 Fix: Pickup location info missing on order meta info at admin and frontend also on order note. … … 584 588 == Upgrade Notice == 585 589 586 = 2.4.2(9/11/2022) = 587 Fix: Pickup location info missing on order meta info at admin and frontend also on order note. 590 = 2.4.3(10/11/2022) = 591 i) Fix: Pickup and delivery time not showing at frontend, backend & on order notes. 592 ii) Fix: Pickup location name missing on order note.
Note: See TracChangeset
for help on using the changeset viewer.