Advanced Web Store Using PHP/MySQL

Language

This is an Advanced Web Store of Dadad's Merchandising, a food establishment providing food ingredients. This is designed like the lazada.com as having the shopping cart and an online ordering system. The features of this system are the following: - order product online - add, edit, delete product - shopping cart designed - search product in home tab - send order confirmation via email - manage online order - connected to online bank account for payment method - connected to PayPal for payment method - add delivery charge outside the coverage area - generates various report - add category of products - upload image of the product information - has check out for billing - create user accounts for admin and users - and many more To go to the admin panel, type this in your browser: - http://localhost/Dadads/admin User account for the administrator: - username: admin - password: lyndon Database name: dadadsdb Hope you will like it! :) For more inquiries and need programmer for your thesis systems in any kind of programming languages, just contact my number below. Best Regards, Engr. Lyndon Bermoy IT Instructor/System Developer/Android Developer/Freelance Programmer If you have some queries, feel free to contact the number or e-mail below. Mobile: 09121836390 Landline: 826-9296 E-mail:[email protected] Add and Follow me on Facebook: https://www.facebook.com/donzzsky Visit and like my page on Facebook at: https://www.facebook.com/BermzISware

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byakpkutty (not verified)on Sun, 07/20/2014 - 23:40

this is helpful website more more more!!!! i like to give 100 stars for your great efforts ,Thanks very much
Submitted bysteven1212 (not verified)on Tue, 07/29/2014 - 15:49

how do I checkout the items on cart? like transfering those items on cart to database and add contact info on that order...I saw few codes but still confused...hope you can help me...
Submitted bySeraphinon Fri, 11/14/2014 - 22:39

I just make database then when i log in it appears Table 'dadadsdb.tblaccount' doesn't exist
Submitted byAlice Nj (not verified)on Mon, 12/22/2014 - 05:56

am learning how to create an online shop and your code was great help but how can i change the mysql to mysqli.. thanx
Submitted byspellinxon Fri, 03/13/2015 - 13:08

I hope this code will help me creating my clients project sytem
Submitted byjenxski (not verified)on Wed, 03/02/2016 - 09:30

undefined index is the main prob of this system bat po my mga ganun code how to fix it? help pls
Submitted byvikasroon Sat, 04/16/2016 - 00:02

<strong>For index Page after line 3 just replace if else code with my code </strong>
<code> $displayImages = "";
if (isset($_GET['cat'])){
if($_GET['cat'] == "juice")
$sqlSelProd = mysql_query("select * from tblproduct where prod_cat = '$_GET[cat]'") or die(mysql_error());
else if($_GET['cat'] == "junkfood")
$sqlSelProd = mysql_query("select * from tblproduct where prod_cat = '$_GET[cat]'") or die(mysql_error());
else if($_GET['cat'] == "dessert sprinkler")
$sqlSelProd = mysql_query("select * from tblproduct where prod_cat = '$_GET[cat]'") or die(mysql_error());

}
else{
$sqlSelProd = mysql_query("select * from tblproduct") or die(mysql_error());
}
</code>

This above code will solve your problem after that you get error on <strong>shoppingcart.php</strong> . After line 29 and before next comment line select code and replace with mine.....
<code>if(isset($_POST['btnUpdate']))
{
$x = 0;
//echo $_POST['txtQuan2'];
//echo $_POST['txtHoldProdId0'];
foreach($_SESSION["cart_array"] as $each_product){
$i = 0;
$quantity = $_POST['txtQuan'.$x];
$prodStock = $_POST['txtHoldQuan'.$x];
$prodAdjustId = $_POST['txtHoldProdId'.$x++];
if($quantity<1){ $quantity = 1; }
if($quantity>$prodStock){ $quantity = $prodStock; }
while(list($key,$value)=each($each_product)){
array_splice($_SESSION["cart_array"],$i-1,1,array(array("productID"=>$prodAdjustId,"quantity"=>$quantity)));
}
}

}</code>

<a href="http://www.1tech.in/" title="1TECH.IN">My Website</a> ,
If you getting any trouble regarding this project ask me at : <strong>v.ray96610[at]gmail.com</strong>
VISIT MY G+ <a href="https://plus.google.com/+VIKASROYv" title="VIKAS ROY">HERE</a>

Submitted byEdgars (not verified)on Mon, 04/10/2017 - 04:27

Hello, I tryed to run it on wamp server 3.0.6., but i got lot of mysql errors and I cant to login in admin page. Can someone help me to resolve this problem?
Submitted byDominikkkk (not verified)on Tue, 05/16/2017 - 17:55

Undefined index: btnLogin in C:\xampp\htdocs\Dadads\admin\index.php on line 6 Undefined index: btnaddnew in C:\xampp\htdocs\Dadads\admin\admin_addnew_user.php on line 7 Notice: Undefined index: btnSearch in C:\xampp\htdocs\Dadads\admin\admin_editdelete_user.php on line 8 Notice: Undefined index: btnUpdate in C:\xampp\htdocs\Dadads\admin\admin_editdelete_user.php on line 9 Notice: Undefined index: buttonDelete in C:\xampp\htdocs\Dadads\admin\admin_editdelete_user.php on line 10 Notice: Undefined index: userid in C:\xampp\htdocs\Dadads\admin\admin_editdelete_user.php on line 11 Notice: Undefined index: btnSearch in C:\xampp\htdocs\Dadads\admin\admin_change_userpass.php on line 7 Notice: Undefined index: btnChange in C:\xampp\htdocs\Dadads\admin\admin_change_userpass.php on line 8 Notice: Undefined index: btnSearch in C:\xampp\htdocs\Dadads\admin\admin_search_user.php on line 9 And same with products.
Submitted bykeyna (not verified)on Thu, 08/03/2017 - 17:00

hello.. I have follow your source code and it works great. But your project doesn't have checkout function. I have try others source code and implement with yours as well but it doesn't work. Can you help me with this? I'm new to php.

Add new comment