Search
×
Log in or create an account
If you have an account with us, please log in.

You have no items in your shopping cart.

Frequently Asked Questions

How can we help you?

banner image

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

See more details on Shipping Table Rates page
User Guide

First, you need to call this:

Mage::getModel('amtable/rate')->deleteBy($methodId);

OR

Amasty_Table_Model_Rate::deleteBy($methodId)

This will erase any data in the method.

And that is how you make import:

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

OR

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
User Guide
Rate the answer?

Total rating: 5.0

If you didn’t find the answer on your question, please, ask here:

Back to top