
DHL Express shipping plugin, integrate the DHL Express for express delivery in Domestic and Internationally. According to the destination, We are providing all kind of DHL Services. It supports all Countries.
Annoyed of clicking button to create shipping label and generating it here is a hassle free solution, HITStacks is the tool with fully automated will reduce your cost and will save your time.
Further, We will track your shipments and will update the order status automatically.
To fetch real-time rates on the checkout page, we will send product information and location to DHL.
We are providing the following domestic & international shipping carriers of DHL:
* Domestic Express
* Worldwide Express
* DHL Express
* DHL Economy
and more 14 Services.
You can get the DHL provided discounts.
By using hooks and filters you can make currency conversions, product skipping package, definition customization and supports the insurance.
DHL Express shipping plugin is deeply integrated with HITStacks. So the shipping labels will be generated automatically. You can get the shipping label through email or from the order page.
This plugin also supported the manual shipments option. By using this you can create the shipments directly from the order page. HITShipo will keep track of the orders and update the order state to complete.
1) Filter to restric the country
add_filter(“a2z_dhlexpress_rate_packages”,”a2z_dhlexpress_rate_packages_func”,10,1);
function a2z_dhlexpress_rate_packages_func($package){
$return_package = array();
if($package[‘destination’][‘country’] == ‘RU’){
return $return_package;
}
return $package;
}
2) Flat Rate based on order total for services
function hitstacks_dhlexpress_rate_cost_fnc($rate_cost, $rate_code, $order_total){
if($order_total > 250){
return 0;
}
return 20; // Return currency is must to be a DHL confiured currency.
}
add_filter(“hitstacks_dhlexpress_rate_cost”, “hitstacks_dhlexpress_rate_cost_fnc”, 10,3);
3) Change estimated delivery date format or text.
add_filter(‘hitstacks_dhlexpres_delivery_date’, ‘hit_dhl_est_delivery_format’,10,3);
function hit_dhl_est_delivery_format($string, $est_date, $est_time){
return $string;
}
4) To Sort the rates from Lowest to Highest
add_filter( ‘woocommerce_package_rates’ , ‘hitshipo_sort_shipping_methods’, 10, 2 );
function hitshipo_sort_shipping_methods( $rates, $package ) {
if ( empty( $rates ) ) return;
if ( ! is_array( $rates ) ) return;
uasort( $rates, function ( $a, $b ) {
if ( $a == $b ) return 0;
return ( $a->cost < $b->cost ) ? -1 : 1;
} );
return $rates;
}
5) To display Fixed rate during checkout
add_filter(“a2z_dhlexpress_manual_flat_rates”,”a2z_dhlexpress_manual_flat_rates_func”,10,1);
function a2z_dhlexpress_manual_flat_rates_func($package){
return array(array(“rate_code” => “I”, “name” => “DHLExpress Domestic – I”, “rate” => “10”), array(“rate_code” => “N”, “name” => “DHLExpress Domestic – N”, “rate” => “20”));
}
6) Display free Shipping based on product SKU
add_filter(“a2z_dhlexpress_rate_based_product”,”a2z_dhlexpress_rate_based_product_fun”,10,1);
function a2z_dhlexpress_rate_based_product_fun($products){// add all SKU of free shiping products in array
$free_product = array(
‘SHSJGAHGH’,’CFSL6813DB’
);
foreach($products as $item_key => $val){
$product = $val[‘data’];
$product_data = $product->get_data();
$exist = array_intersect(array($product_data[‘sku’]),$free_product);
if(isset($exist) && !empty($exist)){
unset($products[$item_key]);
}}
if(empty($products)){
return 0;
}
return $products;}
If you have already a DHL Express Account, please contact your DHL account manager to get your credentials.
If you are not registered yet, please contact our customer service.
Functions of the module are available only after receiving your API’s credentials.
Please note also that phone number registration for the customer on the address webform should be mandatory.
Create account in hitstacks.
Plugin Tags:
DHL, DHL Express, dhlexpress,DHL Express shipping, DHL Woocommerce, dhl express for woocommerce, official dhl express, dhl express plugin, dhl plugin, create shipment, dhl shipping, dhl shipping rates
DHL Express is a division of the German logistics company Deutsche Post DHL providing international courier, parcel, and express mail services. Deutsche Post DHL is the world’s largest logistics company operating around the world, particularly in sea and air mail
We are Web Development Company. We are planning for make everything automated.
“Configure & take rest”
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.