Plugin Directory

Changeset 3397768


Ignore:
Timestamp:
11/18/2025 06:12:49 AM (4 months ago)
Author:
aarsiv
Message:

bug fix

Location:
a2z-ups-shipping
Files:
31 added
3 edited

Legend:

Unmodified
Added
Removed
  • a2z-ups-shipping/trunk/a2zups_basic.php

    r3375247 r3397768  
    55 * Plugin URI: https://a2zplugins.com/product/ups-express-shipping-with-label-printing/
    66 * Description: Realtime Shipping Rates, Shipping label, commercial invoice automation included.
    7  * Version: 4.4.1
     7 * Version: 4.4.2
    88 * Author: Shipi
    99 * Author URI: https://myshipi.com/
  • a2z-ups-shipping/trunk/controllors/ups_rest_main.php

    r3375247 r3397768  
    166166                    foreach ($pack['packed_products'] as $pp_key => $p_prods) {
    167167                        if (isset($p_prods['price'])) {
    168                             $this->order_total += $p_prods['price'];
     168                            // $this->order_total += $p_prods['price'];
     169                            $this->order_total += floatval($p_prods['price']);
    169170                        }
    170171                    }
    171                     $this->total_pack_weight += isset($pack['Weight']['Value']) ? substr(number_format(wc_get_weight($pack['Weight']['Value'],$this->mod_weg_unit,$this->woo_weg_unit), 4), 0, 6) : "0.5000";
     172                    // $this->total_pack_weight += isset($pack['Weight']['Value']) ? substr(number_format(wc_get_weight($pack['Weight']['Value'],$this->mod_weg_unit,$this->woo_weg_unit), 4), 0, 6) : "0.5000";
     173                    $this->total_pack_weight += isset($pack['Weight']['Value']) ? floatval(substr(number_format(wc_get_weight($pack['Weight']['Value'], $this->mod_weg_unit, $this->woo_weg_unit), 4), 0, 6)) : 0.5;
    172174                    $this->total_pack_count++;
    173175                }
  • a2z-ups-shipping/trunk/readme.txt

    r3375247 r3397768  
    66Tested up to: 6.8
    77Requires PHP: 5.6
    8 Stable tag: 4.4.1
     8Stable tag: 4.4.2
    99License: GPLv3 or later License
    1010URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    9797
    9898== Changelog ==
     99= 4.4.2=
     100    > Bug Fixes
     101
    99102= 4.4.1 =
    100103    > Additional handling charges hook is added.
Note: See TracChangeset for help on using the changeset viewer.