Portugal CTT Tracking for 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.

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

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?

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

Reviews

Ṣẹrẹ 12, 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! 🙂
Ọwẹ́wẹ̀ 11, 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.

Contributors

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

Changelog

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)

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

1.1.1

  • Tested with WordPress 5.2.5-alpha and WooCommerce 3.8.0

1.1

1.0.1

  • Remove useless settings link
  • Minor text corrections

1.0

  • Initial release