22, November 2008

problems with using exsiting customer data... - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  DB_cart Class (Moderator: Olaf)
Topic: problems with using exsiting customer data...
« previous next »
Pages: [1] Print

Author Topic: problems with using exsiting customer data...  (Read 934 times)
Just another rainy day
*
Posts: 1
6 credits
Members referred : 0


« on: Apr 20, 2006, 02:53:23 AM »

Use this thread to post suggestions about functions for future versions of this class.


Currently this updates are on the development list: (+++ urgent, ++ medium, + low priority)

- a method to match against a custom regular expression +++
- matching two fields ++



I do not think adding more features will be helpful until the script is stablized. There are bugs and some strange things like checking the customer database every time the script is started need to be got rid of. for a new customer, it appears strange. When you try to get this global variables $_SESSION['custom_num'] $_SESSION['email'] from database assuming that the customer shopped before is not a good idea. Notice that before checkout, the email above the form is gotten from the database and it is not something the customer provided earlier. You see.  I know solving it is streightforward  but sorting the existing script should be more of a priority than upgrade.

Just a thought.
« Last Edit: Apr 20, 2006, 09:34:30 AM by olaf »
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6441
39470 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Apr 20, 2006, 09:29:03 AM »

Hello rageh,

you posted this in a forum about a different class (form field validation), but you're right if there a re bugs they have to removed first ;-)

Quote
There are bugs and some strange things like checking the customer database every time the script is started need to be got rid of. for a new customer, it appears strange.
This is an option, If you don't like this change this setting inside the config file
Code:
define("RECOVER_ORDER", false);

Quote
Notice that before checkout, the email above the form is gotten from the database and it is not something the customer provided earlier.
I can't follow this, please explain.


Please don't forget this shopping cart script has to work with existing product and customer tables but also for shops without cutomers. It's up to the user how the globals are filled, the provided product and customer database is just an example.


Last blog : Just a better Internet portal provided by Google
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2321
Tags : forums databases email Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  DB_cart Class (Moderator: Olaf)
Topic: problems with using exsiting customer data...
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Nov 22, 2008, 10:22:15 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.741
Total Topics: 7.651
Total Members: 4.398
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: egseopro

35 Guests, 3 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.