Some carrier companies provide web services that allow online stores to access information about the shipping options and rates provided by these companies in real time. Online stores integrated with such services can provide real-time carrier-calculated shipping quotes to their users.
X-Cart provides integrations with some of the most popular real-time shipping rate calculation services, including:
After a customer has submitted the shipping address during checkout, X-Cart sends the order information to the API of the carrier (for example, FedEx). The carrier then uses the information submitted by X-Cart - including the information about the origin and destination addresses, the weight of the products in the order, and, if specified, the expected parcel dimensions (length, width, height) - to calculate the shipping cost. The customer then receives information about the shipping options and rates applicable to the order.
For buyers who are not registered or not logged in, shipping rates display at checkout the same order they are arranged in the Admin area (first comes the first active shipping method from the list of available shipping solutions).
For registered customers, the first shipping method displayed at checkout will be the one they used for their previous order. After that, the rest of the shipping methods will come in the order in which active shipping methods are sorted in the Admin area.
Since the shipping costs are calculated automatically by the carrier when the order is created, this method allows you to get the most accurate rates.