TIP: Linking order line items to the product page

This forum is where we'll mirror posts that are of value to the community so they may be more easily found.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

TIP: Linking order line items to the product page

Post by AbleMods » Fri Mar 07, 2008 10:25 am

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply