文件名称:php shopping cart no need database.
文件大小:48KB
文件格式:RAR
更新时间:2012-07-10 13:44:06
shopping cart
structure : In the class folder :cart.php which contain what elements should the cart have. procuct.php which contain what the elements the product have eg: name,id,weight.etc In the config folder: the products.php which contain the products that will be sold. Features : -run the index.php page first, In this page you will view the catalog. you can buy it now by clicking the cart icon.if you want to enter the Quantity,you can type it in the input box. if not, the default value of quantity is 1. -also when you click the product name or picture .you will go for more detail of the product. -at the top of product.php page, if the cart is not emtpy ,the link of checkout is appear. contrary, it will not be appear. -the cart.php ,the items will be display in table form and the color of the row of the table have difference color depends on the odd number or even number of the row. -In cart.php page, you can change the quantity you want by edit the number in the input box or press the "-" or "+" to reduce or add the quantity by 1. -checkout.php page, the billing form is required to fill. the valadation is done.eg blank. email format. after u submit .you can have a confirmation and you can edit it if any inconsistent. thanks.
【文件预览】:
ass
----cart.php(4KB)
----index.php(2KB)
----checkout.php(2KB)
----class()
--------cart.php(2KB)
--------product.php(377B)
----product.php(2KB)
----config()
--------products.php(628B)
----images()
--------cartt.gif(157B)
--------3.jpg(6KB)
--------4.jpg(7KB)
--------2.jpg(6KB)
--------1.jpg(4KB)
--------cart.gif(2KB)
--------Thumbs.db(28KB)
----styles.css(3KB)