Magento – Multiple Tablerate (3)

Continue for adding your own Multiple Tablerate:
multitablerate

Now modified app\code\core\Mage\Shipping\etc\config.xml

<config>
<modules>
<Mage_Shipping>
<version>0.7.0</version>
</Mage_Shipping>
</modules>
<global>
<models>
<shipping>
<class>Mage_Shipping_Model</class>
<resourceModel>shipping_mysql4</resourceModel>
</shipping>
<shipping_mysql4>
<class>Mage_Shipping_Model_Mysql4</class>
<entities>
<tablerate>
<table>shipping_tablerate</table>
</tablerate>
<tablerate2>
<table>shipping_tablerate2</table>
</tablerate2>
<tablerate3>
<table>shipping_tablerate3</table>
</tablerate3>
</entities>
</shipping_mysql4> . . . . . . <tablerate>
<active>0</active>
<sallowspecific>0</sallowspecific>
<condition_name>package_weight</condition_name>
<model>shipping/carrier_tablerate</model>
<name>Table Rate</name>
<title>Best Way</title>
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
<handling_type>F</handling_type>
</tablerate>
<tablerate2>
<active>0</active>
<sallowspecific>0</sallowspecific>
<condition_name>package_weight</condition_name>
<model>shipping/carrier_tablerate2</model>
<name>Table Rate Two</name>
<title>Best Way</title>
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
<handling_type>F</handling_type>
</tablerate2>
<tablerate3>
<active>0</active>
<sallowspecific>0</sallowspecific>
<condition_name>package_weight</condition_name>
<model>shipping/carrier_tablerate3</model>
<name>Table Rate Two</name>
<title>Best Way</title>
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
<handling_type>F</handling_type>
</tablerate3>
</carriers>
</default>
</config>

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Leave a Reply