Login or create an account
If you have an account with us, please log in.

You have no items in your shopping cart.

I want to import table rates automatically. What should I do?

First, you need to call this:




This will erase any data in the method.

And that is how you make import:

Mage::getModel('amtable/rate')->import($methodId, $fileName)


Amasty_Table_Model_Rate::import($methodId, $fileName)

$methodId is Id of the method in Table Rates, and $fileName is the name of the csv file.


See more details on Shipping Table Rates page
Rate the answer?
Back to top