Jump to content
tomerg3

[MODULE] DHL - Get real time shipping rates & print labels from DHL and display a shipping preview

Recommended Posts

Get real time shipping rates from the DHL website.

Generate & print labels directly from the backoffice order page, and automatically send tracking number email.

Shipping rates are calculated by weight and dimensions, or use one DHL's boxes.
You have flexibility to use:

A Single Box - Assign one box size which will be used for all products.
Multiple Boxes (Fixed Size) - Define how many products can fit in a box (number), or calculate only by weight.
Multiple Boxes (Based on Product Dimensions) - Define all the box sizes you use for shipping, assign dimensions to your products, and the module will automatically calculate (using an algorithm we developed) how many boxes are needed to fit all the products (always trying to use the smallest / lowest number of packages).

Ability to set free shipping by Product, Category, Manufacturer or Supplier.

You can select which shipping options should be available for each Prestashop Zone.

Each shipping method can have its own Free Shipping Limit, Additional Fee, and Insurance.

Display a shipping preview on the product page, or in the cart block, which does not require the customer to login.

Smart caching system for maximum speed.

This module was tested on Prestashop 1.4, 1.5 & 1.6.x

The Module requires CURL (a Standard PHP extention).

Available at http://www.presto-ch...les/92-dhl.html

See a front end demo (DHL + UPS) on Prestashop 1.5.2 at http://demo.presto-changeo.com/152dhl/ (The origin address is Paris 75001, France)

Back end demo is now available at (the link was modified to prevent automatic crawling):
http://demo.presto-changeo(dot)com/149dhl/a/
User: demo@presto-changeo.com
Pass: 87654321


V1.0.2 released
* Fix for a potential issue when using payment modules that redirect to a 3rd party site (on call back, shipping was returning 0).
* Improved backwards compatibility code.
* Removed all uses of deprecated isLogged()


V1.1 released
* Added Label Printing.
* Updated configuration page layout and added more detailed instructions.

V1.1.1 released
*Zone lookup now checks State and Country (instead of only Country)

 

V1.1.2 released

* Fix for new custom hook system (PS 1.5.5+)

Added label + config page setting validation

Fix for label printing occasional information reset

Fix for return label printing

 

V1.1.3 released 

Inserted label printing request return encoding

Fixed issues with international label printing and duty requirements

Modified shipping quote request to retrieve dutiable shipping quotes

Removed dutiable shipping quote of EU countries

 

V1.1.4 released

* Fixed deprecated function Hook::get()
* Added option for DHL label printing in non-DHL orders
* Fixed debug mode error in ajax request (Shipping Rates Button)
* Updated override Carrier for PrestaShop v.1.5
* Fixed warehouse movement in label printing on status changing function, for PrestaShop 1.5
* Fixed issue in quote request when weight has 3 decimals digits

 

v1.2 released

* Added support for PrestaShop 1.6

 

v1.2.2 released

* Fixed insurance amount number formatting for label printing.
* Fixed shipping rates currency conversion when origin country's currency is not store's default currency
* Added support for having multiple label printing modules for an order.
* Shipping preview optimization (to avoid scrollbars).
* Fix for missing order name variable in tracking # email.
* Fixed config page layout issues in Firefox.
* Fixed label issues related to Duties.
 
V1.2.3 released
* Added account validation request and response to configuration page when account info is invalid
* Added server error to XML Log
* Improved performance of rate requests
* Fix for shipping preview fields formatting (certain themes only)
* Fix for configuration page layout (Firefox browser only)
* Fix relating to zip codes when 'Required' is not selected in configuration page
 
V1.2.4 released
* Added support for PrestaShop 1.6.1

post-20153-0-72336500-1371501101_thumb.jpg

post-20153-0-19960100-1371501114_thumb.jpg

post-20153-0-45311800-1371501123_thumb.jpg

post-20153-0-05851200-1403213756_thumb.jpg

post-20153-0-77256700-1403213760_thumb.jpg

Share this post


Link to post
Share on other sites

V1.0.1 released

* Fix for shipping preview check for logged customers (PS 1.4).

* Fix for multiple shops (carriers not always created in all shops).

* Fix for shipping preview mandatory zipcode alert (if hiding zipcode).

Share this post


Link to post
Share on other sites

V1.0.2 released

* Fix for a potential issue when using payment modules that redirect to a 3rd party site (on call back, shipping was returning 0).

* Improved backwards compatibility code.

* Removed all uses of deprecated isLogged()

Share this post


Link to post
Share on other sites

V1.1.2 released
* Fix for new custom hook system (PS 1.5.5+)
* Added label + config page setting validation
* Fix for label printing occasional information reset
* Fix for return label printing

Share this post


Link to post
Share on other sites

V1.1.3 released 

Inserted label printing request return encoding

Fixed issues with international label printing and duty requirements

Modified shipping quote request to retrieve dutiable shipping quotes

Removed dutiable shipping quote of EU countries

Share this post


Link to post
Share on other sites

Hello i'm from Mexico City, this module can help me in my location without problems?
is totally configurable for my state and regions?
I wait your answer, thanks!

Share this post


Link to post
Share on other sites

There is only 1 DHL server to get rates and label printing, and it works worldwide.

 

You should have no problems using the module in Mexico, and should get exactly the same results as you would on DHL.com

Share this post


Link to post
Share on other sites

V1.1.4 released

* Fixed deprecated function Hook::get()
* Added option for DHL label printing in non-DHL orders
* Fixed debug mode error in ajax request (Shipping Rates Button)
* Updated override Carrier for PrestaShop v.1.5
* Fixed warehouse movement in label printing on status changing function, for PrestaShop 1.5
* Fixed issue in quote request when weight has 3 decimals digits

Share this post


Link to post
Share on other sites
I am interested in this DHL module, I wanted to know if it is compatible with PrestaShop 1.5.6.2.

 

I already have access to the site https://www.mydhl.dhl.com, I have to request to xmlrequests@dhl.com new DHL Login and Password or are OK those who already have?

 

The module also sends the tracking number to the user?

 

Thanks!

Edited by HarryCom

Share this post


Link to post
Share on other sites

Yes, it's compatible with all PS 1.5.x including 1.5.6.2

 

You Must have a DHL Express account, and contact DHL at that email address to get your API credentials.

Share this post


Link to post
Share on other sites

v1.2.2 released

* Fixed insurance amount number formatting for label printing.
* Fixed shipping rates currency conversion when origin country's currency is not store's default currency
* Added support for having multiple label printing modules for an order.
* Shipping preview optimization (to avoid scrollbars).
* Fix for missing order name variable in tracking # email.
* Fixed config page layout issues in Firefox.
* Fixed label issues related to Duties.

Share this post


Link to post
Share on other sites
V1.2.3 released

* Added account validation request and response to configuration page when account info is invalid

* Added server error to XML Log

* Improved performance of rate requests

* Fix for shipping preview fields formatting (certain themes only)

* Fix for configuration page layout (Firefox browser only)

* Fix relating to zip codes when 'Required' is not selected in configuration page

Share this post


Link to post
Share on other sites

Hello, i tried to use de demo but didn't worked. Can you give me the correct link to check the demo, back and front office, please.

 

One more thing, this module only gets the rate, do not show also the delivery time?

 

Thanks a lot.

Share this post


Link to post
Share on other sites

Which demo did not work for you?

 

The demo info is available at http://www.presto-changeo.com/en/shipping-modules/92-dhl.html

 

Front end demo is using our test account info, it will return rates for any country (except US, as the origin is US and they do not offer domestic shipping in the US).

 

The backend demo does not have account info entered, you can enter your own, or simply see the interface.

 

The module does not provide live "delivery time", as it uses a cache, and also PrestaShop does not support a dynamic delivery time.

Share this post


Link to post
Share on other sites

 

Get real time shipping rates from the DHL website.

 

Generate & print labels directly from the backoffice order page, and automatically send tracking number email.

 

Shipping rates are calculated by weight and dimensions, or use one DHL's boxes.

You have flexibility to use:

 

A Single Box - Assign one box size which will be used for all products.

Multiple Boxes (Fixed Size) - Define how many products can fit in a box (number), or calculate only by weight.

Multiple Boxes (Based on Product Dimensions) - Define all the box sizes you use for shipping, assign dimensions to your products, and the module will automatically calculate (using an algorithm we developed) how many boxes are needed to fit all the products (always trying to use the smallest / lowest number of packages).

 

Ability to set free shipping by Product, Category, Manufacturer or Supplier.

 

You can select which shipping options should be available for each Prestashop Zone.

 

Each shipping method can have its own Free Shipping Limit, Additional Fee, and Insurance.

 

Display a shipping preview on the product page, or in the cart block, which does not require the customer to login.

 

Smart caching system for maximum speed.

 

This module was tested on Prestashop 1.4, 1.5 & 1.6.x

 

The Module requires CURL (a Standard PHP extention).

 

Available at http://www.presto-ch...les/92-dhl.html

 

See a front end demo (DHL + UPS) on Prestashop 1.5.2 at http://demo.presto-changeo.com/152dhl/ (The origin address is Paris 75001, France)

 

Back end demo is now available at (the link was modified to prevent automatic crawling):

http://demo.presto-changeo(dot)com/149dhl/a/

User: demo@presto-changeo.com

Pass: 87654321

 

 

V1.0.2 released

* Fix for a potential issue when using payment modules that redirect to a 3rd party site (on call back, shipping was returning 0).

* Improved backwards compatibility code.

* Removed all uses of deprecated isLogged()

 

 

V1.1 released

* Added Label Printing.

* Updated configuration page layout and added more detailed instructions.

 

V1.1.1 released

*Zone lookup now checks State and Country (instead of only Country)

 

V1.1.2 released

* Fix for new custom hook system (PS 1.5.5+)

Added label + config page setting validation

Fix for label printing occasional information reset

Fix for return label printing

 

V1.1.3 released 

Inserted label printing request return encoding

Fixed issues with international label printing and duty requirements

Modified shipping quote request to retrieve dutiable shipping quotes

Removed dutiable shipping quote of EU countries

 

V1.1.4 released

* Fixed deprecated function Hook::get()

* Added option for DHL label printing in non-DHL orders

* Fixed debug mode error in ajax request (Shipping Rates Button)

* Updated override Carrier for PrestaShop v.1.5

* Fixed warehouse movement in label printing on status changing function, for PrestaShop 1.5

* Fixed issue in quote request when weight has 3 decimals digits

 

v1.2 released

* Added support for PrestaShop 1.6

 

v1.2.2 released

* Fixed insurance amount number formatting for label printing.
* Fixed shipping rates currency conversion when origin country's currency is not store's default currency
* Added support for having multiple label printing modules for an order.
* Shipping preview optimization (to avoid scrollbars).
* Fix for missing order name variable in tracking # email.
* Fixed config page layout issues in Firefox.
* Fixed label issues related to Duties.
 
V1.2.3 released
* Added account validation request and response to configuration page when account info is invalid
* Added server error to XML Log
* Improved performance of rate requests
* Fix for shipping preview fields formatting (certain themes only)
* Fix for configuration page layout (Firefox browser only)
* Fix relating to zip codes when 'Required' is not selected in configuration page

 

I am use this module on my client site but it not work. fedex, usps module show in shipping page but DHL (your module) is not show. site is: http://www.paradisearcadeshop.com

Share this post


Link to post
Share on other sites

Yes, it can be used worldwide, but only with a DHL Express account type

 

What is "special" about the DHL Express account"? Could you elaborate what I can and what I cannot do with your Module?

 

What I want to do: DHL Shipping of parcels within Switzerland AND Europe. I want to be able to take advantage of the full DHL Prestashop integration that your product

offers.

 

Try and sell it to me! Why not another product ;) I am supposed to be spening 100 Dollars here....

 

Thanks in advance for your info and support.

 

Mike

Share this post


Link to post
Share on other sites

Some countries have only 1 account type, and some have 2.

 

You would need to contact your local DHL representative and ask them what type of account you have).

 

Our module only works if you have a DHL Express account.

Share this post


Link to post
Share on other sites

Hi, this module print the return label ?
I saw in the release 1.1.2 there was Fix for return label printing... this option is available on the release 1.2.3 ?

Best regards

Share this post


Link to post
Share on other sites

I have a question about this module.

 

Does this work in Colombia? I tested the front end and backoffice but the carriers doesn't have shipping costs and therefore they don't appear on the Checkout page on the Shipping step.

 

I don't care about the rates displayed on the product page, I just want to get the shipping cost on checkout and those cost should be automagically calculated from DHL via their API. Is that possible with this module?

 

Thanks in advance.

Share this post


Link to post
Share on other sites

el charlie: Yes, as long as you have a DHL Express account, the module will work worldwide.

It was likely related to settings, carrier not being set up.

If you are using the backoffice demo, please note that you would need to enter DHL credentials in order to get rates.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×