Magento 2 customize one-step checkout

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

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

  • @dheeraj-arg
    @dheeraj-arg 5 ปีที่แล้ว +1

    Hello Max is there complete video for city dropdown values extension?

    • @MaxPronko
      @MaxPronko  5 ปีที่แล้ว

      Hi, I don’t remember I have such video

    • @dheeraj-arg
      @dheeraj-arg 5 ปีที่แล้ว

      @@MaxPronko Your video having nice explanation, i will wait to see more videos on this.

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

    What is the purpose of di.xml in this case?

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

      Preferences for interfaces, virtual types configuration, plugins, construct methods setup

  • @olivierognn
    @olivierognn 3 ปีที่แล้ว

    How can he generate the .xml file only by typing "shi" at minute 1:06 on PhpStorm?

    • @MaxPronko
      @MaxPronko  3 ปีที่แล้ว

      I think it is a LiveTemplate configured within the PHPStorm

  • @bijalbhavsar9267
    @bijalbhavsar9267 5 ปีที่แล้ว

    I wonder is this working with Magento 2.3.1 - It is not reflecting the changes in shipping address form :(

  • @gajjalasandeep1973
    @gajjalasandeep1973 7 ปีที่แล้ว

    how to move "my billing and shipping address same" checkbox under the shipping address form?? without using any extension.

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

    great video as always! unrelated question, what do you think about magicento for M2?

    • @MaxPronko
      @MaxPronko  7 ปีที่แล้ว

      Fabrizio Balliano thanks. I am not sure I understand the question.

    • @FabrizioBalliano
      @FabrizioBalliano 7 ปีที่แล้ว

      it seems you don't use magicento so I was wondering if you evaluated it or not :)

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

      I see what are you asking about)) I do not use magicento :).

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

    Contenu de qualité.

  • @DesmondLaiUxpert
    @DesmondLaiUxpert 7 ปีที่แล้ว

    I'm new to magento 2. Sorry I just got lost at the very beginning. I really don't understand why the CheckOutFields folder suddenly created with every basic files and sub-folders required. Should I create these files myself or there's actually a git repo to clone from?

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

      Desmond Lai thank you for the feedback. I used the Magento 2 skeleton module I’ve created in my previous video, you may want to check it to get a full picture on how to create a module.

    • @DesmondLaiUxpert
      @DesmondLaiUxpert 7 ปีที่แล้ว

      I see, thanks

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

    Some tips from me.
    You can use \Magento\Framework\Stdlib\ArrayManager instead of manual access to js layout fields.
    Would be better to describe two used methods for changing components definition and differences between them (arguments in layout vs layout processor).

    • @MaxPronko
      @MaxPronko  7 ปีที่แล้ว

      Thank you, Max, for the tip to use ArrayManager, very interesting class. I will try to use it going forward.

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

    Great video ! KEEP GOING

  • @ДмитрийЛизунов-п6ж
    @ДмитрийЛизунов-п6ж 6 ปีที่แล้ว

    Hello, i've got a question about m2 checkout.
    I need to show different fields in checkout depending on some choices.
    For example when user chooses value1 in my custom dropdown i need to ask him for name and country
    If he chooses value2, i don't need to ask for a name so i would like to hide this field.
    How do i make it so validation won't fail and everything would work?
    P.S. i put a knockout event on my custom dropdown so it will do somthing when you change your value. I think i should use this method but i can't get how to hide/show fields dynamically in checkout

    • @MaxPronko
      @MaxPronko  6 ปีที่แล้ว

      Check the email/password implementation as an example of a dependent field and hide/show mechanism

    • @ДмитрийЛизунов-п6ж
      @ДмитрийЛизунов-п6ж 6 ปีที่แล้ว

      thanks.
      may i ask few another questions?
      i was reading this article
      devdocs.magento.com/guides/v2.2/howdoi/checkout/checkout_custom_checkbox.html
      and there's a row of code:
      $street['tracks']['label'] = true;
      i was kind of surprised about this 'tracks' option.
      1) Does it mean that there can be such node in xml config?
      2) Was exactly does it do? I mean yeah it makes field trackable but what exactly does it mean?
      3) I couldn't find an article on this topic. Is there any detailed info about this?

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

      Дмитрий Лизунов Hi, thank you for your questions. Let me answer them one by one:
      1. Yes, any argument name in xml is possible, later it can be accessed via PHP and JavaScript
      2. It uses ko.observable feature to track label and update in a template immediately
      3. Will be happy to share once it come across my eyes

    • @ДмитрийЛизунов-п6ж
      @ДмитрийЛизунов-п6ж 6 ปีที่แล้ว

      I tried to find 'tracks' node in xml through the whole project and i couldn't find any.
      I wanted to find some example of usage. Why magento is not using the feature?

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

    Where is one step checkout? 😅

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

      Let me know if you find 😂

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

      @@MaxPronko This is wrong

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

      @@zargamhusayn7206 how do you know?

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

      @@MaxPronko If I am not wrong then one step checkout means order should be placed in only one step but in this there are 2 steps first is shipping and 2nd is review & payment