Plugin Directory

Changeset 3046925


Ignore:
Timestamp:
03/07/2024 11:18:50 AM (2 years ago)
Author:
redboxsa
Message:

update version 1.35

Location:
redbox-pickup
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • redbox-pickup/trunk/front/front.php

    r3021703 r3046925  
    4040                        'name' => $item->get_name(),
    4141                        '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()
    4444                    ];
    45                     $note = 'items ' . json_encode($item->get_data());
    46                     $order->add_order_note( $note );
    4745                }
    4846                return $products;
     
    204202                        $note = 'RedBox tracking number: ' . $body['tracking_number'];
    205203                        $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'] );
    207205                    } else {
    208206                        $note = 'RedBox error: ' . $body['msg'];
  • redbox-pickup/trunk/readme.txt

    r3021703 r3046925  
    55Requires at least: 3.3
    66Tested up to: 5.5.1
    7 Stable tag: 1.34
     7Stable tag: 1.35
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7676= 1.34 =
    7777Fix update information, api create-v2
     78= 1.35 =
     79Update param new api
    7880
    7981
  • redbox-pickup/trunk/redbox.php

    r3021703 r3046925  
    44        * Description: This plugin allows customers pickup package at RedBox Locker.
    55        * Plugin URI: https://woocommerce.com/
    6         * Version: 1.34
     6        * Version: 1.35
    77        * Author: RedBox
    88        * Author URI: https://redboxsa.com
     
    136136                wp_enqueue_script( 'redbox_front_js', REDBOX_PLUGIN_DIR . '/js/front.js', false, '1.0.21' );
    137137                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");
    139139                $translation_array_img = REDBOX_PLUGIN_DIR;
    140140               
Note: See TracChangeset for help on using the changeset viewer.