Portugal DPD Pickup and Lockers network for WooCommerce

Description

Lets you deliver on the DPD Portugal (former Chronopost and SEUR) Pickup network of partners or Lockers. This is not a shipping method but rather an add-on for any WooCommerce shipping method you activate it on.

This is not an official DPD Portugal plugin, but their support was obtained during its development. The DPD logo and brand is copyrighted, belongs to them and is used with their permission.

Features:

  • Lets the store client choose a DPD Portugal Pickup point or Locker for the shipping delivery;
  • The DPD Portugal Pickup points option can be associated to any zone/method by the store owner;
  • This plugin does not create a new WooCommerce Shipping Method and is compatible with methods that can be associated with a zone (WooCommerce 2.6 and above);
  • All WooCommerce built-in shipping methods are compatible;

Pro plugins:

NEW: Looking for a DPD / SEUR / BRT / PostNord Pickup and Lockers solution for other countries or the block-based checkout?

Our “DPD / Geopost Pickup and Lockers network for WooCommerce” premium plugin allows delivery in the Geopost network of Parcelshops and Lockers in Austria, Belgium, Croatia, Czech Republic, Denmark (PostNord), Estonia, France, Germany, Hungary, Ireland, Italy (BRT), Latvia, Lithuania, Luxembourg, Netherlands, Norway (PostNord), Poland, Portugal, Slovakia, Slovenia, Spain (SEUR), Sweden (PostNord) and Switzerland.

Suitable for WooCommerce shops using DPD to ship from any European country that can deliver to Pickup Points in the countries listed above.

It’s also compatible with the WooCommerce Block-Based Checkout.

Are you still issuing the shipping labels manually on the DPD website?

You should check out our new plugin “DPD Portugal for WooCommerce”, issue the labels directly from WooCommerce, save hours and free up human resources for the really important tasks.

With the Pro plugin you can also remove the Lockers from checkout options with simple settings on the backend, instead of having to use the cppw_hide_lockers developer filter.

Buy it here and use the coupon webdados for 10% discount!

If you buy our Pro DPD for label issuing plugin, you’ll also get premium support for this plugin.

3rd Party Integration:

Installation

  • Use the included automatic install feature on your WordPress admin panel and search for “DPD Portugal Pickup WooCommerce”.
  • Go to WooCoomerce > Settings > Shipping > Shipping zones and for each zone/method you want the DPD Portugal Pickup points selection to be activated, set “Yes” on the “DPD Portugal Pickup” option.
  • Mandatory if you want to show the point on a map (using Mapbox – recommended): go to the Mapbox Acess tokens page and get either your default public token or genrerate a new one, then add it to WooCommerce > Settings > Shipping > Shipping options > DPD Pickup network in Portugal > Mapbox public token.
  • Mandatory if you want to show the point on a map (using Google Maps): go to the Google APIs Console and create a project, then go to the Maps Static API documentation website and click on “Get started”, choose “Maps”, select your project and generate a new key, finally add it to WooCommerce > Settings > Shipping > Shipping options > DPD Pickup network in Portugal > Google Maps API Key.

FAQ

Is this plugin compatible with the new WooCommerce Block-Based Checkout?

No. Only our “DPD / Geopost Pickup and Lockers network for WooCommerce” premium plugin is.

Is this a shipping method?

No! This is an add-on for any method that supports “shipping zones” (WooCommerce >= 2.6).
You need to set the shipping fees using built-in or plugin installed methods and then set “Yes” on the “DPD Portugal Pickup” option on each zone/method that applies.

Can I change the number of total and near points shown on the website?

Yes! Go to WooCommerce > Settings > Shipping > Shipping options and tweak the settings as you like.
Always set the total points to a bigger number than the near points, or you’re going to end up with the just the near points.

I need to use this plugin with a shipping method that it’s not compatible. Is it possible?

Maybe. We have the cppw_get_shipping_methods filter that allows you to add other shipping methods besides the ones that are compatible. Use at your own risk.
For example, if you want to use DPD Pickup Points with Flat Rate per State/Country/Region for WooCommerce you would do it like this.

Why isn’t the Mapbox / Google Maps showing up?

You need to get a Mapbox Public Token or a Google Maps API Key, as explained on the installation instructions.

Can I change the map image size?

Yes. Use the cppw_map_width and cppw_map_height filters like this.
You can also change the zoom by using the cppw_map_zoom filter and scale using the cppw_map_scale filter (1 for regular and 2 for retina).

Can I hide the DPD Lockers from the checkout options?

Yes. Return false to the cppw_hide_lockers filter.

I’m getting the “There are no DPD points in the database” and I can’t get it to work even if I force the update process in the backend. What can I do?

This means your hosting provider is blocking the two ways that we have to update the Pickup points from DPD: webservice on port 7554 and FTP.
You should ask them to unblock HTTP requests to https://webservices.chronopost.pt:7554 and or the FTP functions on PHP.

Is this plugin compatible with the new WooCommerce High-Performance Order Storage?

Yes.

I need technical support. Who should I contact, DPD or Webdados?

The development and support is PT Woo Plugins (by Webdados) responsibility.
For free/standard support you should use the support forums at WordPress.org but no answer is guaranteed.
For premium/urgent support or custom developments you should contact Webdados directly. Charges may (and most certainly will) apply.

If you buy our Pro DPD for label issuing plugin, you’ll also get premium support for this plugin.

Where do I report security vulnerabilities found in this plugin?

You can report any security bugs found in the source code of this plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.

Reviews

May 24, 2019 1 reply
Exactly what we needed, thank you for making this available to the community. We needed a specific customization job done for our store and the support was very attentive and did a great job. – Evolt
October 18, 2017 8 replies
Hi, great and one of a kind! But i use Flexible Shipping addon for woocommerce, for more accuracy shipping methods… The Portugal Chronopost Pickup network for WooCommerce don’t work, only for the normal shipping methods. Thank you
Read all 4 reviews

Contributors & Developers

“Portugal DPD Pickup and Lockers network for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

“Portugal DPD Pickup and Lockers network for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Portugal DPD Pickup and Lockers network for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

3.4.2 – 2024-07-10

  • [TWEAK] Minor readme.txt changes
  • [DEV] Tested with WordPress 6.6-RC2-58657 and WooCommerce 9.1.0-rc.1

3.4.1 – 2024-05-02

  • [TWEAK] Minor readme.txt fixes required by WordPress.org

3.4 – 2024-05-02

  • [DEV] Add “Requires Plugins” tag
  • [DEV] Tested with WordPress 6.6-alpha-58070 and WooCommerce 8.9.0-beta.1

3.3 – 2023-10-20

3.2 – 2023-08-21

  • Fix a bug where sometimes pickup points with exact postcode matches would not show up
  • Requires WooCommerce 5.0
  • Tested with WordPress 6.4-alpha-56420 and WooCommerce 8.0.2

3.1 – 2023-06-29

  • Replace shipping address on the admin orders list with the DPD pickup point details
  • Tested with WordPress 6.3-beta2-56100 and WooCommerce 7.9.0-beta.2

3.0 – 2023-01-17

  • Tested and confirmed WooCommerce HPOS compatibility
  • Removed Kaksi Media backup API endpoint
  • Requires WooCommerce 4.0 or above
  • Tested with WordPress 6.2-alpha-55080 and WooCommerce 7.3

2.7.0 – 2022-09-13

  • Fix when country fields are removed from checkout
  • Tested with WordPress 6.1-alpha-54043 and WooCommerce 6.9.0-rc.1

2.6.0 – 2022-06-29

  • New brand: PT Woo Plugins 🥳
  • Requires WordPress 5.0, WooCommerce 3.0 and PHP 7.0
  • Tested with WordPress 6.1-alpha-53556 and WooCommerce 6.7.0-beta.2

2.5.0 – 2022-04-21

  • Fix the pickup points list when the user does not enter the “-” on the postcode
  • Tested with WordPress 6.0-beta2-53236 and WooCommerce 6.5.0-beta.1

2.4.1 – 2021-12-23

  • Use the WordPress wp_doing_ajax() function instead of the WooCommerce is_ajax() which will be deprecated on WooCommerce 6.1.0
  • Tested with WordPress 5.8-alpha-50516 and WooCommerce 5.1.0

2.4.0 – 2020-03-10

  • New option to not pre-select a point in the DPD Pickup field and force the client to choose it, thus reducing situations in which the client doesn’t even notice that he needed to select a point – sponsored by Evolt
  • Requires WooCommerce 3.0
  • Tested with WordPress 5.8-alpha-50516 and WooCommerce 5.1.0

2.3.0 – 2020-03-07

  • Fix Flexible Shipping integration – Field not showing
  • Tested with WordPress 5.7-RC3-50503 and WooCommerce 5.1.0-rc.1

2.2.0 – 2020-02-23

  • Show DDP pickup point number on emails
  • Tested with WordPress 5.7-beta3-50388 and WooCommerce 5.1.0-beta.1

2.1.0

2.0.1

  • readme.txt tweaks

2.0.0

  • New cppw_hide_lockers filter to hide the DPD Lockers from the checkout, by returning false to it
  • Fix some PHP notices
  • Requires WooCommerce 3.0 or above
  • Tested with WordPress 5.6-beta1-49314 and WooCommerce 4.7.0-rc.1

1.8.0

  • Bugfix when saving the pickup point for Table Rate Shipping for WooCommerce (by BolderElements)

1.7.2

  • Helper on the instruction settings regarding the DPD mixed service (home + pickup)
  • Tested with WordPress 5.6-alpha-48937 and WooCommerce 4.5.0-rc.3

1.7.1

1.7

  • Change all Chronopost references to DPD
  • Tested with WooCommerce 4.0.1

1.6.7

  • New cppw_available_points to allow developers to filter the pickup points list before they’re shown to the customer on the checkout – Sponsored by mindthetrash.pt
  • Tested with WordPress 5.3.3-alpha-47290 and WooCommerce 4.0.0-beta.1

1.6.6

  • Bugfix when loading the Checkout page and the active shipping method has Chronopost enabled
  • Tested with WordPress 5.3.3-alpha-46995 and WooCommerce 3.9.0-beta.2

1.6.5

  • Tested with WordPress 5.2.5-alpha and WooCommerce 3.8.0

1.6.4

  • Better cron job logging
  • Tested with WooCommerce 3.6.4
  • Tested with WordPress 5.2.3-alpha

1.6.3

1.6.2

  • CSS compatibility with Flatsome 3.7

1.6.1

  • Tested with WooCommerce 3.5
  • Bumped WC tested up tag

1.6

  • Because of the new Google Maps pricing policy, it’ now possible to use Mapbox static maps (the link on the map image remains to Google Maps)
  • New cppw_map_scale and cppw_map_zoom filters to allow overriding of the map image scale (default is 2, for retina displays) and zoom (default is 11 for Google Maps and 10 for Mapbox)

1.5

1.4

1.3.2

1.3.1

  • Fix: on newer WooCommerce versions the point was not saved with the order
  • Bumped WC tested up tag

1.3

1.2.1

  • Small fixes

1.2

1.1

  • It’s now possible to show a small instructions text under the shipping option for which the Chronopost Pickup is activated

1.0

  • The Chronopost Pickup point information is also shown on the order details on the “My Account” page and on the order preview on the admin orders list table
  • Code enhancements

0.9

  • It’s now possible to hide the Shipping Address from the order details and emails sent to the customer
  • JS and CSS loaded from external assets instead of inlined on the HTML

0.8

  • New cppw_get_shipping_methods to allow developers to add non-compatible shipping methods

0.7.1

  • Fix on a string
  • Bumped WC tested up tag

0.7

  • It’s now possible to show the Chronopost Pickup point information on emails sent to the customer

0.6

  • It’s now possible to show the pickup point phone number and opening/closing hours on the checkout (they will show up after the next sucessfull update from the webservice)
  • Bumped WC tested up tag

0.5.3.1

  • Tested with WooCommerce 3.3
  • Bumped Tested up to tag

0.5.3

  • Added the cppw_map_width and cppw_map_height filters to allow overriding of the Google Maps image size
  • Bumped WC tested up tag

0.5.2

  • Added a webservice URL fallback on Kaksi Media servers
  • Random mirror order when accessing the webservice for pickup points update
  • Increased the timeout when accessing the webservice for pickup points update
  • Bumped WC tested up tag

0.5.1

  • Fixed a small bug related to the Google Maps API Key
  • Fixed some PHP notices
  • Added a link to get a Google Maps API Key, near the field on the settings page

0.5

  • Added a webservice URL fallback on Webdados servers, for pickup points update, in servers that cannot open the Chronopost webservice because of firewall rules
  • Changed the FTP connection mode to passive

0.4.2

  • readme.txt fix

0.4.1

  • readme.txt fix

0.4

  • Fixed a PHP fatal error on very weird scenarios
  • Added FTP fallback, for pickup points update, in servers that cannot open the Chronopost webservice because of firewall rules
  • Added a warning on WooCommerce settings screen when the pickup points haven’t been loaded yet, and a tool to force the update

0.3

0.2

  • Tested with WooCommerce 3.2
  • Added WC requires at least and WC tested up to tags on the plugin main file
  • Bumped Tested up to tag

0.1