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 rates table. 

For unregistered customers shipping rates are displayed at checkout in the very same order they are set in the admin area (first comes the first active shipping method from the shipping settings page (Store setup -> Shiping)).

For registered customers the first shipping method displayed at checkout will be the one they used for the previous order. The rest of the shipping methods will come in the order of active shipping methods defined in the admin area.

In X-Cart, a custom table can be configured 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).

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): shipping-1.png
  2. Click the Add shipping method button: shipping-2.png You’ll see a popup window where you can choose what type of shipping rates you would like to use:
  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 be shown to buyers.
    • 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

        e.g. $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

        e.g. £28.13 flat rate shipping for the orders with the overall weigh of up to 5 kg and £9.99 shipping per kg for the orders with the overall weigh of over 5 kg. If you use this type of rates, make sure that all your products that require shipping have a 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

        e.g. $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

        e.g. $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 are going to define rates based on weight, be sure to specify 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.
  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’ve 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 be different depending on the value of the “Table based on” setting specified above.

    e.g. 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):

    But in any case 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 the shipping rate is calculated.  If necessary, you can to add more table rows for more rates. In the end, be sure to save your changes.

    Let’s configure a following custom rates table as a sample that will allow us to offer 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.

    Our first rate 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’re done with the first rate, 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’ll use the [+] button:

    We’ll 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.

  6. Once you’re satisfied with your rates configuration, save your changes. The 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. Now the shipping rates for orders shipped using this method will be calculated based on the table of the custom rates you created.