an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Access to Order Detail Page
Last Post 6/15/2010 12:40:27 PM By lukezy. 1 replies.
6/15/2010 12:22:39 PM
bansal_db
Posts: 181
Joined: 4/13/2009
Access to Order Detail Page
Hey Luke,
 
Where does the site check if the logged in user should be allowed to view the order detail page? I know the order detail page loads empty if the logged in user is not the one placing the order. I need to modify that to allow sales rep role to view his customer's order.
 
Thanks
 
-D
6/15/2010 12:40:27 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Access to Order Detail Page
It's in Get method in Order.cs . You can use method Order Get(string host, int orderId, string userName) and pass null as the userName to skip the security check.
DotShoppingCart Staff