Real-Time Freight Quotes

In order for real-time freight quotes to be implemented, the specific carrier must provide an online API for which KommerceServer can interface. Most interfaces are based on the weight of the item(s) being shipped so it is necessary for KommerceServer to total the weight of all items in the shopping cart during checkout in order to obtain accurate freight quotes. The weight is sent from the back office ERP system via the KS_MFG_ITEMS export API.

Global Configuration Settings

The following settings are supported regardless of the freight carrier provider being used.

Element Name

Element Usage

mixed_freight_msg

This message displays if there are items in the cart that cannot be shipped via small parcel (i.e. LTL, FTL) but there are some items that can be shipped via small parcel. The message should indicate that the freight quoted just includes the small parcel items. An example may be: “Some item(s) you are purchasing must be shipped separately and are not included in the freight total. Additional charges may be incurred and billed on the invoice at cost.”

cant_rate_msg

If an item in the cart cannot be quoted, no total freight will be determined. Instead, this message will be shown to the user. Conditions that may cause an item not to be quoted include communication problems with the interface or an item that has no weight or is over the weight limit. An example message may be: “We’re sorry. We are unable to quote the freight associated with this order. You can proceed with the order and we will bill you at our cost when you receive the invoice.”

rating_method

Determines how the freight is calculated. Choices for this setting are:

“Total Weight” - Total weight of all items in the cart is sent at once

“By Product” – Each cart item & its weight (qty * unit weight) is quoted individually and then summed.

“By Piece” – Each unit of each item in the cart is quoted individually and then summed.

"Optimize" – A FedEx-specific setting that uses a "best fit" algorithm to calculate the minimum number of packages necessary to minimize overall shipping costs.

zero_weight_ok_flg

Some providers will charge a minimum rate for items even if the item has no weight. Others may see this as an error in which case the shp_cant_rate_msg would apply. Set this field to one of the following options:

“TRUE” – If you want to pass zero weight items to the provider for quote (provider behavior specific)

“FALSE” – Do not send these items to be quoted –$0 freight cost is assumed