Plugin Directory

Changeset 3407925


Ignore:
Timestamp:
12/02/2025 11:36:56 AM (6 weeks ago)
Author:
aarsiv
Message:

eleasee

Location:
a2z-fedex-shipping
Files:
64 added
2 edited

Legend:

Unmodified
Added
Removed
  • a2z-fedex-shipping/trunk/a2zfedex_basic.php

    r3407086 r3407925  
    44 * Plugin URI: https://myshipi.com/
    55 * Description: Realtime Shipping Rates, shipping labels.
    6  * Version: 5.1.6
     6 * Version: 5.1.7
    77 * Author: Shipi
    88 * Author URI: https://myshipi.com/
     
    14581458                echo '<br/><select name="hitshippo_fedex_return_service_code_default" class="wc-enhanced-select">';
    14591459                if(!empty($general_settings['hitshippo_fedex_carrier'])){
    1460                     foreach ($general_settings['hitshippo_fedex_carrier'] as $key => $value) {
     1460                    $fedex_carriers_list = apply_filters('hitshippo_fedex_label_carriers', $general_settings['hitshippo_fedex_carrier'], $order_id, 'default');
     1461                    foreach ($fedex_carriers_list as $key => $value) {
    14611462                        echo "<option value='".$key."'>".$key .' - ' .$_fedex_carriers[$key]."</option>";
    14621463                    }
     
    17731774                                echo '<br/><select name="hitshippo_fedex_service_code_default">';
    17741775                                if(!empty($general_settings['hitshippo_fedex_carrier'])){
    1775                                     foreach ($general_settings['hitshippo_fedex_carrier'] as $key => $value) {
     1776                                    $fedex_carriers_list = apply_filters('hitshippo_fedex_label_carriers', $general_settings['hitshippo_fedex_carrier'], $order_id, 'default');
     1777                                    foreach ($fedex_carriers_list as $key => $value) {
    17761778                                        echo "<option value='".$key."'>".$_fedex_carriers[$key]."</option>";
    17771779                                    }
     
    19031905                            }else{
    19041906                                if(!empty($general_settings['hitshippo_fedex_carrier'])){
    1905                                     foreach ($general_settings['hitshippo_fedex_carrier'] as $key => $value) {
     1907                                    $fedex_carriers_list = apply_filters('hitshippo_fedex_label_carriers', $general_settings['hitshippo_fedex_carrier'], $order_id, $ukey);
     1908                                    foreach ($fedex_carriers_list as $key => $value) {
    19061909                                        echo "<option value='".$key."'>".$_fedex_carriers[$key]."</option>";
    19071910                                    }
     
    19751978
    19761979                $desination_country = (isset($order_data['shipping']['country']) && $order_data['shipping']['country'] != '') ? $order_data['shipping']['country'] : $order_data['billing']['country'];
     1980               
     1981                $service_code = apply_filters('hitshippo_fedex_service_code_default', $service_code, $order_id);
     1982
    19771983                if(empty($service_code)){
    19781984                    if( !isset($general_settings['hitshippo_fedex_international_service']) && !isset($general_settings['hitshippo_fedex_Domestic_service'])){
  • a2z-fedex-shipping/trunk/readme.txt

    r3407086 r3407925  
    55Tested up to: 6.8
    66Requires PHP: 5.6
    7 Stable tag: 5.1.6
     7Stable tag: 5.1.7
    88License: GPLv3 or later License
    99URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    159159
    160160== Changelog ==
     161= 5.1.7 =
     162    > [New] Added new filter.
    161163= 5.1.6 =
    162164    > Bug Fixes.
Note: See TracChangeset for help on using the changeset viewer.