129 |
Product | 132 |Product Description | 133 |Unit Price | 134 |Quantity | 135 |Total | 136 |Remove | 137 |
150 |
151 |
152 |
153 | Click Here to Empty Your Shopping Cart 154 |
156 |
├── LICENSE ├── Project Details ├── 201403002_201403009_Assignment1.pdf ├── Assignment 1.pdf ├── Assignment-2.pdf ├── Assignment-3.pdf ├── Conversion.pdf ├── Documentation.pdf └── Mall.png ├── README.md ├── cart.php ├── category.php ├── contact.php ├── css ├── bootstrap-theme.css ├── bootstrap-theme.css.map ├── bootstrap-theme.min.css ├── bootstrap.css ├── bootstrap.css.map └── bootstrap.min.css ├── fonts ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf └── glyphicons-halflings-regular.woff ├── forgetpass.php ├── help.php ├── index.php ├── inventory_images ├── 19.jpg ├── 20.jpg ├── 21.jpg ├── 22.jpg ├── 24.jpg ├── 25.jpg ├── 26.jpg ├── 27.jpg ├── 28.jpg ├── 29.jpg ├── 30.jpg ├── 31.jpg ├── 32.jpg ├── 33.jpg ├── 34.jpg ├── 35.jpg ├── 36.jpg ├── 37.jpg ├── 38.jpg ├── 39.jpg ├── 40.jpg ├── 41.jpg ├── 42.jpg ├── 43.jpg ├── 44.jpg ├── 45.jpg ├── 46.jpg ├── 47.jpg ├── 48.jpg ├── 49.jpg ├── 50.jpg └── 51.jpg ├── js ├── bootstrap.js ├── bootstrap.min.js └── npm.js ├── list_all_products.php ├── logo.jpg ├── logout.php ├── mystore.sql ├── product.php ├── product_list.php ├── storeadmin ├── admin_login.php ├── index.php ├── inventory_edit.php ├── inventory_list.php ├── logo.jpg ├── logout.php ├── user_edit.php └── user_list.php ├── storescripts ├── connect_to_mysql.php └── render_cart.php ├── style ├── logo.jpg └── style.css ├── template_footer.php ├── template_header.php ├── user_login.php ├── user_profile.php └── user_registration.php /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 TARUN GUPTA 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Project Details/201403002_201403009_Assignment1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarun018/E-Commerce-using-PHP-and-MySQL/60663919e5e187788429db8e7397a478221d47f4/Project Details/201403002_201403009_Assignment1.pdf -------------------------------------------------------------------------------- /Project Details/Assignment 1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarun018/E-Commerce-using-PHP-and-MySQL/60663919e5e187788429db8e7397a478221d47f4/Project Details/Assignment 1.pdf -------------------------------------------------------------------------------- /Project Details/Assignment-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarun018/E-Commerce-using-PHP-and-MySQL/60663919e5e187788429db8e7397a478221d47f4/Project Details/Assignment-2.pdf -------------------------------------------------------------------------------- /Project Details/Assignment-3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarun018/E-Commerce-using-PHP-and-MySQL/60663919e5e187788429db8e7397a478221d47f4/Project Details/Assignment-3.pdf -------------------------------------------------------------------------------- /Project Details/Conversion.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarun018/E-Commerce-using-PHP-and-MySQL/60663919e5e187788429db8e7397a478221d47f4/Project Details/Conversion.pdf -------------------------------------------------------------------------------- /Project Details/Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarun018/E-Commerce-using-PHP-and-MySQL/60663919e5e187788429db8e7397a478221d47f4/Project Details/Documentation.pdf -------------------------------------------------------------------------------- /Project Details/Mall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarun018/E-Commerce-using-PHP-and-MySQL/60663919e5e187788429db8e7397a478221d47f4/Project Details/Mall.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # E-Commerce-using-PHP-and-MySQL 2 | Three tier application for E-Commerce using PHP and MYSQL 3 | 4 | See Project Details for more details. 5 | 6 | 1. Should have XAMPP installed. 7 | 2. Run Apache and SQL server. 8 | 3. Then visit the browser and enjoy the site. 9 | -------------------------------------------------------------------------------- /cart.php: -------------------------------------------------------------------------------- 1 | 6 | 41 | 52 | 53 | = 100) { $quantity = 99; } 60 | if ($quantity < 1) { $quantity = 1; } 61 | if ($quantity == "") { $quantity = 1; } 62 | $ssql = mysql_query("UPDATE customer_cart SET quantity='$quantity' WHERE productid='$item_to_adjust' AND customerid='$cid' ") or die (mysql_error()); 63 | } 64 | ?> 65 | 66 | 73 | 74 | Your shopping cart is empty"; 83 | } 84 | else { 85 | $i=0; 86 | while ($lists = mysql_fetch_array($sql)) { 87 | $item_id = $lists["productid"]; 88 | $sqls = mysql_query("SELECT * FROM products WHERE id='$item_id' LIMIT 1") or die(mysql_error()); 89 | $list = mysql_fetch_array($sqls); 90 | $product_name = $list["product_name"]; 91 | $price = $list["price"]; 92 | $details = $list["details"]; 93 | $quantity = $lists["quantity"]; 94 | $pricetotal = $price * $quantity; 95 | $cartTotal = $pricetotal + $cartTotal; 96 | $cartOutput .= "
Product | 132 |Product Description | 133 |Unit Price | 134 |Quantity | 135 |Total | 136 |Remove | 137 |
Contact us at:23 |Inorbit Mall, +91-40 4488 0000 28 |email us at - info.cyberabad@inorbit.in 29 |Tarun Gupta, M.B.Sai Krishna, |
36 |
39 | 40 | 41 | 42 |
|
43 |
50 | 51 | |
52 |
53 |
54 |
Help Section23 |Inorbit mall also serves customers online. Instead of physically shopping, customers can register with us and get an account through which they can shop online. All the items we provide are displayed in our website. Customers can select items they want, their quantity which they want and they can choose home delivery option with extra charge for delivery or as their wishlist when they visit us next time. 24 |Each user who has registered is given a virtual cart that displays all the items he has chosen. Few items are offered discounts that are automatically added to items in cart. Net price is displayed at the bottom. 25 |With our user-friendly website one can easily order items. 26 |
|
36 |
39 | 40 | 41 | 42 |
|
43 |
50 | 51 | |
52 |
53 |
54 |
![]() |
19 | ' . $product_name . ' 20 | $' . $price . ' 21 | View Product Details |
22 |
About the Inorbit Mall54 |Inorbit mall is a big shopping mall with over 150 shops and three levels of parking space and moreover
55 | 5,000 employees including shop owners, staff members and mall owners. It has lakhs of satisfied customers. Inorbit Mall, Hyderabad is was designed by architectural firm P.G. patki and Associates and is counted among the better planned malls in the city. |
57 | Latest Designer Fashions58 |
|
62 |
69 | New User? Register Here!!70 |Already a Inorbit Customer? Well come login and shop from our exclusive products. 71 | Login Now 72 | 73 | 74 | 75 | 76 | 77 | 78 | |
79 |
80 |
81 |
Sort By: 72 | 93 | | Filter By: 94 | 208 |
209 | 210 |![]() 47 | View Full Size Image |
48 |
49 |
|
68 |
69 |
70 |
61 |
Manage Inventory 35 | Manage Users
36 | Logout 37 |
177 |
178 |
245 |
246 |
![]() |
4 |
11 |
12 |
13 | Login | Reset Your Password | 14 | 15 | 22 | 23 | 24 |You are logged in as: Logout | Your Cart | Edit profile | 25 | 26 |
Home · Products · Help · Contact | 29 |
63 |