I have to add new field for shipping method in Fedex in admin panel? If any idea about for that, please help asap.
System > Configuration > Sales > Shipping Method > Fedex
Thank you
I have to add new field for shipping method in Fedex in admin panel? If any idea about for that, please help asap.
System > Configuration > Sales > Shipping Method > Fedex
Thank you
See app/code/core/Mage/Usa/etc/system.xml
. You will need to have the same parent Xpath in your module's system.xml
file, e.g.:
<config>
<sections>
<carriers>
<groups>
<fedex>
<fields>
<your_field>
<label>Your Field</label>
<frontend_type>text</frontend_type>
<sort_order>8</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
You can then read this value using Mage::getStoreConfig('carriers/fedex/your_field')
.
Thank you, whoever try to help me. I have find solution for this.
I have change in mage/Usa/etc/system.xml. In system.xml, I have add tag as a new field. And some minor changes in model/shipping/carrier/Fedex.php.
Thank you again to all