How do you add customization to admin's 'view order' screen?

Posts: 76
Joined: 09/19/2007
Bug FinderGetting busy with the Ubercode.

Sorry for the barrage of posts today. Hopefully soon I'll be able to actually answer some questions instead of asking so many. Smiling I'm just wrapping a few loose ends on a project using UberCart.

Is there a standard method for adding some fuctionality to the 'View Order' admin page? What I need to do is add a link somewhere next to each product that will launch a custom script based on the product and attributes chosen.

Any thoughts on this would be appreciated.

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Well, hook_order_pane() is the way to add new panes to an order, but to edit that existing one you might try using hook_table_alter() to add an operation link column to the table. That table was built using TAPIr, but unfortunately I haven't had the chance to repost the documentation here. It's in zip format here.