How to display the address list in ShipTo Section

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ • 6

  • @Uncaught_in_promise
    @Uncaught_in_promise Рік тому

    Thank you for valuable tutorials. Checkout has always been overcomplicated for me but I am progressing step by step thanks toy your channel. It's great that you are teaching practical things.

    • @knowthemage
      @knowthemage  Рік тому +1

      Thank you so much for your kind words! Teaching practical things is at the core of what I aim to do, and I appreciate your positive feedback. If you have any specific topics or questions you'd like covered in future tutorials, feel free to let me know. Happy Coding!

  • @Uncaught_in_promise
    @Uncaught_in_promise 11 місяців тому +1

    Some ideas: if we add custom form to checkout steps, a regular validation won't work. I mean not a regular login form ui component, but custom ui component (which is custom step in fact). Validation in phtml and in knockout templates works in different way. I've come across this issue recently. I had to copypaste logic from Magento_Checkout::js/view/form/element/email.js. It would be interesting for example to create a custom step with a custom form and validate fields.
    Also it'd be interesting how to render custom CMS blocks. For example, show custom CMS block only on certain steps (subscribe to stepNavigator?).

    • @knowthemage
      @knowthemage  11 місяців тому +1

      Handling validation for custom forms in a ui component can indeed be tricky. You must introduce the custom validation for that. Instead there can be a separate component for a custom form which could also include the validation. Creating a custom step with a custom form and validating fields is an interesting idea.
      *Next tutorial is coming soon on this topic.*
      There are many ways you can get output from rendered CMS blocks. You can render it in PHTML template and assign it to the global JS config, such as utilizing `window.checkoutConfig` and appending the CMS block output string to it. Alternatively, you can initiate an AJAX request to a controller responsible for rendering the CMS block.

  • @pratikgiramkar4977
    @pratikgiramkar4977 9 місяців тому

    Hey, can you make a video on how to publish a Magento module on marketplace? I have been waiting for it, and I love reading blogs you put, they are also very handy when you need help, please start putting them again, it's been long.

    • @knowthemage
      @knowthemage  9 місяців тому +1

      Hello there! I sincerely appreciate your positive response and I truly appreciate your patience. I will be active soon next week and I'll definitely prioritize creating a video tutorial on the process of publishing a Magento module on the marketplace. Thank you very much.