Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Adding value to hidden field on customer registrat
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

robmac
Starting Member

26 Posts

Posted - March 21 2007 :  08:53:12  Show Profile  Reply with Quote
We are exhibiting at a trade show and want to have customers register at the show and automatically set them to receive trade discounts.
We use the custother1 field to set whether a customer gets trade prices or not.
I have taken a copy of shopcustregister.asp but can't work out how to set custother1=1-9.
I would also like to logout the customer after they have registered so the page is ready for other customers and return to this custom page rather than shopcustregister.asp

Any help would be most appreciated

loleg
Starting Member

Switzerland
2 Posts

Posted - June 27 2007 :  02:20:38  Show Profile  Reply with Quote
hi rob,
doesn't seem like you got an answer yet, do you still need help setting up those fields for the trade show? you're on the right track for shopcustregister.asp, just search for 'CustomerUpdateFields objrs' and add immediately below it:
objrs("custother1") = "1" ' Set custom field

however, i think the more standard way involves putting SetSess("custother1","1") somewhere and addind custother1 to xcustomerOtherFields.

cheers,
oleg

Edited by - loleg on June 27 2007 02:33:19
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