Simple Ecommerce Website Php Code

Posted on  by 

E-Commerce Website in PHP, Mysql Source Code Posted May 25, 2020 May 25, 2020 Ehsan Mughul E-commerce site project is developed using PHP, CSS, Bootstrap, and JavaScript.Talking about the project, it has all the required essential features. On Demand E-commerce Skills Inside. After creating a very successful PHP for beginners course, I'm back with another Amazing course that will take your basic PHP skills to another level. This course comes packed with new tricks and code format that would take your basic PHP skills to different heights.

Building a PHP shopping cart eCommerce software is simple and easy. In this tutorial, let’s create a simple PHP shopping cart software with MySQL. The intention of this shopping cart software is that it should be simple and as minimal as possible. This project PHP free Online E-commerce Solutions system with source code PHP Free Online E-commerce Solutions System has been developed in PHP, MySQL, Bootstrap, and JavaScript. We will expand a simple PHP free project for college and university who want to use the PHP Free online feedback System to research and learn. The Tree Hills — built for designers, this site template has a refreshing color scheme and a professional yet creative feel. Web 2.0 — check this one out if you are looking for a simple static website for business. Nothing fancy or new to see here, but it is a solid template.

E-commerce site project is developed using PHP, CSS, Bootstrap, and JavaScript.Talking about the project, it has all the required essential features. This project has a user side where he/she can view product category and add products to cart and proceed for checkout whereas from administration side he/she can view sales, number of product, users,daily sales report, add product and categories. The user can also leave comments on each product if he/she wants.

  • Admin has full control of the system, he/she can view daily/monthly sales report for each year, manage all existing users, add, view, edit, delete products and categories.
  • Monthly sales report is represented in the form of Bar Graphs. While adding products, the admin has to provide Product’s name, select category, price, upload product’s photo and write a description. Adding a product category is simple, the admin just has to provide Category name.
  • Just like the other popular e-commerce, here while looking a product’s image the images magnifies whenever mouse cursor is dragged onto it. The system redirects to Paypal for checkout.
  • A responsive dashboard is provided in the admin panel for the easy management of the site.

All the important features that are required for an eCommerce site is set for this project. Design of this project is pretty simple and responsive so that user won’t find it difficult to understand, use and navigate.


  1. Admin Panel
  2. Login/Sign Up
  3. Magnify product image
  4. Product Cart
  5. Google ReCaptcha
  6. Checkout using Paypal
  7. Add, Edit, Remove and View Products
  8. User Management
  9. View daily/monthly sales
How To Run??

After Starting Apache and MySQL in XAMPP, follow the following steps

1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/

Now Connecting Database

4th Step: Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: Then, click on databases tab
6th Step: Create database naming “ecomm” and then click on import tab
7th Step: Click on browse file and select “ecomm.sql” file which is inside “database” folder
8th Step: Click on go.


After Creating Database,

9th Step: Open a browser and go to URL “http://localhost/ecommerce/”
For Admin Panel
Final Step: Login from the User’s login side. Just provide the Admin’s login detail, it will redirect you to Admin panel.
Note: Don’t go to URL “http://localhost/ecommerce/admin” for Admin Panel. Just provide Admin’s login detail in User’s login side.
Provide the username and password which is provided inside the “Readme.txt” file.

Simple Ecommerce Website Templates

Zip File Password :

If you’re a web developer or programmer that wants to create a professional looking and fully functional website, then you must already know about PHP. PHP is a great option if you want to have full control over the way your website looks and works just by changing some code lines.

PHP is one of the strongest web design languages and the 25 PHP website templates above will show you how easy and effective it is!

This list covers lots of themes and niches and we’re sure you’re gonna find the perfect template for you and your ideas! Most of these website templates come with fully functional contact forms and lots of other awesome features that you can discover down below:

Cute & Sweet – 3 Color – HTML & PHP Shopping Cart

This is a very cute layout created especially for any craft, wedding, scrapbooking or shop website. This theme has nice retro shapes, ribbons and patterns. The pack includes the standard HTML version, but also a PHP version with a fully working PHP shopping cart. You can choose from the 3 pleasant colors available and the file contains 3 main Photoshop files for each one of them. This template is a great option if you want to rapidly implement a shopping cart into your website.

Shop Star – 2 Color Template inc PHP Shopping Cart

Shop Star is a nice PHP template that comes in 2 color variations that you can choose from. It was created to be used for various kinds of online shops that require a working shopping cart. Some other features include a search bar, special homepage box, animated banner and more! This theme works great in both color schemes – pink/white and white/silver.

GooTA- Personal Portfolio HTML Template + PHP Full Functional Application

GooTA is a creative template created especially for blogs and portfolios. It was designed using the latest version of Bootstrap so it’s fully responsive and mobile-friendly. We recommend it to anyone that wants to create an awesome HTML resume or personal portfolio. Last but not least, this template is very easy to use and customize.

Ethereal – Under Construction XHTML/CSS

If you’re looking to create a clean, modern-looking ‘Under Construction’ website, then this is the perfect template for you. It comes in five color variations that you can choose from: blue, dark, neutral, purple and red. The PSD files are very easy to use and the template also comes with a fully responsive AJAX/PHP form. Of course, Ethereal doesn’t lack a jQuery countdown!

Free ecommerce websites

Mozzarella PHP & HTML Cafe Bar Template

Mozzarella is a premium template with an admin panel and various other functionalities. It is designed especially for Cafe, Bars, and Restaurants. The homepage design is very clean and it lets users click the desired tabs in order to reveal the information they’re looking for.

Stellar One Page Multipurpose HTML Template

Stellar is a powerful template with a one-page layout that makes great use of the white and dark space in order to create a wonderful scrolling experience for your visitors. Stellar is compatible with a wide variation of devices and browsers and it can be used for countless purposes. It also comes with 3 unique homepage layouts.

Vagenta 2 in 1 – Clean and Unique HTML Template

Vagenta is a very clean and modern HTML template created with eye-catching portfolios in mind. We recommend it for any person or business that needs to showcase their work and create a nice portfolio to attract future clients. Vagenta comes with 2 color options and a fully working PHP contact form so that the visitors can easily reach you.

Stonecold – Flat & Minimalist Portfolio Template

Stonecold is a minimalist template created for any kinds of portfolios. It is very content-focused and it comes with a subtle hover effect that will impress your visitors for sure. It also lets you filter the items in your portfolio for easier searches. Another great feature is the AJAX and PHP contact form that will automatically send you e-mails so you will know about everybody who wants to contact you. Stonecold comes with 7 HTML files and one PHP file.

Flying – Interactive Template Portfolio

Simple Ecommerce Website Php With Source Code

Flying is a fully responsive portfolio template. We recommend for tons of purposes including creative agencies, photographers, restaurants or any other person or company that wants to share some awesome images with their potential clients. This template is Retina-ready and was built using HTML5 and CSS3. It also comes with Font Awesome integration.

Brooklyn – Creative Portfolio Page HTML

DISPLAY is another great example of an HTML template that works well for personal or commercial portfolios. Brooklyn comes with 10 complete demos and 10 pre-designed layouts. It is responsive and can be used by creative agency, website developer or photographer to display their creative skills.

Selene – Responsive Coming Soon Template

Selene is a fully responsive HTML template with a sharp design that was created for anyone that’s looking to create a ‘Under Construction’ or ‘Coming Soon’ website for their app or project. It has a nice countdown timer, social icons, contact fields, Ajax subscription form and more! Selene lets you create a unique website and you can choose from the 3 available options: image background, image slider background and Youtube video background.

Labostica – Laboratory & Science Research HTML Template

This template is specially created for Medical research, Bio research and Pharmaceutical research. It provides 3+ homepage and header designs with unlimited colors, style and layout options. It is also 100% responsive.

Temptation – a Single Page Template

Temptation is a great single-page template for portfolio websites. It has a very modern look and feel with bold typography. We recommend it for any kind of personal or commercial portfolio. This template focuses on your content and it comes with 10 color scheme choices that you can choose from in order to find the one that’s perfect for you. Some other features include 30 box icons, 20 social icons, integrated Google Maps and more!


Tranzparency is a powerful HTML template based on a transparent design. It has a very simple but eye-catching layout that comes with 7 awesome styles. We recommend it for portfolios, personal or business websites or even various blogs! Tranzparency looks and works great on most browsers and devices and it also comes with good documentation if you ever get stuck along the way.

LEVELUP – Responsive Creative Multipurpose WordPress Theme

LEVELUP is a great responsive website template that can be used for countless purposes and features. It’s super versatile and it works perfectly for any business. It provides 60 pre-built templates and pages.

Outreach – Charity HTML Template

Outreach is one of the best HTML templates out there. It was created especially for non-profit and charity organizations and it lets you easily collect email from your visitors in order to create a powerful contact list. Outreach is also fully responsive and Retina-ready and it looks great on countless devices and browsers. You can also choose from 2 styles (boxed and full-width), 6 main colors and 6 background patterns.

Peekaboo – Children Theme HTML Template

Free ecommerce websites

Peekaboo is children-themed HTML /CSS template. It was created to perfectly suit any preschool, daycare or school website. Peekaboo lets you choose from 5 styles and 3 awesome backgrounds in order to create the perfect website for you and your project. It also comes with a fully working contact form with validation, a fully compatible Twitter feed and Superfish menu.

Avior – Responsive Portfolio Template

Avior is a very simple but effective HTML template. It was built with Bootstrap 3 so you can rest assured that your website will be fully responsive and it will look great on all kinds of devices and screen sizes. This is the perfect template for any web or graphic designer, photographer or any other kind of freelancer or creative person. It also comes with Font Awesome Icons and Isotope Plugin.

Campaign – Political HTML Template

If you’re looking to create a stunning website for your political race, then Campaign is the answer for you. It’s the perfect choice if you want to create a platform where you can easily and rapidly collect emails in order to create a database that will help you. This template also comes with a donation button in the header if you want to reach your visitors even more. Campaign has 9 page templates, 4 color schemes, 6 background options and more!

Caffe – Restaurant / Cafe HTML5 Template

Caffe is the perfect template for any restaurant, cafe or food-related website. It works great for any catering company, hospitality venue, all kinds of restaurants, fast foods and more! This template comes with a fully working contact form, gallery options, video background, eCommerce pages so you can easily sell your products and 9 different pages that you can easily customize. Caffe is also fully responsive and Retina-ready.

Free Ecommerce Websites

Roberto – Personal Portfolio Template

Roberto is a beautiful responsive template that can be used by any business or creative person that wants to establish a strong online presence by showcasing a stunning portfolio. Roberto works well on different devices and screen sizes. The pack comes with 3 demos that can be easily formatted and customized in order to achieve the perfect result.

Broadside – Premium Site Template

Broadside is a very easy to use website template that can be used for many purposes. This template lets you choose from unlimited color schemes and 2 already created demos so you easily start customizing your website. It also lets you create awesome portfolios and add your most important information. Broadside makes it possible for your visitors to reach you using the fully compatible PHP Contact Form.

Launch – Coming Soon/Under Construction

Ecommerce Web Design

Launch is a website template that’s perfect for anyone that wants to create an effective ‘Coming Soon’ or ‘Under Construction’ website. You can use this template to make sure your visitors will know about your soon-to-launch website and you can also gather a contact database by using the fully working AJAX contact form. ‘Launch’ lets you choose from 3 different color variations!

New Chapter Site Template (5 Themes)

New Chapter is a fully responsive website template created especially to suit corporate and creative businesses. When you download this template you’ll get 15 HTML and 2 PHP files (contact and newsletter form) that you can customize and change as much as you want in order to achieve the perfect result. ‘New Chapter’ also comes with 3 drop-down menu designs, a PHP contact and newsletter form and filterable pages. You can also choose to use the infinite carousel module for your website if you want to impress your visitors! This template also comes with complex documentation if you need some help in the process of installing and customizing your website.

Adora – Premium Business & Portfolio Template

Simple Ecommerce Website Php Codes

Adora is another great example of a portfolio template that’s both simple and eye-catching. You can add 3 different slider styles and you can also choose the perfect size for your logo. To make things even more fun, Adora lets you pick from unlimited background colors and some heading colors so you can create the perfect website for you and your business. It was created using a grid-based layout that makes it super easy for you to change and move the elements around and this also makes the template fully responsive on lots of devices and screen sizes.

Free Ecommerce Website Builders

You may also like:

Coments are closed