Add a product link in admin order view

Many times it would be convenient to be able to quickly check a product on the frontend while we’re viewing the order detail in the backend order view.

There are many ways to accomplish this, such as adding new columns to the order item grid etc but here’s a quick and simple way to accomplish the same results without adding any additional block code or xml.

The link was added below the item name and sku with a simple LINK name. This was done so that the sku or name information could still be copied and pasted if you’re transferring to another site.

You could replace the ‘LINK’ with actual information from the order detail if you prefer – here’s an example showing the product cost as the link to the item .. any attributes that are in the table ‘sales_flat_order_item’ could be used.

Magento Tips & Techniques

Magento is one of the leading E-Commerce platforms. The information provided in this site hopefully will help you with some "tweaks" to enhance the shopping experience or assist the administrator.

The posts are in no particular order but are added whenever I think of a tip, technique, code snippet or change that I think might be useful to the community.

I've only included 'hacks' that can be implemented by someone with a general Magento structure knowledge and basic php skills. More sophisticated Magento modifications are available from numerous sites and the Magento Knowledge base.