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, 08:34:30 am by olaf »
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Apr 20, 2006, 08: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.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2321