Changeset 3046925
- Timestamp:
- 03/07/2024 11:18:50 AM (2 years ago)
- Location:
- redbox-pickup
- Files:
-
- 1 added
- 3 edited
-
tags/1.35 (added)
-
trunk/front/front.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/redbox.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
redbox-pickup/trunk/front/front.php
r3021703 r3046925 40 40 'name' => $item->get_name(), 41 41 'quantity' => $item->get_quantity(), 42 ' totalPrice' => $item->get_total(),43 'currency' => $order->get_currency()42 'currency' => $order->get_currency(), 43 'unit_price' => $item->get_product()->get_price() 44 44 ]; 45 $note = 'items ' . json_encode($item->get_data());46 $order->add_order_note( $note );47 45 } 48 46 return $products; … … 204 202 $note = 'RedBox tracking number: ' . $body['tracking_number']; 205 203 $order->add_order_note( $note ); 206 $order->update_meta_data( 'redbox_shipment_url_shipping_label', $body[' url_shipping_label'] );204 $order->update_meta_data( 'redbox_shipment_url_shipping_label', $body['shipping_label_url'] ); 207 205 } else { 208 206 $note = 'RedBox error: ' . $body['msg']; -
redbox-pickup/trunk/readme.txt
r3021703 r3046925 5 5 Requires at least: 3.3 6 6 Tested up to: 5.5.1 7 Stable tag: 1.3 47 Stable tag: 1.35 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 76 76 = 1.34 = 77 77 Fix update information, api create-v2 78 = 1.35 = 79 Update param new api 78 80 79 81 -
redbox-pickup/trunk/redbox.php
r3021703 r3046925 4 4 * Description: This plugin allows customers pickup package at RedBox Locker. 5 5 * Plugin URI: https://woocommerce.com/ 6 * Version: 1.3 46 * Version: 1.35 7 7 * Author: RedBox 8 8 * Author URI: https://redboxsa.com … … 136 136 wp_enqueue_script( 'redbox_front_js', REDBOX_PLUGIN_DIR . '/js/front.js', false, '1.0.21' ); 137 137 wp_localize_script( 'redbox_front_js', 'ajax_url', admin_url('admin-ajax.php') ); 138 wp_enqueue_script( ' mapkit-script', "https://cdn.apple-mapkit.com/mk/5.x.x/mapkit.js");138 wp_enqueue_script( 'redbox-mapkit-script', "https://cdn.apple-mapkit.com/mk/5.x.x/mapkit.js"); 139 139 $translation_array_img = REDBOX_PLUGIN_DIR; 140 140
Note: See TracChangeset
for help on using the changeset viewer.