Shipping tracking, order tracking, shipping and delivery dates estimation made easy!
NOTE: In case you don’t receive notifications emails, please check you spam folder.
Tracking url reporting
In case any tracking url stops working, please report me!
WCST allows your clients to easily track their orders. You will be able to associate to every order a shipping company and a tracking number. WCST will display tracking info (Company URL and trackin code) directly in “Complete Order” email and “View Order” page.
Your clients just clicking on the link generated by WCST will easily track their orders. Trackin URL (where possible, if the company allows that) will automatically redirect to the comapany site where the user can automatically track the shipping status according the associated tracking code.
How to automatically update the plugin
To receive automatic updates just install and configure the Envato updater plugin: httpss://goo.gl/pkJS33 .The official guide that explains how to configure it can be found in the following link: httpss://envato.com/market-plugin .
DEFINE YOUR OWN COMPANIES
WCST has defined more tha 40 shipping companies. Don’t you find the one you need? Don’t worry!!
WCST allows you to define your own custom shipping companies (Name and Tracking URL),
just add it from WooCommerce -> Shipping tracking -> Add Custom company page
MULTIPLE TRACKING CODE, SHIPPING COMPANIES, DISPATCH DATES AND CUSTOM TEXT!
WCST allows you to associate one or more tracking codes and shipping companies for each order.
Furthermore, for every shipping can be also specified a dispatch date and custom text. In this way both the shop admin and customer can easily keep track of the shippings timings!
CUSTOMIZE EMAIL AND ORDER DETAILS HTML SNIPPET
Would you like to customize the HTML snippet included into the email Template and Order details page?
It’s possible! You can customize templates directly from the admin menu.
Track shipment progress status with a timeline in site
The Shipping Tracking pluging allows also to show shipment progress status with a timeline directly in site. To do that just use the special [track_shipping_in_site] shortcode inside the Order details message through the special menu.
Once done, a tracking info widget will be displayed showing every step the shipping has performed until the current day in every Order details page!
Optionally you can show the “track in site” widget in any page. To do that just use the following shortcode with the special “track_in_site” parameter: [wcst_tracking_form track_in_site=”true”]. It will render a form where once the user has entered a tracking code, the “track in site” widget will be showed displaying the shipping progress.
Note: The AfterShip will tries to detect the shipping company using just the tracking code, this process however in some cases may fail. To avoid detection just pass the company slug in this way: company_slug###tracking code.
Tracking companies slug can be found here: httpss://www.aftership.com/couriers . Just click in the one you need, the slug can be found in the url after the /curriers/ string.
Note: this feature is powerd by AfterShip service. It requires at least a pro profile in order to access its API. Info on how to connect to AfterShip profile are reported in the plugin options page (it just requires 2 steps!). The service
will automatically detect the carrier from the tracking code (if supported) without the requirement of any further code.
TRACKING INFO ON ALL OUTGOING WOOCOMMERCE EMAILS AND ORDER DETAILS PAGE
Once the tracking info are saved on the order admin page, all the info will be displayed in the order details page. Furthermore, info will be also embedded in all
outogoing woocommerce emails according the order status. By default tracking info are only embedded to the emails only when the status is setted as “completed” but you can chose to display info also for other satuses. Go to the General options menu to choose for which status(es) the info has to be embedded into the emails.
You can also specify custom statuses!
In this way the customer can have all the needed info at fingertips!
EMAIL NOTIFICATION FOR SELECTED TRACKING CODES
The admin can also send active notifications emails by just selecting the tracking code for which he wants the user to be notified. Once selected, he has just to click on the Order update button, the plugin
will then send an email containing the selected tracking codes. Tracking code email template can be customized by using the special option menu. You can also use shortcode to display user first and last name in order
to customize the message!
Germanized pro invoice email
The plugin has support for Germanized pro invoice email, so it will be able to inject tracking info into invoice emails according the current order status.
DATE AND TIME DELIVERY FIELDS
Would you like to let your customer to specify a delivery date and time range?
now you can!
WCST allows you to enable some extra fields (visible in checkout and/or order details page) where the user can specify a start and end date,
a start and ending time (optionally even a secondary time range) when he would like to receive the items!
Description, title and label are fully customizable! Multi-language supported!
Furthermore, delivery date and time are included on WooCommerce emails!
Last but not least, on checkout page selectable date will consider the products estimated shipping time and the selected shipping method estimated deliver time!
BULK IMPORT FROM CSV
WCST allows you to import orders tracking info from .csv file!
Shop admin for each order can also import one or more shipping info.
The csv file has to have the folllwing columns:
- order_id: This is the numeric id of the order
- order_status: can be left empty. If specified the order status will be setted as the specied value. Values that can be used: wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed
- force_email_notification: can be left empty. If specified, the plugin will resend woocommerce notification eamil according to the selected value. Value that can be used: send_email_new_order, send_email_cancelled_order, send_email_customer_processing_order, send_email_customer_completed_order, end_email_customer_refunded_order, send_email_customer_invoice
- dispatch_date: Can be left empty. In case of multiple dispatch date, values have to be separated by | character. Format must be yyyy-mm-dd. Ex.: 2018-05-13|2018-03-21
- custom_text: Can be left empty. In case of multiple custom text, values have to be separated by | character. NOTE: REMOVE ALL , from custom texts. Ex.: custom text 1 | custom text 2.
- tracking_info: Has to have the following format company_id:tracking_code. In case of multiple shipping values have to be separated by | character. Ex.: DHL:#232R|GLS:1234TR3
Example of the .csv file that can be used to be imported can be found clicking in the following link: Example file
NOTE: Do you want to import orders using custom ids assigned by WooCommerce Sequential Order Number Pro (By SkyVerge)? Just install the following add-on!
if you instead are using the Free version, use this add-on.
AUTOMATIC BULK IMPORT
You can optionally configure the plugin to automatically import Order shipping tracking form an url pointing to a .csv file. You have just to inser the .csv file url path ( like DropBox file link, https url, etc…) and select the bulk import task time interval!
NOTE: Scheduling task is performed using the WordPress function wp_schedule_event(). It will trigger the scheduled import task at the specified interval ONLY if someone visits your WordPress site. More info at wp_schedule_event reference page.
MULTILANGUAGE CUSTOM MESSAGES
WCST supports WPML, this lets the shop admin to define HTML Snippets for every language installed.
To add a message for a language, shop admin have only to select the desidered language in the WPML selector, enter the text and the save!
QUICK ASSIGN MENU
The shop admin can now assign shipping info to an order directly using the “Quick assign” menu without editing every order. Using this menu in just few clicks you can assing shipping info to an order, set its status and optionally resend status notification email to the customer!
FAVORITE SHIPPING COMPANY
You can also selected a “favorite” shipping company on option menu. This will be preselected during tracking code submission!
DELIVERY ESTIMATION FOR SHIPPING RATES
Fore each shipping rate defined using the native WooCommerce functionalities, the Table Rate Shipping for WooCommerce or the Table Rate Shipping by WooThemes you can define
a delivery estimation.
AUTOMATIC SHIPPING ESTIMATION FOR PRODUCT
The WCST plugin has another useful feature: Estimated shippings dates (shipping date: date in which the package is delivered to the courrier). The shop admin, simply using a shortcode or setting the automatic estimted date display option (in the plugin options menu), can show on products pages the estimated shipping date. This is calculated automatically on the basis of “Estimation rule” that matches that product.
The plugin can show both a specific shipping date or a date range in which the product will be showed.
Furthermore if the product is out of stock, the estimated date will not be displayed!
Optionally estimated date can be also showed in Cart/Checkout pages, after each item showed in the product table. To do just enable the special option you find in the plugin options menu.
Last but not least, you can also configure a customized label (translable via WPML) to be showed before the estimated date!
How it works? it’s simple! You have only to do two steps:
FIRST STEP: Estimated dates configuration
Using the “Estimated shipping configurator” under the “Shipping tracking” menu, the shop admin can create multiple “Estimation rules”.
For each of them he can select:
- Products / Categories / Tags: Selection of products, categories or tags to which the rule applies.
- Dispatch / Shipment days: days in which the goods are shipped/dispatched to the courier.
- Cut-off hour: if an order is placed befor that hour, the shippment takes place on the same day (if it is a dispatch / shipment day).
- Dispatch delay : If this value is specified, the estimated date will be computed starting from the first dispatch day avaiable after the delay (expressed in day).
- Holidays / Non working days: days in which shippments cannot take place.
SECOND STEP: Use the shortcode (or setting the automatic estimted date option) on product page
In the product page, on the description or short description or any tab, the shop admin can use the special [wcst_show_estimated_date] shortcode to display the estimated
In alternative the shop admin can enable the the automatic estimted date option display (in the plugin options menu).
The plugin will tehn calculate the date finding the “Estimation” rule that matches the item. The plugin will automatically find the next working day where the item can be shipped.
Further more, on the product list a new column is added displaying the Estimated shipping rule that matches the product.
TRACKING FORM SHORTCODE
Using the special shortcode [wcst_tracking_form] a tracking form can be displayed in any post/page that will allow the user to choose the shipping company (using a select menu) and input the tracking code and to be redirected to the shipping company tracking page.
The tracking code can also be used with the parameters:
- company_id (company id can be retreived in the company configuration page): [wcst_tracking_form company_id=”“] In this way the shipping company will be already selected (the shipping company select menu is thus hidden).
- button_classes: [wcst_tracking_form button_classes=”class1 class2”] in this way the specified classes will be added to the tracking button.
Additionally, you can also use the special track_in_site paramenter to directly show shipping current status directly in site! read more about it in the previous Track shipping tracking in site paragraph!
Retrieve order tracking data programmatically
To retrieve order tracking data programmatically you can use the special wcst_get_order_tracking_data($order_id) function that will retrieve all the tracking data associated to the order.
The result will be an array that will have the following format:
array(2) => array(6) ["tracking_number"]=> string(5) "12332" ["dispatch_date"]=> string(0) "" ["custom_text"]=> string(0) "" ["company_name"]=> string(6) "Aramex" ["company_id"]=> string(6) "ARAMEX" ["tracking_url"]=> string(70) "http://www.aramex.com/track_results_multiple.aspx?ShipmentNumber=12332" => array(6) ["tracking_number"]=> string(5) "12312" ["dispatch_date"]=> string(10) "2019-01-08" ["custom_text"]=> string(2) "aa" ["company_name"]=> string(15) "Correos España" ["company_id"]=> string(14) "CORREOSESPAGNA" ["tracking_url"]=> string(128) "http://www.correos.es/ss/Satellite/site/aplicacion-4000003383089-localiza_busca_encuentra/detalle_app-sidioma=es_ES?numero=12312"
In the previous example the order has associated two tracking codes.
Actions and Hooks
The plugin triggers two action before and after sending an active notification email. The can be hooked in the following way:
add_action('wcst_before_active_notofication_email', 'your_custom_function_name', 10, 2); function your_custom_function_name($recipients, $order) [...]
add_action('wcst_after_active_notofication_email', 'your_custom_function_name', 10, 2); function your_custom_function_name($recipients, $order) [...]
AFTERSHIP AND TRACKINGMORE TRACKING URL SUPPORT
Create a custom company and then enable the “Aftership service” or the “TrackingMore” option. The plugin will automatically generate the tracking url using the Aftership/TrackingMore service and the tacking code inserted in the order page! (Note: The standard track.aftership.com and track.trackingmore.com url are used. Make sure the shipping company you are using is supported by Aftership/TrackingMore)
AUTOFOCUS ON TRACKING INPUT FIELD AND SEARCH BY TRACKING CODE AND SHIPPING COMPANY NAME!
Optionally can be enabled the option to autofocus on main tracking code input field when editing the order page. This could be useful for bar code scanners (Note: Some 3rd party plugin could breake this feature).
Furthermore, the plugin lets the shop admin to search orders by tracking code and shipping companies by using the default “Search Order” input box already present on the WooCommerce orders page!
FILTER BY SHIPPING COMPANY
WCST adds a dropdow box menu on orders table that allows admin to filter orders by company.