I have included a custom button in checkout page on click of that I should get my phtml file as popup.
I have created a button in my custom module.
\view\frontend\web\template\checkout\custom-checkout-page.html
Please help me in which path I should add my phtml file and how can I add it ?
Should I use any di?
Best Answer
We create our phtml:
We instantiate our custom phtml:
We go to our html file then we create our popup and bind our phtml content
for exmple: we add our popup in
shipping.html
file:Info: make sure that you have well
code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css
in your theme.