We'll create fresh WordPress site with Automated DHL Express live/manual shipping rates, labels and pickup – HPOS supported installed. You have 20 minutes to test the plugin after that site we'll be deleted.
DHL Express shipping plugin integrates seamlessly with DHL Express for real-time DHL Express online quotes based on the postal codes of origin and destination,shipping rates, label printing, automatic tracking number email generation, shipping rate previews on product pages, and much more.
Annoyed of clicking button to create shipping label and generating it here is a hassle free solution, HITShipo 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. Our plugin used the latest version of DHL Express XML Version 10.
For documentation vist this link
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;}
7) Customize insurance option
add_filter( ‘hitshipo_ins_ship’ , ‘hitshipo_ins_ship_fun’, 10, 3 );
function hitshipo_ins_ship_fun($insurance=”no”, $vendor=”default”, $order=[]){
return “yes”;
}
8) Customize insurance amount
add_filter( ‘hitshipo_ins_val_ship’ , ‘hitshipo_ins_val_ship_fun’, 10, 3 );
function hitshipo_ins_val_ship_fun($insurance_value=0, $vendor=”default”, $order=[]){
return 10;
}
9) Disable currency conversion for shipment
add_filter(‘hit_do_conversion_while_label_generation’, ‘hits_curr_con’, 10, 2);
function hits_curr_con($enabled = true, $toCounty = “”){
return false;
}
10) Modify products for shipment
add_filter(‘hitshipo_prods_to_ship’, ‘hits_product_modifier’, 10, 1);
function hits_product_modifier($products = []){
// your code
return $products;
}
11) Hide invoice for specific countries
add_filter(‘hits_show_invoice’, ‘hits_show_invoice_handle’, 10, 3);
function hits_show_invoice_handle($enabled = true, $toCounty = “”, $type=””){
$disabled_countries = [“GB, US”, “DE”];
if(!empty($toCounty) && in_array($toCounty, $disabled_countries)){
$enabled = false;
}
return $enabled;
}
12) Set receiver vat
add_filter( ‘hitshipo_dhlexpress_receiver_vat’ , ‘hitshipo_dhl_receiver_vat_fun’, 10, 2 );
function hitshipo_dhl_receiver_vat_fun($rec_vat=””, $order=[]){
$rec_vat = “qw12345”;
return $rec_vat;
}
13) Change inbound commodity based on receiver country
add_filter(‘a2z_dhlexpress_cc_inb’, ‘a2z_dhlexpress_cc_inb_fun’, 10, 3);
function a2z_dhlexpress_cc_inb_fun($saved_cc_inb=””, $product_id=””, $to_country=””){
$saved_cc_inb = “12345678”; // inbound commodity code
return $saved_cc_inb;
}
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 hitshipo.
Plugin Tags:
Best DHL express plugin, 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
“HITShipo is a shipping platform for automation”. HITShipo is an automation tool that let’s you print shipping labels,track orders,audit shipments etc. Both shipments are handled with a strong integration of e-Commerce.
Get Live Shipping rates and account rates using plugins which are integrated with HITShipo.
Create Shipments and generate label through HITShipo.
You can Create Pick up request and label through Hitshipo.
You can create Return label through HITShipo.
You can Track your Shipments.
Automatically update order status.
Audit Shipments.
All Shipping services available.
Supports both Domestic and International Shipments.
If you are tired by the process of creating and printing a shipping label, here is a simple solution for you. HITShipo is a fully automated solution that lowers your costs and saves your time.
- When an order is placed, the shipping label, invoice, packing slip gets automatically created and it will be mailed to your email, and at the same time, the label is updated on your site.
- It tracks the order information and automatically changes the state from shipped to a completed state when an order status is completed.
- Website Speed -> Shipping servers are returning a big amount of Base64 encoded data via API. If you are using any plugin, this encodes formatted data that will be getting saved in your DB. And DB size will get increased, Maintenance is needed to your Database in the future. Here we are handling that on the HITSHIPO side, only storing a short URL of the shipping label in the table.
- We are doing shipment audits, If a package goes wrong, any damage happens, the system will automatically capture the data & email you. You can get a refund from them.
- Mainly, When your customer enters the address, they may enter the address1 line very big. But shipping companies will support 44 characters to 60 characters. Here some shipping plugins will truncate the characters and create shipping labels that cause bad delivery. In HITSHIPO, This part is manually handled. If this kind of error comes while creating a shipping label, our team will manually enter that data from outside & create a label correctly.