⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 change

📁 Shopping Cart
💻
字号:
This file documents significant changes made to the MyCart distributionsince the original.For installation, setup, legal and support information, please refer tothe README file.CHANGES FOR VERSION 1999.10.27This is the firest major revision of the MyCart scripts.  As a result, thechanges are many.  I may have forgotten a few, but most of them are asfollows:- Removed the dependance on cookies.  90% of the problems people reportedwith the original distribution were with cookies, so I removed them.  Theresulting URLs aren't as pretty, but the alternative was to losefunctionality.  After examining popular sites that make use of shoppingcarts (i.e. amazon.com), I figured that people probably don't make a bigfuss over good looking URLs.- Order numbers are not generated until after the shopper has checked outand provided payment information.  This should eliminate gaps in ordernumbers.- The items in the CartItems and Users tables now expireautomatically after they become more than a day old.  This will eliminatethe resulting huge tables when people fail to use the "Flush Data"functions from the previous version.  These tables should only containcurrent "shopping" users and items that people have in their carts.  Ifthey still exist on the site after 24 hours, then it's pretty safe toassume that they have abandoned their cart.- The items in the Buyers, Receipts and Orders tables expire automaticallyafter one year.  One year seemed sufficient for keeping electronic copiesof user information and receipts. If you want to increase the number ofyears, you can do so by modifying the index.php file in the admindirectory.  View the README file for more information.- Added support to supply database names dynamically.  This should easethe stress of needed modifications when more than one shopping cart isneeded on one database server.- Auto forward customers after they have placed their order so thatmultiple orders are not created when a customer refreshes the receiptscreen.- Create and show a URL on the receipt that customers can visit if theywish to review their receipt at a later date.- Support for easily changing the defualt root directory for the shoppingcart scripts.- Categories are stored and accessed as ID numbers instead of names.  Thiseliminates the strange behaviors associated with URLs that are made ofspecial characters - especially quotation marks.- The ability to specify a text string (such as "Shipping Extra") to showwhen the shipping amount has not been specified.- The ability to change pictures shown for an item without running themodifyItem script.- Warning screen before deleting categories or items.- All pages the customers see check for the existence of a valid, currentUserID, and assigns one of they do not have one.  This should eliminatepeople bookmarking pages and coming in with previous user's shopping cartitems.  This will also assign a UserID to people that come directly toyour site starting somewhere other than the home page.- The viewCart script checks for an empty cart and reports "Your CartContains No Items" when true instead of stating "You Shopping CartContains the Following Items" and displaying an empty table.- Once an order is complete, that customer's information is immediatelyand automatically removed from the CartItems and Users tables to help avoid table congestion.- When a category is deleted, all of the items in that category and anypictures related to those items are automatically removed.- Whenever an item is deleted, it's picture is removed also.- The Year drop-down list on the searchReceipts box is generateddynamically, starting from the current year and working five years backward, rather than being hard coded in standard HTML.  This willhelp avoid modification of this script in coming years.- If there is no description provided for a particular item, customerswill not see "Description:" near the bottom of the description view of theitem.- Fixed a typo on the description script.- Added the item description to the page that lists all items in theselected category.- Strip all non-numeric values (like dollar signs and commas) out of itemaddition and change response forms to eliminate user error as a cause ofdatabase data flaws.- Changed all file names to end in .php for future compatibility with"standard" PHP4 naming conventions.This file, these scripts and "MyCart" areCopyright 1998-1999, Rosenet Internet Services

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -