WooCommerce Shipping Plugin Troubleshooting

WooCommerce Logo Myfreight Logo Myparcel logo

Troubleshooting

Find your problem below to see suggested solutions.

Shipping price not displayed after suburb entered

This problem could have a number of causes. The first step is ensure that your system meets the pre-requisites.

The next step is to carefully check the following plugin settings at WooCommerce → Settings → Shipping → Myfreight Shipping:

  1. Shipping Pricing - Enable Pricing
  2. Account Type - Myfreight or Myparcel
  3. API Username
  4. API Password

Next, check the following product shipping settings for a product (which should display shipping pricing) at Products → All Products → Edit (product) → Shipping:

  1. Weight
  2. Dimensions

If these look ok, the next step is to isolate the root cause by enabling debug logging. Refer to the Enable Debug Logging section below for instructions on how to do this. Scroll to the bottom of the current log and find the point at which the pricing retrieval process stopped working. This should help to isolate where the problem might be.

 

Cheapest shipping option not chosen

The most common reason that the lowest cost shipping service is not chosen is due to anticipated surcharges. The plugin attempts to predict surcharges which are likely to be added to the shipping price by the transport carrier. These include:

  1. Manual handling surcharge for fragile goods - Most carriers add this but not all.
  2. Residential surcharge for non-commercial delivery address - At time of writing only TNT apply this surcharge.
  3. Unloading assist (i.e. truck with tailgate lift) surcharge - Most carriers add this if any item is over 30kg and a forklift is not present at the collection or delivery addresses. Cope Sensitive Freight and TNT Technology Express do not apply this surcharge.

Another reason is that there is some aspect of the shipment which the lowest cost shipping service does not support. For example, if the plugin anticipates that a truck with a tailgate lift is required, it will not choose TNT Express, as this service has no trucks with tailgate lifts.

If none of the reasons above explain why the lowest cost service was not chosen, refer to the Enable Debug Logging section below for instructions on how to do diagnose the shipping pricing and sorting process.

 

Enabling Debug Logging

Many problems can be diagnosed by enabling the debug logging function of the Myfreight plugin. This records the operation of the plugin in plain text files. The log files are integrated with WooCommerce logging and can therefore be viewed via the standard WooCommerce menu.

Activate debug logging for the Myfreight plugin and view the daily log file as follows:

  1. Go to WooCommerce → Settings → Shipping → Myfreight Shipping
  2. Scroll to the bottom of the page and click the Enable Debug Logging tickbox
  3. Confirm the setting for the Enable Test Mode of Operation tickbox suits your current operating environment
  4. Click the Save changes button
  5. Go to WooCommerce → Status → Logs
  6. From the dropdown menu on the right, select the Myfreight-Shipping log with today's date
  7. Click the View button
  8. You should now see the current debug log file for the Myfreight plugin
  9. Scroll to the bottom to see the most recent log data
  10. Note that each time the log file is updated, you will need to click the View button again to view any changes

You may be able to interpret the log data yourself to find the problem. Use the timestamp displayed with each log entry to correlate website actions with the log events.

However, if you need assistance from Myfreight/Myparcel to diagnose a difficult problem, copy the log data into a text editor, save the file and forward it to Myfreight/Myparcel. If you are a Myfreight customer, email it to your account manager or technical support. If you are a Myparcel customer, raise a support request and attach the log file in the file upload section.