Integrating Your Own ‘Track Your Order’ Page
The Apprato Blog is the hub for business owners, managers, entrepreneurs and developers featuring key technology news, resources and insights.
If you are a larger business looking for stability and scalability, there are some great features available if you decide to use the paid version of Magento, Magento Enterprise.
One of the great features of Magento Enterprise edition is to host your own ‘Track Your Order’ page, instead of your customers going off to a third party courier site you can include this function within your own environment.
Recently we were tasked with updating the ‘Track Your Order’ page for a larger client. Their requirement was to add an additional shipping provider to their ‘Track Your Order’ page as they needed support from another shipping provider due to the increase in demand during the Christmas period.
How it worked initially.
The page looks up the order via the customer’s order number and email address. It then looks through the shipments created by admin staff in the backend. From there it retrieves the Tracking number and the JavaScript on the page will make an API call to a custom REST route. The Rest route then makes a API call to the shipping provider and returns the delivery progress.
Development
To add the additional shipping provider we installed the new shipping providers API. So that the system knew to choose which API to call we added in a step for the system to check the prefix of the shipping number assigned to the order to decide which API to call and respond the correct tracing information for the customer.
Outcome
The outcome reduced customer enquiries and allow for a more fluid experience in ordering and order tracking over the very busy Christmas period.
If you need to upgrade a similar function or you are looking to create efficiencies in your ecommerce environment please get in contact with us and we can provide an assessment of your site.