Settings

The Advanced Shipment Tracking plugin settings can be found on your WordPress admin under WooCommerce > Shipment Tracking

blank

General Settings

Rename the “Completed” Order status to “Shipped” – the Completed order Status in WooCommerce means that the order is fulfilled and no further action is required. This means for most stores that the order is Shipped.

Please note: If you sell a mix of Virtual and Physical goods, since AST and many other WooCommerce plugins already use the Completed order status and we just rename its label to Shipped, you can create a custom order status “Completed” and set your virtual orders to this status once a customer completes a virtual order

Default Mark as Shipped – choose this option to set the “mark as shipped” option checked by default when you add tracking to orders.

Display tracking information on order status email – choose on which order status email you would like to display the tracking information:

  • Cancelled
  • Customer Invoice
  • Refunded
  • Processing
  • Failed
  • Shipped (Completed)
  • Customer note
  • custom statuses will also display here in case you set custom order statuses.

Display Add Tracking icon in the Order Actions menu – choose on which Order status to display Add Tracking icon in the Order Actions menu:

  • Cancelled
  • Refunded
  • Processing
  • Failed
  • On Hold
  • Shipped (Completed)
  • custom statuses will also display here in case you set custom order statuses.

Tracking Display

Advanced Shipment Tracking lets you personalize the tracking display on the order emails and my-account section. The tracking display customizer opens with a standard WordPress Customizer with a live preview.

from the general settings of the Advanced Shipment Tracking, under the Tracking Display section, click on the launch customizer to open the tracking display customizer:

blank

General Settings

  • Preview order – select from last 20 orders one order that you added tracking info in order to preview while you design the tracking info table.
  • Tracking display layout – choose from Table display or simple text display.
  • Tracking display position – before order details or after order details
  • Tracking Header – Shipment Tracking header text
  • Additional text after header – additional custom text to include after the main header.
blank

Table layout

blank
  • Display shipping provider name – display the shipping provider name in the table
  • Display shipping provider image – display the shipping provider image in the table
  • Hide the ship date – Hide the shipping date column form the tracking table display
  • Use tracking number as a link – this will remove the Track Button and its column from the tracking table

Table Headers

  • Hide Table Headers – remove the table header row from the table
  • Provider header text – change the shipping provider column header text
  • Tracking Number header text – change the Tracking Number column header text
  • Ship date header text – change the shipped date column header text
  • Track header text – change the Track button column header text
  • Font size – headers font size
  • Headers font color – headers font color

Table Content

  • Padding
  • Background color
  • Border color
  • Border size
  • Content Text align
  • Content font color
  • Content font size
  • Content line height
  • Content font weight

Tracking Link

  • Font Color
  • Background Color
  • Border Color
blank

Simple Layout

Content – the Simple layout option lets you compose the tracking info display content using custom variables:

  • Shipping date – {ship_date}
  • Shipping provider name – {shipping_provider}
  • Tracking Number Link – {tracking_number_link}

For example:

{ship_date} | via {shipping_provider} – {tracking_number_link}

will display:

blank

You can customize the tracking message content:

  • Content font size
  • Content font color
  • Show bottom border – show horizontal separator after each tracking number.
  • Bottom border color
blank

Custom Order Statuses

The AST plugin allows you to enable a “Delivered”, “Partially Shipped” and “Updated Tracking” custom order statuses. You can set each custom status font and label color and you can enable email that will be sent to your customers once the order is changed to that status.

blank

The custom order statuses will be included in WooCommerce reports. We also add the option to change orders to these statuses from the bulk order actions in orders admin and single order admin.

Note – If you used the custom order status in orders, when you deactivate the AST plugin, You will need to register this customer order status to view these orders in the orders admin.  You can reassign these orders back to Completed order status or any other status when deactivating the plugin.

Customize the Delivered order status email

  • Receipts – Enter emails use variables such as {customer_email}. Multiple emails can be separated by commas.
  • Email subject – available variables – {site_title}, {order_number}
  • Email heading – available variables – {site_title}, {order_number}
  • Email content  – available variables – {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}
  • Display tracking details – display the shipment tracking information
  • Display order details – display the WooCommerce order items table
  • Display Shipping Address – display the order shipping address
  • Display Billing Address – display the WooCommerce billing address
  • Enable Google Analytics tracking
  • Google Analytics link tracking available if GA is enabled) – This will be appended to URL in the email content – e.g. utm_source=ast&utm_medium=email&utm_campaign=delivered
blank

Delivered email Hooks

wcast_email_before_email_content ($order, $sent_to_admin, $plain_text, $email);wcast_email_before_order_table ($order, $sent_to_admin, $plain_text, $email);wcast_email_after_order_table ($order, $sent_to_admin, $plain_text, $email);wcast_email_after_email_content ($order, $sent_to_admin, $plain_text, $email);

blank

Customize the custom Partially Shipped and Updated Tracking emails

  • Email subject – available variables: {site_title}, {order_number}
  • Email heading – available variables: {site_title}, {order_number}
  • Email content – available variables – {site_title}, {customer_email}, {customer_company_name},{customer_first_name}, {customer_last_name}, {customer_username}, {order_number}
blank

Overwrite the custom order status email template in theme

From this section you can override the a custom order status template in their theme or child theme. If you override this template than it will not use any of the delivered email settings from the AST email customizer.

blank

Reassign Custom Order Statuses

If you are deactivating AST plugin and order is assigned in custom order status you can reassign it to the WooCommerce order status so order will not disappear from orders list.

blank

Code Snippets

Create custom order status

If you use one of the AST’s custom order statuses and you deactivate the plugin, orders that you applied a custom order status will not display on your orders admin, in order to be able to view these order, you will need to register the custom post type in functions.php: