Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 shopcustadmin.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

standout
VP-CART New User

Canada
70 Posts

Posted - December 16 2011 :  11:16:12  Show Profile  Visit standout's Homepage  Reply with Quote
How can I take off the Download section as well as View RMA's and UPS Tracking bullets from the Orders section off the shopcustadmin.asp page?

elammers
VP-CART Super User

USA
256 Posts

Posted - December 18 2011 :  13:57:25  Show Profile  Visit elammers's Homepage  Reply with Quote
When you cannot find a config item to turn off a menu option in the Customer Admin screen, you can just comment it out in the code. It's very easy.

Open up shopcustadmin.asp

Go to the sub SetUpMenus around line #105. This contains all the code that sets up the menus on that page.

To comment out Downloads, just add an apostrophe at the beginning of line #182 which looks like this
AddMenuItem GetLang("LangorderDownload"),"shopcustdownloads.asp", "Yes"

If you want to remove that whole section, just comment out the line before and after the one mentioned as those create the table and close the table display.

I always like to comment out the code instead of deleting it in case I need to put it back in.


Regards,
Eric Lammers
www.KrackMedia.com
Building More Than Web Sites . . . Building a Web Presence
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00