Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

How Do I Set Up Table Rate Shipping?

Table Rates can be set up in 3 different ways; Weight and Destination, Price and Destination and the Number of Items and Destination. To set up Table Rates go to System -> Configuration and Select Shipping Methods from the Left Navigation. You will be able to set up your default values for the Table Rates here, but the rates themselves are entered on the Website level.

Let’s first set up our default configuration for the Table Rates.

image

First we enable Table Rates by selecting yes from the Enabled dropdown. You are then able to edit the Title and Method names. In this case we have the Title set to Standard Shipping and the Method set to Standard.

You then select the way you want the Table Rates calculated. In this case we are going to calculate the rates based on the Price and Destination.

Select the Save Config button and then move to the Website level to enter the rates.

Using the Current Configuration Scope dropdown in the left navigation select the website you want to enter rates for. In this case we will enter rates for the Main Website.

Once you select the site you will view the Shipping Carriers in this way:

image

In this case we will use the default values, but by deselecting the checkboxes you can edit the values for the website.

The table rates are entered by importing a CSV file. First export the file by selecting the Export CSV button. Save the file to your computer and open it in Excel.

Once the CSV file is open in Excel you can enter your rates.

image

We are going to have 3 rates in this case, $15 for orders $0 - $49.99, $10 for orders $50 - $99.99, and $5 for orders $100 and up. As it says in the CSV, the rates are calculated on the order sub-total. As with all order sub-totals this is the sub-total AFTER other discounts are added. So if a customer applies a coupon, the sub-total after the coupon is applied is the rate we calculate against.

In the case of price and destination the first rate you will need to enter is for the order sub-total of $0 and above. In this example we are going to set up a single rate for every region in the USA. First we enter the Country as USA. If we don’t want to specify a rate for each individual region/state we enter a * in the field. This applies the rate to all regions in the country. We will do the same for all ZIP codes in this case as well.

You then save the file and upload it back to the site using the Import tool for the Table Rates in the admin panel. We now have a simple table rate set up for all orders to the USA. However, let’s say you find you are shipping to customers in Hawaii and Alaska frequently and are losing money each time you do so. We can set up different rates just for those 2 states. Export the file back out of the site and you will be able to view the current rates for the site. Now we can enter higher rates for Alaska and Hawaii by entering them in the CSV file.

image

By entering the states in the CSV the site will now look for these rates anytime a customer enters a shipping address in either of these states. The states must be entered using the 2-digit Postal Abbreviation. In this case we still have the * for the first 3 rates. Instead of meaning all states, the * now means all states EXCEPT for HI and AK.

Save the file and import it back to the site, select the Save config button and you have your new table rates.

The other 2 options, Weight and Destination and # of Items and Destination, function in the same way, but instead of looking at the Sub-total they will calculate the rates based on either the total weight of all items in the cart or the total number of items in the cart.

RSS comments feed for this entry

User Comments

|12 comments
  1. jmayer

    1jmayer |posted November 26 2007

    I have tied a basic import as you suggested with a simple rate table, however I am seeing the message

    “Sorry, no quotes are available for this order at this time.”

  2. Michael

    2Michael |posted November 26 2007

    Hi jmayer,
    Could you PM me or post somethere in the forum the rates file you try to use ?

  3. ZuckaS

    3ZuckaS |posted November 30 2007

    jmayer, did you resolved this? We’re having the same issue.

  4. jmayer

    4jmayer |posted November 30 2007

    Zucka

    Its intermittent. Sometimes it works, sometimes it does not. I have not yet found any rhyme or reason.

  5. jmayer

    5jmayer |posted December 4 2007

    I think I am getting somewhere this. The only way I was able to get this to work was to import the CSV with data for each state instead of using the asterisk as a wildcard.

  6. ZuckaS

    6ZuckaS |posted December 4 2007

    Do you think you could PM the table over? I’ve tried doing, it’s still not working. Perhaps I messed up the import.

    Thanks!

  7. jmayer

    7jmayer |posted December 4 2007

    I sent you the file Zuckas. I have determined one other thing.  When I have more than one item in my cart this never works. When I have one item it works.

  8. ZuckaS

    8ZuckaS |posted December 4 2007

    Thank you! It did not work for me. Same thing! Thanks again.

  9. refriend

    9refriend |posted January 14 2008

    I am getting the following message whenever I try to upload a .csv

    “Fatal error: Call to a member function getConnection() on a non-object in /home/brass5/public_html/magento/app/code/core/Mage/Core/Model/Mysql4/Abstract.php on line 243”

    I tried it from both the “Default Config” & “Main Website” levels.
    I have made no modifications to the code.
    Only Table Rates and free shipping are enabled (selection made in default config. Not modified in sublevels.)

    Table:
    Country Region/State Zip/Postal Code # of Items (and above) Shipping Price
    USA * * 0 25
    USA * * 100 15

    Free shipping: >200

    Magento ver. 0.7.14800
    Server Host:  rhea.lunarservers.com
    Server OS: Linux 2.6.9-55.0.9.ELsmp
    Database: MySQL 5.0.27-standard
    PHP Version: 5.2.3 (Zend: 2.2.0)

  10. harry12bar

    10harry12bar |posted January 22 2008

    Has anyone any stable success with the shipping table rates… im finding it quite impossible to rely on, Maybe im doing something wrong?????????
    Thx

  11. dotcomlarry

    11dotcomlarry |posted January 25 2008

    Imported my own table rates using this method, but when I use the export button to get my rates again, it just shows a default file with none of the rates I entered! Is something borked?

  12. refriend

    12refriend |posted January 25 2008

    FYI. I have submitted this item as a bug to the developers. http://www.magentocommerce.com/bug-tracking/issue?issue=1193

  • Comments in this section are now closed, please check out the forum for discussions about this topic.

Explore the Knowledge Base

Professional Services from the Magento Team

Professional Installation from the Magento Team

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien    Privacy Policy|Terms of Service