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:
$methodId is Id of the method in Table Rates, and $fileName is the name of the csv file.