e-Commerce Site using PHP/PDO, PHPMailer, ReCaptcha, and PayPal with Source Code
This is an e-Commerce Site Project with Secure Registration and Online Payment. This project was developed using PHP, PDO, MySQL Database, HTML, CSS, and other plugins. This e-Commerce Site Project has an admin panel where you can manage the Categories, Users, Products, and View the Sales. Talking about the Secure Registration, the user registration form has a reCaptcha Checkbox feature. Aside from reCaptcha, the user must register a valid email because the system will mail to the given email a verification link to verify the user's email for security purposes. As I have said about the admin panel, the Admin user must populate first the products and categories list so that the users can explore and create their transactions. For Online Payment, this system is using Paypal for checkout.
Features
- jQuery Cart Adding and Quantity Adjustment
- Can shop even without logging into the site but can't 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
- Manage Users
- Manage Product Categories
- Manage Product List
Plugins
- AdminLTE
- TCPDF
- PHPMailer
How to Run
Requirements
- Download and Install any local web server such as XAMPP/WAMp.
- Download the provided source code zip file. (download button is located below)
- Valid Email for Mailing Purposes.
- Paypal Account for as a Buyer and Merchant. Create a sandbox account for this to test the online payment feature. Paypal Dashboard for Developers
Installation and Setup
- Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
- Extract the downloaded source code zip file.
- If you using XAMPP, copy the extracted folder and paste it into the XAMPP's "htdocs" directory. And for WAMP, paste it into the "www" directory.
- Import the included .sql file located in db folder which is the database of the system. If you have no idea how to import, please refer to my tutorial on How import .sql file to restore MySQL database.
- After a successful import, open the extracted folder and open conn.php located in the includes folder. Edit the database name in the connection depending on the name of the database you created in importing the included .sql file.
- Open the "register.php" and "reset.php" with your preferred text editor and find the variable just like the image below to configure your email for sending mails.
- Open a web browser and browse the Project. i.e. http://localhost/ecommerce
Users
There are two types of users to the system which are the admin and the buyer.
For the admin account, you can use this credential:
Email: [email protected]
Password: password
For the sample buyer:
Email: [email protected]
Password: nurhodelta
Or you can also create a new account.
Optional Task
- Create ABOUT US and CONTACT US page
- Social Media Links
- Subscribe email
That's it! I hope this project will help you with what you are looking for and for your future PHP projects. If you found any bugs or errors 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
Signup doesn't work
Signup doesn't work
HTTP ERROR 500 ?
Open notepad, find in files…
error plz fix it
Salut, excellent travail…
errordosen't work :/
errordosen't work :/
is there a way to add…
Add a comment... section
Problem with signup
Attention!!
for Google ReCaptcha on…
Add new comment
- Add new comment
- 13994 views