Shopping Cart project in .NET Core MVC | part 13 | Admin's tasks
HTML-код
- Опубликовано: 10 сен 2024
- .net core projects
.net 8 projects
ecommerce in .net core mvc
aspnetcore projects
👉I have noted few requests, so I have added few things to this project.
We are learning to implement some functionality of ecommerce project in .NET core mvc. Making Shopping Cart module is a good asp.net core project for beginners. We were using .NET 7 for this project. Now upgraded to .net 8.
It will be helpful to beginners to understand how to design database in real world applications.
This tutorial will be uploaded in series, make sure to follow the playlist.
▶️▶️full playlist
• Shopping Cart project ...
💻Source code: github.com/rd0...
🌿 branch before to this video : `checkout-feature`
Hit the 👍 if you like the video.
.................
connect with me:
👉 RUclips: / @ravindradevrani
👉 Twitter: / ravi_devrani
👉 GitHub: github.com/rd003
👉 Medium.com: / ravindradevrani
..........................................
Support my work:
You can buy me a coffee 🍵 : www.buymeacoff...
#netcoremvc #dotnetcore #dotnet7 #dotnetproject
thank you, great content
Thank you another great video - I think the only thing that's really missing is some kind of stock tracking modual.
Indeed.
My initial thought for creating project was , to teach tha cart functionality only (manipulate cart, show orders). That is why i have not added any data entry system to it.
I had noted few requests in the past, and i have added them now.
Stock management feature is not a big deal, I don't know how it slept from my mind during the course design.
Rough idea is:
Stock (id, productId, stock)
We have to update this table when we add/update/delete the product (these features are not available in this project)
And during the checkout.
If i add this feature, I have to add, add/update/showall/delete features too.
@@ravindradevrani I’m just thinking as someone who codes, for fun stock type, stock transactions, and reordering should be good learning points. I can do things like that so not pushing for that. It’s just when you added the admin tasks that was the first thoughts in my head 👍
@phillismable6303 Hi Phillis,
I thought about the feature you have mentioned. I think I can add stock tracking.
The Idea is...
There would be a page for displaying stock , table will have these columns (BookName, Stock, Action)
Default stock will be zero. `Action` column will contain a button 'UpdateStock'. On clicking it, a new view for updating stock will open and there we can update the stock.
If stock is 0 then , add to cart button will be disabled and 'Out Of stock' option will be shown.
There will be some checks inside the add to cart method, if quantity is not exceeding.
In this way, I can avoid product entry system for now.
Does this Idea feels right??
I am working on it. Hopefully will make a video, once I finish the prototype and some feature testing.
Please don't forget to update your GITHUB, as some of us are older people and can only concentrate when following through the videos, and not type at the same time.
I have instantly updated the github at that time, when I published the video.
@@ravindradevrani when I checked it said 4 days since last update. I will check again after work thanks x
Project's pull request usually created few days before uploading the video.
Once i finish the editing and upload the video, i merge the mull request with main branch.
Can you make a video about the function of deleting user invoices?
heyy buddy!....can u provide the source code up to here??....
Clone my github repo, use branch "checkout-feature"
Github repo: github.com/rd003/BookShoppingCart-Mvc/
Hi man, thank you for tutorial. This is amazing.
I want to create a similar app for practice, where can I deploy this application?
You can find hosting services in your area. Like digital ocean.
You need hosting service and database to deploy.
Have you done a tutorial or that or do you know of some link to help with this?
Sorry I don't have..
I have a video of publishing to local IIS.
Will it be okay??
Sure, I'd love that.
I have published the web apis in iis here. Steps will be same for mvc app.
ruclips.net/video/kn_KUWOpMdM/видео.html