Day: March 17, 2022

Admin panel for an e-commerce site-Part3

The part1 and part2 of the admin panel have been shown in the previous tutorials. The ways of editing product, category, subcategory, and checking orders have been shown in this tutorial. Steps: 01. Create edit-category.php file inside the admin folder and add the following content. <?php session_start(); include(‘../includes/config.php’); if(strlen($_SESSION[‘alogin’])==0){ header(‘location:index.php’); } else{ date_default_timezone_set(‘Asia/Dhaka’); $currentTime = […]

Read More

Admin panel for an e-commerce site-Part2

The part1 of the admin panel has been shown in the previous tutorial. The ways of inserting new product, category and subcategory have been shown in this tutorial. Steps: 01. Create insert-product.php file inside the admin folder and add the following content. <?php session_start(); include(‘../includes/config.php’); if(strlen($_SESSION[‘alogin’])==0) { header(‘location:index.php’); } else{ if(isset($_POST[‘submit’])) { $category=$_POST[‘category’]; $subcat=$_POST[‘subcategory’]; $productname=$_POST[‘productName’]; […]

Read More

Admin Panel for an e-commerce site-Part1

Admin panel is the most important part of any website to manage all data of the site from one location. The first part of implementing admin panel for the e-commerce site that was shown in the previous five tutorials has been described in this tutorial step by step. Steps: 01.Download the following zip file for […]

Read More