Hi, I’m trying to ovewrite checkout/onepage with my own class. But have a strange problem.
What I do:
1. In my module config.xml I have placed this part of configuration:
2. I create my own controller and place it under this path /app/code/local/Total/Wsrisk/controllers/Checkout/OnepageController.php
Here is its code:
class Total_Wsrisk_Checkout_OnepageController extends Mage_Checkout_OnepageController
After this I’m trying to open checkout/onepage and see my default checkout (because I didn’t write nothing into the child controller yet).
But I get the next (see attachment).
I get the blank content. But what is interesting - the title of the page is correct. So, definetely, controller rewriting is working.
But other things not.
What have I missed?
Thanks. Waiting for your answer.
btw I were doing all of code below with the help of this tutorial: http://www.magentix.fr/modules-magento/inscription-newsletter-enregistrement-onepage-achats.html#comments (I don’t understand french so I have used only code examples).
Click thumbnail to see full-size image