Product Quantities - Django Wednesdays ECommerce 16

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 29

  • @Codemycom
    @Codemycom  ปีที่แล้ว +1

    ▶ 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

  • @bugi5733
    @bugi5733 ปีที่แล้ว +5

    Your videos they like gold on TH-cam . Keep going👍

    • @Codemycom
      @Codemycom  ปีที่แล้ว +2

      Glad you like them!

  • @christianburns03
    @christianburns03 7 หลายเดือนก่อน

    Espectacular conjunto de videos, voy video a video construyendo el ecommerce, ojala habria mas videos como estos. gracias dolape

  • @munnkiboy8014
    @munnkiboy8014 2 หลายเดือนก่อน +1

    in {% for key, value in quantities.items %}, what exactly does the 'quantities' and 'items' call/refer to?

  • @namdarcs
    @namdarcs ปีที่แล้ว

    Great work John! off to the next video since I'm 2 weeks behind :)

    • @Codemycom
      @Codemycom  ปีที่แล้ว

      Glad you're enjoying it!

  • @delic8107
    @delic8107 ปีที่แล้ว +1

    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?

    • @Codemycom
      @Codemycom  ปีที่แล้ว +5

      You need a video on using MySQL in django...I have one somewhere on the channel

  • @theshado4304
    @theshado4304 หลายเดือนก่อน

    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.

  • @AlgoSquad_Forum
    @AlgoSquad_Forum 2 หลายเดือนก่อน

    Hello john, I don't know why django was telling me invalid block tag 'endif', exactly the endif of .. {% if key == product.id|slugify %}

    • @sr_studio_426.
      @sr_studio_426. 2 หลายเดือนก่อน

      May be you forget %

  • @ahmatmhtlouky4179
    @ahmatmhtlouky4179 ปีที่แล้ว +1

    thanks body, I'm waiting for payment part

    • @Codemycom
      @Codemycom  ปีที่แล้ว +1

      We'll get there eventually

  • @nishantkhorwal7078
    @nishantkhorwal7078 9 หลายเดือนก่อน

    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.

    • @Codemycom
      @Codemycom  9 หลายเดือนก่อน +3

      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.

    • @nishantkhorwal7078
      @nishantkhorwal7078 9 หลายเดือนก่อน

      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.

  • @federicocampo557
    @federicocampo557 ปีที่แล้ว +1

    Hello John, when we try to change the quantity in the cart summary, it doesn't work. why?

    • @Codemycom
      @Codemycom  ปีที่แล้ว

      Because you typed something wrong in the code. Compare it to the video to discover what.

    • @federicocampo557
      @federicocampo557 ปีที่แล้ว

      Should the cart summary require an update function? I'm asking because in the video, you're not changing the quantities.

    • @Codemycom
      @Codemycom  ปีที่แล้ว +1

      @@federicocampo557 We update in the next video

  • @RobertKinson
    @RobertKinson ปีที่แล้ว

    Hey John, loving the series, would you recommend learning CSS or learning Bootstrap?

    • @RobertKinson
      @RobertKinson ปีที่แล้ว +1

      I hope you had a good thanks giving btw, i wish we did it in the UK.

    • @Codemycom
      @Codemycom  ปีที่แล้ว +1

      I'd recommend bootstrap if it interests you. It's not absolutely necessary...

    • @RobertKinson
      @RobertKinson ปีที่แล้ว +1

      @@Codemycom Well, I feel bad for stealing everyone's templates 😂 thanks John

  • @muhammeduvais1557
    @muhammeduvais1557 11 หลายเดือนก่อน

    i want to add increment and decrement

    • @Codemycom
      @Codemycom  11 หลายเดือนก่อน +1

      Look ahead in the playlist

  • @sma1gdz
    @sma1gdz ปีที่แล้ว +1

    💚💚💙💙