When you decide what to charge your customers for shipping, the best approach is to use shipping rates based on what shipping actually costs your business. The most accurate estimation of shipping costs can be provided by using carrier-calculated shipping rates, or, as an alternative, you may decide you want to configure your own custom rate table.

In X-Cart, you can configure a custom table to provide rates for:

  • subtotal ranges (The shipping cost will depend on the order subtotal amount);

  • weight ranges (The shipping cost will depend on the weight of items in the order);

  • item ranges (The shipping cost will depend on the number of items in the order);

  • any combination of subtotal, weight, and item ranges (The shipping cost will depend on more than one parameter).


Important: A custom table is a good way to configure flat rate shipping and free shipping.


Configuring Custom Table Rates

To configure a shipping method with the custom table based rates, follow the steps below:

1. In your store’s Admin area, go to the Shipping methods section (Store setup -> Shipping):

2. Click the Add shipping method button:

3. Select the Custom table rates tab in the popup:

4. Provide general information about the shipping method:

  • Method name: Enter a name for this shipping method. This name will display to buyers in the storefront.

  • Delivery time: Provide information about the estimated delivery time.

  • Table based on: Use this field to specify the parameter (or parameters) based on which the rates will be calculated. (You will configure a custom table of rates for this shipping method a bit later.)

    • Subtotal - Choose this parameter if you want to set shipping rates based on a specific order subtotal (for example, $7 flat rate shipping for orders with a subtotal of up to $50 and free shipping for orders over that amount.)

    • Weight - Choose this parameter if you want to set shipping rates based on the weight of items in the order (for example, £28.13 flat rate shipping for orders with the overall weight of up to 5 kg and £9.99 shipping per kg for orders with the overall weight of over 5 kg.) If you use this type of rate, make sure that all your products that require shipping have the correct weight specified in the product details.

    • Items - Choose this parameter if you want to set shipping rates based on the number of items in the order (for example, $2.60 flat rate shipping if the number of items in the order is 5 or less, and $0.40 per item if the number of items in the order is 6 or more.)

    • Subtotal, weight, items - Choose this option to set shipping rates based on a combination of the above parameters (for example, $7 flat rate shipping for orders with a subtotal of up to $50 - if the order weight is up to 10 lb, free shipping for orders with a subtotal of $50 or more - if the order weight is up to 10 lb, and $10 flat rate shipping for orders weighing over 10 lb.) Again, if you will define rates based on weight, be sure to specify the correct weights for all your products.

  • Address zone: Select the Address zone the shipping method will be available for. If you haven’t configured the zone, you require yet, use the Manage zones link to access the Zones section and configure it.


    To remove a shipping method for a specific address zone, you need to delete all rates of this shipping method enabled for this very address zone.


5. Configure your custom shipping rates table for the defined shipping method.

Use the form below the shipping general info to create a table of custom rates for the method you have just created. What you see here is, in fact, the first row of your table - with the default zero values.

The set of fields that you see in this table may differ depending on the value of the “Table based on” setting specified above. (For example, if you choose to base your table on “Subtotal, weight, items,” there will be more fields; for the lack of space, they will be displayed in two rows one below the other, as shown in the screen below):

In any case, however, you should remember that all these fields pertain to the first row of your custom rates table, and all of them are intended for your first shipping rate.

To create a shipping rate, you will need to adjust the values in the fields of this table so that they form a rule according to which X-Cart will calculate the shipping rate.


If necessary, you can add more table rows for more rates. In the end, be sure to save your changes.


6. Once you’re satisfied with your rates configuration, save your changes. A new shipping method will be added.

7. Make sure the shipping method is active.

8. Make sure that all the products that will be shipped using this shipping method have the option Requires shipping (in older X-Cart versions - Shippable) enabled.

That is all. The shipping rates for orders shipped using this method will be calculated based on the table of the custom rates you created.

Configuration Samples

Let us configure a custom rates table that will allow offering our customers:

  • $7 flat rate shipping for orders with a subtotal of up to $50 - if the order weight is up to 10 lb;

  • free shipping for orders with a subtotal of $50 or more - if the order weight is up to 10 lb;

  • $10 flat rate shipping for orders weighing over 10 lb.

The "Rate 1" needs to be “$7 flat rate shipping for orders with a subtotal of up to $50 - if the order weight is up to 10 lb”. To get this rate, we need to configure the first row in the table as follows:

  • Subtotal range: $0.00 - $49.99

  • Weight range: 0 - 10 lb

  • flat rate: $7

Once we are done with Rate 1, let’s add two more rows for the rates ”Free shipping for orders with a subtotal of $50 or more - if the order weight is up to 10 lb” and “$10 flat rate shipping for orders weighing over 10 lb”. To add a new row, we will use the [+] button:

Then, we will configure the two new rows as follows:

“Free shipping for orders with a subtotal of $50 or more - if the order weight is up to 10 lb”:

  • Subtotal range: $50 - $ ∞

  • Weight range: 0 - 10 lb

  • flat rate: $0

“$10 flat rate shipping for orders weighing over 10 lb”:

  • Subtotal range: $0 - $ ∞

  • Weight range: 10 lb - ∞

  • flat rate: $10

We are now ready to save our table.

You can find more information on setting up free shipping with custom table rates in the section Free Shipping on Orders That Meet Certain Conditions of this manual.

Related pages:

Did this answer your question?