Skip to content
Eduardo Lira

PRESTASHOP

How to Fix Tracking Code Issues in Prestashop

Learn how to resolve issues with tracking codes not appearing after changing the product status to 'Shipped' in Prestashop. This guide explains how to add the tracking URL directly into the database, especially for version 1.4.x of the Prestashop store.

When we change the product status to Shipped in Prestashop, a field should appear for us to fill in with the tracking code provided by the post office (Editing the shipping order in the customer orders tab).

If after the change the field for filling in the tracking code does not appear, see if the tracking URL is inserted in the carrier edition. Access the tab Shipping > Carriers.

In the carrier edition, if the code is not filled in or if an error occurs when saving, it will be necessary to do it through the database. This is a BUG of the post office transport module mainly in version 1.4.x of the Prestashop store.

Access the table prefix__carrier in the database where Prestashop is installed (I indicate that you use phpMyAdmin provided by your hosting to administer the database). Even if the URL appears filled in the store administration, the fields in the database referring to the url attribute may be empty.

Insert the tracking URL below in the edition of the table prefix__carrier, in the url attribute. Be careful with spaces when copying and pasting.

http://websro.correios.com.br/sro_bin/txect01$.QueryList?P_LINGUA=001&P_TIPO=001&P_COD_UNI=@

Save the changes and see the result in the tool administration. In case of difficulties, leave your comment.

If you arrived at this post and your version is higher than 1.4.x of the store, leave your comment so that we can help other Prestashop users with updated paths.

Big hug and see you next time!

Revisited in November 2026

The tracking address I gave is the one Correios (the Brazilian postal service) used in 2015, and tracking no longer works that way. Today the public lookup is at rastreamento.correios.com.br and asks for a captcha on every lookup. Because of that, there’s no longer a link that opens the tracking page directly with the code. Automated lookups moved to the Correios APIs, on the CWS portal, and access to them requires a commercial contract.

For a PrestaShop store, the simplest route is to put that address in the carrier’s tracking URL, under Shipping > Carriers: the customer opens the page and types the code they received. To show tracking inside the store itself, you need a module that uses the API, with the contract, or a third-party tracking service.

The bug that made me edit the database was in the PrestaShop 1.4 series.

Who writes this

Eduardo Lira

Software developer in Rio de Janeiro. I started this blog in 2012, in technical support at a hosting company, writing down the fixes for the problems that came up every day. Today I work at Sofis Tecnologia, on critical healthcare systems and SQL Server database migrations.

Found a mistake in this post?

A command that no longer works, a broken link, wrong information: tell me what you saw. The message goes only to the author and is not shown on the site.