Portugal CTT Tracking for WooCommerce


Shop owners using the Portuguese carrier CTT can use this plugin to associate the tracking code with the WooCommerce order and track it on the order edit screen.

Clients will also be able to track the order shipping status on the “My Account” page.

Due to changes in CTT’s systems, the tracking information is currently unavailable and can only be accessed through their website. We are working on a workaround but we cannot commit to a deadline.


  • Add a CTT tracking code to the order
  • Shop owner can check the shipping status on the order edit screen
  • Client can check the delivery status on the order page on My account
  • Tracking code is added to order emails sent to the client
  • Tracking information is updated every time the order edit screen or the order page on My account is visited and 4 hours have passed since the last update
  • WooCommerce 7.1 and above High-Performance Order Storage compatible (in beta)

Do your customers still write the full address details manually on the checkout?

Activate the automatic filling of the address details at the checkout, including street name and neighbourhood, based on the postal, avoiding incorrect data at the time of shipping, with our plugin Portuguese Postcodes for WooCommerce

Are you already issuing automatic invoices on your WooCommerce store?

If not, get to know our new plugin: Invoicing with InvoiceXpress for WooCommerce

Other (premium) plugins

Already know our other WooCommerce (premium) plugins?


  • Use the included automatic install feature on your WordPress admin panel and search for “Portugal CTT Tracking for WooCommerce”
  • Go to WooCommerce > Shipping > Shipping options and set your preferences


Is this a shipping method?


Can this plugin calculate the CTT shipping costs?


What else can this plugin do besides tracking the CTT order?


Can I trigger an event when the order changes status at CTT?


Is it possible to set the CTT tracking code on an order and update the information from the CTT website via hooks?


You can use the portugal_ctt_tracking_set_tracking_code action with two arguments, $order_id and $tracking_code, to set the tracking code on your order and immediatly fetch new information from the CTT website.

You can use the portugal_ctt_tracking_update_info_for_order action if your order already has a tracking code set to fetch new information from the CTT website.
Please use with caution because you can slow down your website if you start updating all your orders, even the ones that don’t need update anymore. No checks are made, we just go fetch the information because you ask us to do so.

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

Yes, in beta, from version 2.0 onwards.

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

The development and support is 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.

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.


12 de enero de 2022
I'm really impressed with this plugin's functionality, it's simple, yet very effective! And when I needed a bit of assistance, the support was fast and very helpful! Keep up with the great work! 🙂
11 de septiembre de 2019
Plugin e assistência 5*. Super útil para todos os que trabalham com os CTT. Obrigada! 👏
Read all 4 reviews

Contributors & Developers

“Portugal CTT Tracking for WooCommerce” is open source software. The following people have contributed to this plugin.


“Portugal CTT Tracking for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Portugal CTT Tracking for WooCommerce” into your language.

Interested in development?

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


2.0.2 – 2023-07-08

  • Requires WooCommerce 5.0
  • Tested with WordPress 6.3-beta3-56143 and WooCommerce 7.9.0-rc.2

2.0.1 – 2022-11-30

  • Removed a debug echo on the emails

2.0.0 – 2022-11-18

  • WooCommerce 7.1 and above High-Performance Order Storage compatible (in beta)
  • Fix a bug on emails when the shop language is not the same as the user managing the orders
  • Fix jQuery deprecations
  • Tested with WordPress 6.2-alpha-54855 and WooCommerce 7.1

1.7.0 – 2022-09-01

  • Due to changes in CTT’s systems, the tracking information is currently unavailable and can only be accessed through their website
  • Requires WooCommerce 4.0
  • Tested with WordPress 6.1-alpha-54043 and WooCommerce 6.9.0-beta.2

1.6.0 – 2022-07-27

  • Allow users to update CTT tracking information at the order details on their account (sponsored by Esconderijo dos Livros)

1.5.0 – 2022-07-21

  • New actions to allow 3rd party developers to set the tracking code and force update of information from CTT: portugal_ctt_tracking_set_tracking_code and portugal_ctt_tracking_update_info_for_order
  • Tested with WordPress 6.1-alpha-53743 and WooCommerce 6.8.0-beta.1

1.4.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

1.3.0 – 2022-01-12

  • Improvments on the way we get the order object on our metabox, when other plugins might have messed up the $post object
  • Better error handling when parsing the information from the CTT website
  • Fixed PHP notice by replacing is_ajax with wp_doing_ajax
  • Tested with WordPress 5.9-RC1-52550 and WooCommerce 6.1.0

1.2.1 – 2021-03-10

  • Avoid error when the object is found but no tracking details
  • Tested with WordPress 5.8-alpha-50516 and WooCommerce 5.1.0


  • New option to set the email link position on emails
  • Fix a PHP notice
  • Tested with 5.6-beta3-49562 and WooCommerce 4.8.0-beta.1



  • Tested with WordPress 5.2.5-alpha and WooCommerce 3.8.0



  • Remove useless settings link
  • Minor text corrections


  • Initial release