Print Page | Close Window

Change Required to Not-Required

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1066
Printed Date: 14-July-2025 at 9:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change Required to Not-Required
Posted By: fidjiti
Subject: Change Required to Not-Required
Date 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. :)



Replies:
Posted By: netprofits
Date 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

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: fidjiti
Date 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. :)


Posted By: netprofits
Date 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

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: fidjiti
Date 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. :)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net