0

I installed extension in magento site.

after installing extension i can not able to see the paymnet methods under checkout page.

app > code > local > extension_name > controllers > frontend > checkout > onepagecontroller.php

onepagecontroller.php code = http://codepad.org/y4GVDLYL

check above code and help me what is the problem that why payment methods are not displaying?

please help me to find solution.

thanks in advance.

1
1

Baby in Magento 2,You have not rewrite controller properly.

Please study here.

Config.xml rewrite code is:

<routers>
    <checkout>
    <args>
        <modules>
        <MyNameSpace_MyModule before="Mage_Checkout">Softprodigy_Bluedart_Frontend_Checkout</MyNameSpace_MyModule>
        </modules>
    </args>
    </checkout>
</routers>
</frontend>

Please donot use $_SESSION['avaiablePin'] .Use Magento session factory method

Mage::getSingleton('core/session').

See how to set core session varible

https://stackoverflow.com/questions/3340982/how-do-i-save-value-in-my-own-session-variable-in-magento

http://joe-riggs.com/blog/2011/04/magento-session-variables/

15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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