▶ Watch Django Wednesdays Ecommerce Playlist ✅ Subscribe To My KZbin Channel: bit.ly/3OBQJfN bit.ly/2IGzvOR ▶ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take 50% off with coupon code: youtube50 bit.ly/2VC9WUN ▶ Get The Code bit.ly/47xAhWJ
@CarlosESGomes2 ай бұрын
Hi John! Great serie! One point that I did was create a new function in Cart class (cart_persistence(self)) that has all the code that you copied and pasted. I think that will help future maintenance to keep all the repeated code in one point and call it from db_add, add, delete and update functions.
@TheLummen.10 ай бұрын
I love this videos. Thank you John !
@Codemycom10 ай бұрын
Welcome!
@kamelshaaban52387 ай бұрын
Loving your Django e-commerce series! The way you break down complex concepts into easy-to-follow steps is incredibly helpful. Your videos have been a huge support for my own projects. Keep up the great work! Quick question: how can I allow users to search by category? Thanks for all you do!👍
@Codemycom7 ай бұрын
Glad you’re enjoying them! There some search videos already…you can check the django docs for query’s to pinpoint categories instead of what we did in the videos…you just have to search the categories model etc
@giorgi_mtsituri10 ай бұрын
so far, so good, best series, I learnt so much from that videos , Thanks John, I am stil "Ecommerce 24" , I'll soon catch up🥰
@Codemycom10 ай бұрын
Glad you're enjoying them!
@AvazbekHazratov-t9j10 ай бұрын
This is for video.Thank you John
@Codemycom10 ай бұрын
You are very welcome
@GyaneshPinabakala10 ай бұрын
Hi I have been following your sessions. They are great, but I have a query related to cart app. Hope you can answer my query. Query: What happens when the user has added some items to cart and not logged out of the session in the current device. But now, he logs in from another device where there was no session cookies saved ? A) Are the items inside the cart now lost as this is a new session and as the user did not logout, the DB save is not performed? B) Does the save to DB action is triggered when user performs a new login without logging off in older session? And why don't we save the details directly to DB during the Add Cart button action itself instead of saving them in session cookie?
@Codemycom10 ай бұрын
It's not 'logging out' that saves the cart to the database. When they're logged in, anytime they add something to the cart it gets saved to the database as well as the session, as shown in the video...
@GyaneshPinabakala10 ай бұрын
@@Codemycom Thanks for the clarification. I think I missunderstood the logic. I will go throught it once again. I Appreciate your effort.
@ahmedbenmohamed050610 ай бұрын
goood Sir
@Codemycom10 ай бұрын
thanks
@nasirgaayte269510 ай бұрын
da 1 in da game
@Codemycom10 ай бұрын
Ha thanks!
@sma1gdz10 ай бұрын
💙💙💙💚💚💚
@Codemycom10 ай бұрын
🙂
@Faybmi10 ай бұрын
I WANNA MORE, MORE, MORE!!!!!!!!
@Codemycom10 ай бұрын
Lucky for you I post these videos every week.
@namdarcs10 ай бұрын
Thanks John for the video! I'm having an interesting bug where I can see the old cart values for all users except my "admin" in the dashboard.. IE: If I login as admin and select items in to cart, I dont see any values in old cart for user profile of admin... Just to clarify I do see it for all my other users I sign into and put items in the cart... Not sure where I should be looking to fix this... Let me know Thanks :)
@namdarcs10 ай бұрын
I figured it out... my admin was still in "default" I did not add any other profile options to it like I did the others... now it is updating... This was giving users the option to add details a few videos back... I just never did it to my admin profile... Once I updated the admin profile with user details etc etc it worked... Sorry and Thanks for the video !
@Codemycom10 ай бұрын
glad you got it sorted out@@namdarcs
@slliks410 ай бұрын
Can you convert it straight to fields by using RE to break it down
@Codemycom10 ай бұрын
Don't know what you mean, but sure you can always do anything you want with coding..
@youcefboutiche949610 ай бұрын
Hello, thank you so much for this videos you are a great guy man, i like to looking at you coding, i have a quation for how to manage the checkout. we start by don't adding the e-payment method we suppose to the payement is on delevery can you oriente me or help me to how can i manage this please. Thanks a lot brother