Plugin Directory

Changeset 3431624


Ignore:
Timestamp:
01/03/2026 12:48:58 PM (7 weeks ago)
Author:
epeken
Message:

bug fix

Location:
epeken-all-kurir
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • epeken-all-kurir/tags/2.0.5/class/shipping.php

    r3429500 r3431624  
    24002400        $this -> shipping_total_weight = 0;
    24012401        $this -> shipping_metric_dimension = 0;
    2402         $berat_bungkus = ($this -> settings['berat_package'])/1000;
     2402        $berat_bungkus = ((int)($this -> settings['berat_package']))/1000;
    24032403        $cart_weight = $woocommerce->cart->cart_contents_weight;
    24042404                if(get_option('woocommerce_weight_unit') === "g") {
  • epeken-all-kurir/trunk/class/shipping.php

    r3429500 r3431624  
    24002400        $this -> shipping_total_weight = 0;
    24012401        $this -> shipping_metric_dimension = 0;
    2402         $berat_bungkus = ($this -> settings['berat_package'])/1000;
     2402        $berat_bungkus = ((int)($this -> settings['berat_package']))/1000;
    24032403        $cart_weight = $woocommerce->cart->cart_contents_weight;
    24042404                if(get_option('woocommerce_weight_unit') === "g") {
Note: See TracChangeset for help on using the changeset viewer.