Page 1 of 1

TIP: Linking order line items to the product page

Posted: Fri Mar 07, 2008 10:25 am
by AbleMods
Introduction
Ever pulled up an order on the Admin side and want to see the actual product page for one of the items on the order? Sometimes the customer has asked a question and you need to see the same description he sees. Or maybe you want to confirm a detail before filling the order.
Regardless of your reason, wouldn't it be helpful to have the order line items as links connected directly to the product page itself? Well you can, and it's really easy to do!

This modification assumes AC7 RC2. Always make a backup copy of the files to be modified before changing them.

Two stones to throw
There are two places in the Admin side to see line items on an order. We're going to change both but you're welcome to change whichever ones suit your fancy.

First, edit your ~/Admin/Orders/ViewOrder.aspx page. Look for the line that starts with this:

Code: Select all

<uc:OrderItemDetail ID="OrderItemDetail1"... />
On the end of the line, there is a parameter called LinkProducts. Just change it's value from "False" to "True". Done!

Now do the same thing on the ~/Admin/Orders/Edit/EditOrderItems.aspx page. The same steps will apply.

Conclusion
Any chance you get to make the Admin job easier and more informative has a positive influence on your business. This modification is simple and gives an effective boost to Admin knowledge when working with order line items.