Magento News

 

Magento: How to Override View Template

I want to display the order invoice page with a custom theme but I don’t want to rewrite all of the app code associated with it (blocks, helpers, etc). Here’s how it should work from a user point-of-view:

  • User goes to a custom “Order History” page with URL “../custom-account/orders/”.
  • They click on the “View Invoices” link in the order history list which takes them to “../custom-account/orders/invoices/order_id/1″.
  • The page loads the custom view with almost exactly the same content as “../sales/account/view/order_id/1″ – but with a different look and feel (and navigation).

With the flexibility of the Magento system, this seems like something that should be really easy to achieve but I can’t figure out exactly what I need to do. I really don’t want to go overriding all of the various blocks and models with exactly the same functionality just to get a different UI.

Any ideas?

Thanks for any help provided…

Magento: How to Override View Template

Possibly Related Posts:


 

Leave a Reply