What is an Order Tracking System?
A logistics tracking and monitoring system is an online software that allows you to know, at all times, the status of a shipment being transported.
Through this, it is possible to monitor the departure and arrival date and time, real-time location during transit, difficulties the carrier may be experiencing, among other variables associated with the package.
Problem Statement
The “Company” ships motorcycle parts orders to its customers through various courier services and requires that its customers be able to view their order information via its website, as well as the:
- Order Shipment Date
- Order Number
- Invoice
- Courier Service
- Number of Packages
- Tracking Number
- Type of Service
- Company Name
- Destination
- Status
- Order Delivery Date
- Comments
The goal is to create a system that allows users to check the status of their orders via a website built in WordPress; it is also required that the information can be imported using an Excel file.
How was the System Built?
For this project, the following plugins were used to complete the work as quickly as possible while meeting the project requirements:
- WordPress
- Gravity Forms
- Gravity Forms was used because this plugin allows for the quick and complete creation of any type of form for WordPress and already includes an entry importer and exporter that facilitates the work of loading or importing Excel files.
- Custom Code.
- Custom code was also needed to perform the search by order number, for which the following technologies were used:
- JavaScript
- JS
- HTML
- Node JS
- jQuery
- AJAX
- Additionally, I used the class that allows me to make queries from the front-end of the website using the class provided by the Gravity Forms plugin.
- GFAPI Class:
- The Gravity Forms API functions provide developers with a future-proof way to access some of the common core functions of Gravity Forms.
- The API functions are automatically included when Gravity Forms is loaded and will be available at the time plugins are loaded.
- The API class is called GFAPI and can be found in /includes/api.php.
- For more information, please refer to the official Gravity Forms documentation: GFAPI Class – Gravity Forms Documentation.
- GFAPI Class:
- Custom code was also needed to perform the search by order number, for which the following technologies were used:
How does the System work?
The plugin was installed on the “Company's” website. When accessing the website, you can enter the "Track My Order" section, enter your order number, and find out its current status, which courier service it was shipped with, the package arrival date, among other details.
Here is a short video demonstrating the plugin's functionality.
As we can see, WordPress is not only useful for building websites but can also serve as a very handy Swiss Army knife with tools for all levels, from programmers to people looking to build their website in a simple way.
Conclusion
The problem was solved using the appropriate plugins and tools without extensive coding, in order to streamline delivery times. This will always be a very important factor when creating our projects in a professional manner.
Do you have a Web Project?
Do you need help with a web project? Don't hesitate to contact me. I develop complete and customized solutions with WordPress and PHP, using modern tools and processes, HTML, CSS, SCSS, PHP, JavaScript, Bootstrap, and more. Ready? Send me a message and let's talk about your web project!