▶ Watch Django Wednesdays Ecommerce Playlist ✅ Subscribe To My TH-cam 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
is there any way to make the input field a number field and add +- buttons and use javascript to update the value. i tried passing django variables (the element ids) into the javascript and it did not work keep getting null elements.
My quantities in cart_summary is not changing(i think my for loop is not working because i have checked everything before that and everything is same as your code). Can you tell me what can be the issue.
You think the code is the same but it is not. Put it away for a couple days and check it again and your brain will see the thing you did different from my videos.
▶ Watch Django Wednesdays Ecommerce Playlist ✅ Subscribe To My TH-cam 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
Your videos they like gold on TH-cam . Keep going👍
Glad you like them!
Espectacular conjunto de videos, voy video a video construyendo el ecommerce, ojala habria mas videos como estos. gracias dolape
Great work John! off to the next video since I'm 2 weeks behind :)
Glad you're enjoying it!
is there any way to make the input field a number field and add +- buttons and use javascript to update the value. i tried passing django variables (the element ids) into the javascript and it did not work keep getting null elements.
in {% for key, value in quantities.items %}, what exactly does the 'quantities' and 'items' call/refer to?
When I try to add my MySQL database in settings, there is an error. How can I fix that, because you didn't work with MySQL?
You need a video on using MySQL in django...I have one somewhere on the channel
thanks body, I'm waiting for payment part
We'll get there eventually
Hello john, I don't know why django was telling me invalid block tag 'endif', exactly the endif of .. {% if key == product.id|slugify %}
May be you forget %
My quantities in cart_summary is not changing(i think my for loop is not working because i have checked everything before that and everything is same as your code). Can you tell me what can be the issue.
You think the code is the same but it is not. Put it away for a couple days and check it again and your brain will see the thing you did different from my videos.
Quantity
{% for key, value in quantities.items %}
{% if key == product.id|slugify %}
{{ value }}
{% endif %}
{% endfor %}
1
2
3
@@Codemycom before this everything is running smoothly but after applying this in cart_summary all the quantities are showing 1 in the cart.
Hey John, loving the series, would you recommend learning CSS or learning Bootstrap?
I hope you had a good thanks giving btw, i wish we did it in the UK.
I'd recommend bootstrap if it interests you. It's not absolutely necessary...
@@Codemycom Well, I feel bad for stealing everyone's templates 😂 thanks John
💚💚💙💙
🙂
i want to add increment and decrement
Look ahead in the playlist
Hello John, when we try to change the quantity in the cart summary, it doesn't work. why?
Because you typed something wrong in the code. Compare it to the video to discover what.
Should the cart summary require an update function? I'm asking because in the video, you're not changing the quantities.
@@federicocampo557 We update in the next video