Skip to content
Mubassir Hasan edited this page Oct 26, 2018 · 1 revision

Welcome to the EcommerceMvc wiki!

For running this project you need to do some work.

  1. First thing first. Go to appsettings.json then change server name if you want to as Visual Studio Local DB Then leave it as it is.
  2. Go to Package Manager Console> run command update-database
  3. Now you can run this application.
  4. For adding 'Admin' go to StartUp.cs and uncomment the line IdentityDbInitializer.SeedData(userManager,roleManager); after that admin account will created. -> if you want to modify admin info goto /Ecommerce_MVC_Core/Code/IdentityDbInitializer.cs
  5. After Running the application now you can login as a Admin and access admin panel for login info username: admin password: 12345678

# If You want to see Default layout logout to admin account


For adding New Product

  • Add Brand.
  • Add Unit
  • Add Category and then finally add Product

You must select top 3 category Garments Electronics Medicine

or if you want to add your custom product change to category name in HomeController Index method. **Note: Add products named in up categories **

For adding shipping charge

Go to Refference tab

  • Add Country first
  • City
  • Loacation

Setup Payment method in Orders tab