Plugin Directory

Changeset 3039350


Ignore:
Timestamp:
02/21/2024 06:36:00 PM (2 years ago)
Author:
qisstpay
Message:

Added weight usecase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qisstpay/trunk/gateways/QPBaseConfiguration.php

    r2979245 r3039350  
    309309                }
    310310
    311 
     311                $weight_unit = get_option('woocommerce_weight_unit');
    312312
    313313                $line_item[] = array(
     
    333333                    //"total_tax_amount"=> (int)$row->get_total_tax(),
    334334                    //"shipping_attributes"=>array(
     335                    "weight" => $product->get_weight(),
     336                    "weight_unit" => $weight_unit,
    335337                        //"weight"=>"NA",
    336338                        //"dimensions"=>array(
Note: See TracChangeset for help on using the changeset viewer.