ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Change Required to Not-Required
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Required to Not-Required

 Post Reply Post Reply
Author
Message
fidjiti View Drop Down
Senior Member
Senior Member


Joined: 30-November-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote fidjiti Quote  Post ReplyReply Direct Link To This Post Topic: Change Required to Not-Required
    Posted: 03-September-2007 at 10:09pm
I want to streamline my order entry and want to change certain "required" fields to not be required in the admin section. Only in the admin portion of the site.

I know there are specific fields which the DB needs. Probably Name, email and password. For example: Billing address, shipping address, phone... but I don't need those if the customer is standing right in front of me. I would obviously ask but don't want to have to worry about it too much.

I hope this can be done, please let me know if this is possible or if someone out there has tried it. :)
Thanks!
Linda - I wish I knew ASP.
To view my ever evolving site click the "www" button below. :)
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 04-September-2007 at 9:02am

There are two ASP files for entering customers on the admin area:
1. instCusta.asp - add new customer
2. modCusta.asp - edit customer

Near the top of both files you will find code like the following:

'// Set Required Fields

'// General Info
pcv_isBillingFirstNameRequired = true
...

It lists the various fields. If the variable is set to true it is required, if it is set to false it is not required. Just change true to false for those fields you don't want to be required.

Make sure you make backups in case something gets messed up.

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
fidjiti View Drop Down
Senior Member
Senior Member


Joined: 30-November-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote fidjiti Quote  Post ReplyReply Direct Link To This Post Posted: 04-September-2007 at 7:43pm
hey thanks! I'll try it. Which fields should I keep required or does it matter?

You're thhe best!
Linda - I wish I knew ASP.
To view my ever evolving site click the "www" button below. :)
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 04-September-2007 at 8:01pm

Its really up to you but I would suggest at least customer first and last name, email and password. That's what they need if they ever want to login to the web site. They would need to enter their address info if they order from the site if you haven't entered it.

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
fidjiti View Drop Down
Senior Member
Senior Member


Joined: 30-November-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote fidjiti Quote  Post ReplyReply Direct Link To This Post Posted: 11-September-2007 at 3:15pm
well I tried it and changed true to false on the fields which I didn't want to enter, but for some reason I received an error at the very last step. :( Oh well, I guess I'll just need all of my customer's info. Now I know why there are POS systems out there. So we can checkout quicker. I really think PC would only need a simply order entry page to do this successfully. I did it for my grand opening and I really needed just a faster way to specify which products were being added to the cart. Maybe in the future sometime.

Thanks for your help!
Linda - I wish I knew ASP.
To view my ever evolving site click the "www" button below. :)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.