0

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

enter image description here

Thank you

2
  • You should explain a bit more what you are trying to accomplish.
    – benmarks
    Commented Oct 14, 2013 at 12:34
  • I have attach screenshot, which I want to add new field Commented Oct 14, 2013 at 12:43

2 Answers 2

2

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').

2
  • My credentials correct, i have two store in single magento, store 1 display Fedex shipping cost, but store 2 not displaying shipping cost, how can i solve this issue?
    – zus
    Commented Mar 10, 2018 at 12:33
  • That’s a separate question.
    – benmarks
    Commented Mar 11, 2018 at 1:15
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.