Integrate the FedEx for Domestic and international Shipping. Shipping rates, label, tracking.
FedEx shipping plugin, Integrate the FedEx for Domestic and international Shipping. According to the destination, We are Providing all kind of FedEx Services.
Calculate shipping costs in real time through the FedEx’s online quote, based on the products of the cart and the postal codes of origin and destination. It also shows the estimated delivery times based on the moment of calculation.
Trusted shipping costs obtained directly from FedEx, with different variants or types of services available.
In case your products do not have dimensions or weight, the module allows you to set dimensions and weight of customized products to calculate the shipping costs.
Option to add an impact or adjustment to the shipping costs displayed by the carrier before showing it to the customer.
Improve the shopping experience by allowing you to show estimated delivery times.
Simple configuration focused on obtaining accurate and adjusted shipping costs for your business model.
At the moment, no type of contract with the provider is required to make use of this module.
No override files are required for proper functionality of the module.
Our module support SOAP and REST API’s.
* To create SOAP API credentials, You have to follow the steps from here [https://www.fedex.com/en-us/developer/web-services.html].
* To create REST API credentials, You have to check here [https://developer.fedex.com/api/en-us/catalog/authorization/docs.html].
Q). Do I need credentials provided by FedEx to use the module?
A). Yes, this module makes the estimates directly from the FedEx’s online Account.
Q). Does it work with other currencies?
A). Yes, Its done by hooks.
Q). Are the prices updated?
A). Yes, costs are obtained directly from FedEx’s online quote in real time.
Q). Is it compatible with other carrier modules?
A). Yes, it is completely compatible.
1) Filter to adjust shipping cost
add_filter(‘hitstacks_fedex_shipping_cost_conversion’,’fedex_shipping_cost_conversion’,10,1);
function fedex_shipping_cost_conversion($ship_cost){
return $ship_cost+1000;
}
2) Filter to set Flat rate
function fedex_shipping_cost_conversion($ship_cost, $pack_weight = 0, $to_country = ”, $rate_code = ”){
$sample_flat_rates = array(“GB”=>array( //Use ISO 3166-1 alpha-2 as country code
“weight_from” => 10,
“weight_upto” => 30,
“rate” => 2000,
“rate_code” => “INTERNATIONAL_FIRST”, //You can add fedex service type here. Get this from Fedex Dev docs – Appendix -> Service Types
),
“US”=>array(
“weight_from” => 10,
“weight_upto” => 30,
“rate” => 5000,
),
);if(!empty($to_country) && !empty($sample_flat_rates)){
if(isset($sample_flat_rates[$to_country]) && ($pack_weight >= $sample_flat_rates[$to_country][‘weight_from’]) && ($pack_weight <= $sample_flat_rates[$to_country][‘weight_upto’])){
$flat_rate = $sample_flat_rates[$to_country][‘rate’];
return $flat_rate;
}else{
return $ship_cost;
}
}else{
return $ship_cost;
}}
add_filter(‘hitstacks_fedex_shipping_cost_conversion’,’fedex_shipping_cost_conversion’,10,4);
3) Set specific service as default on checkout
add_filter(‘hitshipo_fedex_default_rate_service’, ‘hitshipo_fedex_default_rate_service_fun’, 10, 3);
function hitshipo_fedex_default_rate_service_fun($default=”no”, $service_code=””, $dest_country=””){
if(($dest_country==”CA”) && ($service_code==”FEDEX_INTERNATIONAL_PRIORITY”)){
$default = “yes”;
}
return $default;
}
(Note: Flat rate filter example code will set flat rate for all fedex carriers. Have to add code to check and alter rate for specific carrier.
While copy paste the code from worpress plugin page may throw error “Undefined constant”. It can be fixed by replacing backtick (`) to apostrophe (‘) inside add_filter())
FedEx Corporation is an American multinational courier delivery services company headquartered in Memphis, Tennessee. The name “FedEx” is a syllabic abbreviation of the name of the company’s original air division, Federal Express, which was used from 1973 until 2000.
We are Web Development Company in France. We are planning for High Quality WordPress, Woocommerce, Edd Downloads Plugins. We are launched on 4th Nov 2018.
“Make Your Shop With Smile”
> Bug fix on Fedex shipping rates sction