Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Creating a second TABLE RATES shipping method
 
infield
Sr. Member
 
Total Posts:  89
Joined:  2007-11-04
San Francisco
 

This has been a “How do I” topic but I think it has turned into a more of a coding question.
Multiple “TABLE RATES”

I am trying to add multiple table rates that can be selected at check out. In our case it we would like the customer to be able to select

- standard shipping
- expedited shipping
- overnight shipping

Each with it’s own rate table.

I was thinking that this would be possible by creating a second Mage_Shipping_Model_Carrier_Tablerate class:

- Duplicate app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php and call it app/code/core/Mage/Shipping/Model/Carrier/Tablerate_II.php
- Call it’s class Mage_Shipping_Model_Carrier_Tablerate_II
- Update app/code/core/Mage/Shipping/etc/config.xml and app/code/core/Mage/Shipping/etc/system.xml to reflect the new class

It seems that this method would be in-line with the Create Shipping Method Module wiki. But people have tried this with no luck.

Can anyone offer any guidance how to get going on this?

Thanks,
-marc

 
Magento Community Magento Community
Magento Community
Magento Community
 
antoni vidal
Jr. Member
 
Total Posts:  18
Joined:  2007-09-03
 

Good News, my How To in Multiple “TABLE RATES”

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top