Title: Portugal CTT Tracking for WooCommerce
Author: Naked Cat Plugins
Published: <strong>26. Juli 2019</strong>
Last modified: 29. August 2026

---

Search plugins

![](https://ps.w.org/portugal-ctt-tracking-woocommerce/assets/banner-772x250.jpg?
rev=3503452)

![](https://ps.w.org/portugal-ctt-tracking-woocommerce/assets/icon.svg?rev=3503452)

# Portugal CTT Tracking for WooCommerce

 By [Naked Cat Plugins](https://profiles.wordpress.org/nakedcatplugins/)

[Download](https://downloads.wordpress.org/plugin/portugal-ctt-tracking-woocommerce.2.6.zip)

 * [Details](https://de-ch.wordpress.org/plugins/portugal-ctt-tracking-woocommerce/#description)
 * [Reviews](https://de-ch.wordpress.org/plugins/portugal-ctt-tracking-woocommerce/#reviews)
 *  [Installation](https://de-ch.wordpress.org/plugins/portugal-ctt-tracking-woocommerce/#installation)
 * [Development](https://de-ch.wordpress.org/plugins/portugal-ctt-tracking-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/portugal-ctt-tracking-woocommerce/)

## Description

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.](https://wordpress.org/support/topic/informacao-de-seguimento-indisponivel-ler-antes-de-criar-topico/)**

#### Features:

 * Add a CTT tracking code to the order
 * Shop owner can check the shipping status on the order edit screen, by clicking
   the CTT link
 * Client can check the delivery status on the order page on My account, by clicking
   the CTT link
 * Tracking code is added to order emails sent to the client
 * High-Performance Order Storage compatible
 * Block based checkout compatible

#### 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](https://nakedcatplugins.com/product/portuguese-postcodes-for-woocommerce-technical-support/)

#### Are you already issuing automatic invoices on your WooCommerce store?

If not, get to know our new plugin: [Invoicing with InvoiceXpress for WooCommerce](https://wordpress.org/plugins/woo-billing-with-invoicexpress/)

#### Other (premium) plugins

Already know our other WooCommerce (premium) plugins?

 * [VAT Number and EU VIES Validation for WooCommerce](https://nakedcatplugins.com/product/vat-number-and-eu-vies-validation-for-woocommerce/?utm_source=wordpress.org&utm_medium=link&utm_campaign=ctttracking_woocommerce_plugin)–
   Collect and validate VAT identification numbers for the whole European Union,
   confirm them against VIES and remove VAT on qualifying intra-EU B2B orders
 * [Portuguese Postcodes for WooCommerce](https://nakedcatplugins.com/product/portuguese-postcodes-for-woocommerce-technical-support/)–
   Automatic filling of the address details at the checkout, including street name
   and neighbourhood, based on the postal code
 * [Invoicing with InvoiceXpress for WooCommerce](https://wordpress.org/plugins/woo-billing-with-invoicexpress/)–
   Automatically issue invoices directly from the WooCommerce order
 * [DPD Portugal for WooCommerce](https://nakedcatplugins.com/product/dpd-portugal-for-woocommerce/)–
   Create shipping and return guide in the DPD webservice directly from the WooCommerce
   order
 * [Feed KuantoKusta for WooCommerce](https://nakedcatplugins.com/product/feed-kuantokusta-for-woocommerce-pro/)–
   Publish your products on Kuanto Kusta with this easy to use feed generator
 * [Simple WooCommerce Order Approval](https://nakedcatplugins.com/product/simple-woocommerce-order-approval/)–
   The hassle-free solution for WooCommerce order approval before payment
 * [Shop as Client for WooCommerce](https://nakedcatplugins.com/product/shop-as-client-for-woocommerce-pro-add-on/)–
   Quickly create orders on behalf of your customers
 * [Taxonomy/Term and Role based Discounts for WooCommerce](https://nakedcatplugins.com/product/taxonomy-term-and-role-based-discounts-for-woocommerce-pro-add-on/)–
   Easily create bulk discount rules for products based on any taxonomy terms (built-
   in or custom)
 * [DPD / SEUR / Geopost Pickup and Lockers network for WooCommerce](https://nakedcatplugins.com/product/dpd-seur-geopost-pickup-and-lockers-network-for-woocommerce/)–
   Deliver your WooCommerce orders on the DPD and SEUR Pickup network of Parcelshops
   and Lockers in 9 European countries

## Installation

 * 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

## FAQ

### Is this a shipping method?

No.

### Can this plugin calculate the CTT shipping costs?

No.

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

Nothing.

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

No.

### Is it possible to set the CTT tracking code on an order via hooks?

Yes.

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.

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

The development and support is [Webdados](https://www.webdados.pt) 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](https://www.webdados.pt/contactos/) 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](https://patchstack.com/database/vdp/portugal-ctt-tracking-woocommerce).
The Patchstack team will assist you with verification, CVE assignment and take care
of notifying the developers of this plugin.

## Reviews

![](https://secure.gravatar.com/avatar/f7b308407a8ff21d3247e9bdc2ae13ba31cd5677ee3f9708f4b1d1d7c5be4399?
s=60&d=retro&r=g)

### 󠀁[Ótimo plugin](https://wordpress.org/support/topic/otimo-plugin-392/)󠁿

 [Riacrdo Ferreira](https://profiles.wordpress.org/esconderijo/) 28. Juni 2022

Ótimo plugin. Recomendo

![](https://secure.gravatar.com/avatar/02e99562e237eaca81bb9edd28a741cc0f58b203f4efdaeb2da60e915b9fec7f?
s=60&d=retro&r=g)

### 󠀁[Great plugin and awesome support](https://wordpress.org/support/topic/great-plugin-and-awesome-support-171/)󠁿

 [carinalves](https://profiles.wordpress.org/carinalves/) 12. Januar 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! 🙂

![](https://secure.gravatar.com/avatar/0e63f98e099da66c4412c4ccb3a89779fa6cb71cc6c33ffd606fe40649f4a6ae?
s=60&d=retro&r=g)

### 󠀁[Muito bom](https://wordpress.org/support/topic/muito-bom-1112/)󠁿

 [Pedromrferreira](https://profiles.wordpress.org/pedromrferreira/) 12. Mai 2020

Funciona na perfeição.

![](https://secure.gravatar.com/avatar/2562cee991e0567140affac8d0f8532b5416baef3eacda7205c1dffcf8a2c515?
s=60&d=retro&r=g)

### 󠀁[Plugin Super Útil!](https://wordpress.org/support/topic/plugin-super-util/)󠁿

 [abcatwp](https://profiles.wordpress.org/abcatwp/) 11. September 2019

Plugin e assistência 5*. Super útil para todos os que trabalham com os CTT. Obrigada!
👏

![](https://secure.gravatar.com/avatar/af5b16213fa1a808ae47ea545b20ed925e3b1a9a3c681e936a3c9a3a11d318de?
s=60&d=retro&r=g)

### 󠀁[Simples e eficaz.](https://wordpress.org/support/topic/simples-e-eficaz-8/)󠁿

 [arturazevedo](https://profiles.wordpress.org/arturazevedo/) 31. Juli 2019

Obrigado.

 [ Read all 4 reviews ](https://wordpress.org/support/plugin/portugal-ctt-tracking-woocommerce/reviews/)

## Contributors & Developers

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

Contributors

 *   [ Naked Cat Plugins ](https://profiles.wordpress.org/nakedcatplugins/)
 *   [ Marco Almeida | Webdados ](https://profiles.wordpress.org/webdados/)

“Portugal CTT Tracking for WooCommerce” has been translated into 1 locale. Thank
you to [the translators](https://translate.wordpress.org/projects/wp-plugins/portugal-ctt-tracking-woocommerce/contributors)
for their contributions.

[Translate “Portugal CTT Tracking for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/portugal-ctt-tracking-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/portugal-ctt-tracking-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/portugal-ctt-tracking-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/portugal-ctt-tracking-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/portugal-ctt-tracking-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### TBA

 * [DEV] Bundled ifthenpay suggestion module updated

#### 2.6 – 2026-04-12

 * [FIX] PHP fatal error, introduced in 2.5, in specific scenarios

#### 2.5 – 2026-04-10

 * [NEW] Plugin ownership transferred from [Marco Almeida | Webdados](https://profiles.wordpress.org/webdados/)
   to [Naked Cat Plugins](https://profiles.wordpress.org/nakedcatplugins/) on WordPress.
   org – No worries, we’re the same people 🙂
 * [TWEAK] Show the “Portuguese Postcodes for WooCommerce” notice less often and
   store dismissal in user meta instead of transients
 * [TWEAK] Added [our ifthenpay plugin](https://wordpress.org/plugins/multibanco-ifthen-software-gateway-for-woocommerce/)
   as a suggested payment gateway in WooCommerce, if still not present (can be removed
   by setting the `NAKEDCAT_RECOMMEND_IFTHENPAY` constant to true)
 * [DEV] Removed `load_plugin_textdomain` call as WordPress handles it
 * [DEV] Improved PHPCS rules
 * [DEV] Implement release automations via GitHub Actions
 * [DEV] Tested up to WordPress 7.0-RC2-62197 and WooCommerce 10.7.0-beta.2

#### 2.4 – 2025-10-09

 * [FIX] Email language
 * [DEV] Implement WordPress Coding Standards
 * [DEV] Tested with WordPress 6.9-alpha-60812 and WooCommerce 10.2.2

#### 2.3 – 2025-05-09

 * [NEW] We are now called Naked Cat Plugins 😻
 * [DEV] Requires WordPress 5.8 and WooCommerce 8.0
 * [DEV] Tested with WordPress 6.8 and WooCommerce 9.8.4

#### 2.2 – 2024-01-19

 * Remove code related to fetch the information from the CTT website, including 
   simplehtmldom, as is not likely we’ll be able to activate that functionality 
   again
 * Security update
 * Requires WooCommerce 6.0 and WordPress 5.6
 * Tested with WordPress 6.5-alpha-57299 and WooCommerce 8.5.1

#### 2.1 – 2023-12-12

 * Declare WooCommerce block-based Cart and Checkout compatibility
 * Requires WooCommerce 5.0 and WordPress 5.4
 * Tested with WordPress 6.5-alpha-57159 and WooCommerce 8.4.0-rc.1

#### 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](https://esconderijodoslivros.pt/))

#### 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

#### 1.2.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

#### 1.1.2

 * New [Portuguese Postcodes for WooCommerce](https://www.webdados.pt/wordpress/plugins/codigos-postais-portugueses-para-woocommerce/)
   plugin information
 * Tested with 5.5-alpha-47761 and WooCommerce 4.1.0-rc.2

#### 1.1.1

 * Tested with WordPress 5.2.5-alpha and WooCommerce 3.8.0

#### 1.1

 * New option to change the type of link shown on the client emails
 * New [`portugal_ctt_tracking_email_info` filter](https://gist.github.com/webdados/4c3753fac653dcb0d8353483d6a7730e)
   so that the email information can be modified by developers
 * Fix php notice

#### 1.0.1

 * Remove useless settings link
 * Minor text corrections

#### 1.0

 * Initial release

## Meta

 *  Version **2.6**
 *  Last updated **1 Monat ago**
 *  Active installations **500+**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.0.7**
 *  PHP version ** 7.2 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/portugal-ctt-tracking-woocommerce/)
   und [Portuguese (Portugal)](https://pt.wordpress.org/plugins/portugal-ctt-tracking-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/portugal-ctt-tracking-woocommerce)
 * Tags
 * [ctt](https://de-ch.wordpress.org/plugins/tags/ctt/)[delivery](https://de-ch.wordpress.org/plugins/tags/delivery/)
   [ecommerce](https://de-ch.wordpress.org/plugins/tags/ecommerce/)[shipping](https://de-ch.wordpress.org/plugins/tags/shipping/)
   [tracking](https://de-ch.wordpress.org/plugins/tags/tracking/)
 *  [Advanced View](https://de-ch.wordpress.org/plugins/portugal-ctt-tracking-woocommerce/advanced/)

## Ratings

 5 von 5 Sternen.

 *  [  5 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/portugal-ctt-tracking-woocommerce/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/portugal-ctt-tracking-woocommerce/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/portugal-ctt-tracking-woocommerce/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/portugal-ctt-tracking-woocommerce/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/portugal-ctt-tracking-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/portugal-ctt-tracking-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/portugal-ctt-tracking-woocommerce/reviews/)

## Contributors

 *   [ Naked Cat Plugins ](https://profiles.wordpress.org/nakedcatplugins/)
 *   [ Marco Almeida | Webdados ](https://profiles.wordpress.org/webdados/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/portugal-ctt-tracking-woocommerce/)