How to use if / else condition in html template file ?

  • 2
    you have to be more specific than that to get an answer. you can start from here if you want devdocs.magento.com/guides/v2.3/ui_comp_guide/concepts/… and see what case fits you best. but maybe you should explain what you need exactly – Marius Apr 22 at 10:28
  • I need to call a js function "useShippingAddress" which is in "app/code/Code/Checkout/view/frontend/web/js/view/billing-address.js" file , i want to call this function in the same file but on changing the shipping address from existing options or on click a div. – Hamendra Sunthwal Apr 22 at 10:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.