Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 remove top ''continue'' button shopcustomer pages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

baseline
VP-CART New User

United Kingdom
60 Posts

Posted - October 31 2006 :  04:35:05  Show Profile  Reply with Quote
Hi, we would like to remove the top 'continue' button from shopcustomerform.asp, shopcreateorder.asp and only have the bottom one. Can't find in the code where these are set out?

stockman
Starting Member

8 Posts

Posted - October 31 2006 :  06:19:38  Show Profile  Reply with Quote
hi,

You can do it by modifying code responsible for displaying this button.

Open shopcreateorder.asp and locate the following around line 113:

shopbutton Getconfig("xbuttoncontinue"),getlang("langCommonOrderNow"),"action"

Change to:

' shopbutton Getconfig("xbuttoncontinue"),getlang("langCommonOrderNow"),"action"

Next open shopcustomer.asp and locate the following:

If GetSess("Login")<>"" and GetSess("Lastname")<>"" then
addSubmitButton
end if

Change to:

If GetSess("Login")<>"" and GetSess("Lastname")<>"" then
' addSubmitButton
end if
Go to Top of Page

baseline
VP-CART New User

United Kingdom
60 Posts

Posted - November 01 2006 :  03:24:52  Show Profile  Reply with Quote
Thats fixed it! Thank you.

I also commented out the login and logout links at the bottom of the page which seemed a bit pointless to me. Cheers!
Go to Top of Page

Packard40
Starting Member

USA
15 Posts

Posted - November 03 2006 :  16:30:59  Show Profile  Reply with Quote
Hi baseline, What lines did you comment out to remove the login and logout links at the bottom of the page? Thanks in advance.
Go to Top of Page

Packard40
Starting Member

USA
15 Posts

Posted - November 13 2006 :  19:57:41  Show Profile  Reply with Quote
In shopcustomer.asp, about lines 166 & 167, comment out: AddNewUser and AddExistingUser.
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