e-Commerce Site using PHP with PDO

Submitted by: 
Language: 
Visitors have accessed this post 2111 times.

Features

  • jQuery cart adding and quantity adjustment
  • Can shop even without logging into the site but cant checkout
  • Product Search
  • Magnify product image
  • Email verification on signup
  • Google recaptcha on signup
  • Forgot password email
  • Paypal express checkout
  • Printable sales via date range
  • User CRUD
  • Product CRUD

Plugins

  • AdminLTE
  • TCPDF
  • PHPMailer

Installation

1. Download the source code using the Download button below.

2. Extract the downloaded file to your localhost folder ex. htdocs for XAMMP.

3. Import the included .sql file located in db folder which is the database of the system. If you have no idea on how to import, please refer to my tutorial on How import .sql file to restore MySQL database.

4. After a successful import, open the extracted folder and open conn.php located in includes folder. Edit the database name in the connection depending on the name of database you created in importing the included .sql file.

Users

There are two type of users to the system: admin and buyer.

For admin account, you can use this credential:

Email: [email protected]
Password: password

For buyer:

Email: [email protected]
Password: nurhodelta

Optional Task

  • Change the email and password to your own account in register.php
  • Create ABOUT US and CONTACT US page
  • Social Media Links
  • Subscribe email

If you found any bugs or error in the system or if you have any comments or suggestions, feel free to comment below or message me.

Happy Coding :)


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

tnx bro pls help me ur code is nice but i get mailer error
message could not been sent mailer error

Be sure to edit the email credentials. If error persist, send me a screenshot of the error and code to my fb account.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.