Changeset 3407061
- Timestamp:
- 12/01/2025 04:55:46 PM (6 weeks ago)
- Location:
- a2z-fedex-shipping
- Files:
-
- 64 added
- 2 edited
-
tags/5.1.5 (added)
-
tags/5.1.5/a2zfedex_basic.php (added)
-
tags/5.1.5/controllors (added)
-
tags/5.1.5/controllors/classes (added)
-
tags/5.1.5/controllors/classes/hit-box-packing.php (added)
-
tags/5.1.5/controllors/classes/index.php (added)
-
tags/5.1.5/controllors/classes/weight_pack (added)
-
tags/5.1.5/controllors/classes/weight_pack/class-hit-weight-packing-util.php (added)
-
tags/5.1.5/controllors/classes/weight_pack/class-hit-weight-packing.php (added)
-
tags/5.1.5/controllors/classes/weight_pack/class-hit-weight-strategy-ascend.php (added)
-
tags/5.1.5/controllors/classes/weight_pack/class-hit-weight-strategy-descend.php (added)
-
tags/5.1.5/controllors/classes/weight_pack/class-hit-weight-strategy-simple.php (added)
-
tags/5.1.5/controllors/classes/weight_pack/index.php (added)
-
tags/5.1.5/controllors/hit_fedex_rest_virtual_req.json (added)
-
tags/5.1.5/controllors/hitshipo_fedex_rest_main.php (added)
-
tags/5.1.5/controllors/hitshippo_fedex_init.php (added)
-
tags/5.1.5/controllors/index.php (added)
-
tags/5.1.5/controllors/shipi_ajax_handler.php (added)
-
tags/5.1.5/controllors/views (added)
-
tags/5.1.5/controllors/views/data (added)
-
tags/5.1.5/controllors/views/data/countries.json (added)
-
tags/5.1.5/controllors/views/data/states.json (added)
-
tags/5.1.5/controllors/views/fedex.png (added)
-
tags/5.1.5/controllors/views/hfedex.png (added)
-
tags/5.1.5/controllors/views/hitshippo_fedex_settings_view.php (added)
-
tags/5.1.5/controllors/xml (added)
-
tags/5.1.5/controllors/xml/index.php (added)
-
tags/5.1.5/controllors/xml/production (added)
-
tags/5.1.5/controllors/xml/production/ASYNCService_v4.wsdl (added)
-
tags/5.1.5/controllors/xml/production/AddressValidationService_v2.wsdl (added)
-
tags/5.1.5/controllors/xml/production/PickupService_v15.wsdl (added)
-
tags/5.1.5/controllors/xml/production/RateService_v13.wsdl (added)
-
tags/5.1.5/controllors/xml/production/RateService_v16.wsdl (added)
-
tags/5.1.5/controllors/xml/production/RateService_v20.wsdl (added)
-
tags/5.1.5/controllors/xml/production/RateService_v22.wsdl (added)
-
tags/5.1.5/controllors/xml/production/ShipService_v15.wsdl (added)
-
tags/5.1.5/controllors/xml/production/ShipService_v21.wsdl (added)
-
tags/5.1.5/controllors/xml/production/ShipService_v23.wsdl (added)
-
tags/5.1.5/controllors/xml/production/index.php (added)
-
tags/5.1.5/controllors/xml/rate.xml (added)
-
tags/5.1.5/controllors/xml/ship.xml (added)
-
tags/5.1.5/controllors/xml/ship_inter.xml (added)
-
tags/5.1.5/controllors/xml/test (added)
-
tags/5.1.5/controllors/xml/test/ASYNCService_v4.wsdl (added)
-
tags/5.1.5/controllors/xml/test/PickupService_v15.wsdl (added)
-
tags/5.1.5/controllors/xml/test/RateService_v13.wsdl (added)
-
tags/5.1.5/controllors/xml/test/RateService_v16.wsdl (added)
-
tags/5.1.5/controllors/xml/test/RateService_v20.wsdl (added)
-
tags/5.1.5/controllors/xml/test/RateService_v22.wsdl (added)
-
tags/5.1.5/controllors/xml/test/ShipService_v15.wsdl (added)
-
tags/5.1.5/controllors/xml/test/ShipService_v21.wsdl (added)
-
tags/5.1.5/controllors/xml/test/ShipService_v23.wsdl (added)
-
tags/5.1.5/controllors/xml/test/index.php (added)
-
tags/5.1.5/data (added)
-
tags/5.1.5/data/states.json (added)
-
tags/5.1.5/i18n (added)
-
tags/5.1.5/i18n/index.php (added)
-
tags/5.1.5/i18n/languages (added)
-
tags/5.1.5/i18n/languages/index.php (added)
-
tags/5.1.5/index.php (added)
-
tags/5.1.5/js (added)
-
tags/5.1.5/js/edit_order.js (added)
-
tags/5.1.5/js/fedexaccountstates.js (added)
-
tags/5.1.5/readme.txt (added)
-
trunk/a2zfedex_basic.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
a2z-fedex-shipping/trunk/a2zfedex_basic.php
r3405383 r3407061 4 4 * Plugin URI: https://myshipi.com/ 5 5 * Description: Realtime Shipping Rates, shipping labels. 6 * Version: 5.1. 46 * Version: 5.1.5 7 7 * Author: Shipi 8 8 * Author URI: https://myshipi.com/ … … 3137 3137 foreach ( $items as $item ) { 3138 3138 $product_data = $item->get_data(); 3139 3140 $refunded_qty = $order->get_qty_refunded_for_item( $item->get_id() ); 3141 $remaining_qty = $product_data['quantity'] + $refunded_qty; 3142 3143 if ($remaining_qty <= 0) { 3144 continue; 3145 } 3139 3146 3140 3147 $product = array(); 3141 $product['product_quantity'] = $ product_data['quantity'];3148 $product['product_quantity'] = $remaining_qty; 3142 3149 $product['product_id'] = $product_data['product_id']; 3143 3150 … … 3177 3184 } 3178 3185 $product['product_name'] = apply_filters("shipi_product_name_change", str_replace('"', '', $getproduct->get_name()), $getproduct->get_id()); 3179 $product['price'] = (isset($product_data['total']) && $product_data['total'] > 0) ? round($product_data['total']/$product_data['quantity'], 2): $getproduct->get_price(); 3186 $refunded_total = $order->get_total_refunded_for_item( $item->get_id() ); 3187 $remaining_total = $product_data['total'] + $refunded_total; 3188 $product['price'] = (isset($remaining_total) && $remaining_total > 0) ? round($remaining_total/$remaining_qty, 2): $getproduct->get_price(); 3180 3189 $product['width'] = (!empty($getproduct->get_width())) ? round(wc_get_dimension($getproduct->get_width(),$mod_dim_unit,$woo_dim_unit)) : ''; 3181 3190 $product['height'] = (!empty($getproduct->get_height())) ? round(wc_get_dimension($getproduct->get_height(),$mod_dim_unit,$woo_dim_unit)) : ''; -
a2z-fedex-shipping/trunk/readme.txt
r3405383 r3407061 5 5 Tested up to: 6.8 6 6 Requires PHP: 5.6 7 Stable tag: 5.1. 47 Stable tag: 5.1.5 8 8 License: GPLv3 or later License 9 9 URI: http://www.gnu.org/licenses/gpl-3.0.html … … 159 159 160 160 == Changelog == 161 = 5.1.5 = 162 > Bug Fixes. 161 163 = 5.1.4 = 162 164 > [New] Load order to shipi.
Note: See TracChangeset
for help on using the changeset viewer.