As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [modal-popup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11 votes
4 answers
42k views

Magento2 creating and calling modal widget

I want to create custom modal popup widget and call on my .phtml file. How can I do that? What will be the whole procedure for creating modal and accessing it from the .phtml file?
akshay billore's user avatar
9 votes
1 answer
16k views

How to create popup in magento 2?

Sometimes it is required like to show promotional popup for the first time when customer visits the site. How to create popup based on cookie in magento 2? Like I want to display any CMS static block ...
Kazim Noorani's user avatar
0 votes
0 answers
173 views

Magento 2:Add another new Custom mini-cart?

I want to add new Minicart like shown in the following screenshot, using KnockOut Js, Give me some logic how can I cater to this problem
Muhammad Abdullah's user avatar
9 votes
1 answer
6k views

Magento 2 : Modal Popup using Ajax

How to use model popup using ajax? Can any one help for this. Here below my code. How can i apply in this code model popup? And also post data get in popup. How it possible? app/code/Vendor/Complany/...
Payal Patel's user avatar
  • 1,493
2 votes
0 answers
706 views

Magento 2: Place an Order Checkout button popup box

Merry Christmas everyone. I have a question guys can you please teach me how to add a popup or modal upon clicking the "Place an Order" Button on the checkout page? Just correct me if I'm wrong ...
MazeStricks's user avatar
  • 1,235
2 votes
1 answer
4k views

Magento 2 How to add grid/phtml file on Slide out panel [ popup modal ] in custom grid action?

Here is the link of what I expected to do in my custom module http://admin-actions-log-m2.demo2.amasty.com/_router/redirect/admin-actions-log-m2/index.php/admin/amaudit/actionslog/index/ just open ...
Mohit Rane's user avatar
  • 1,925
1 vote
3 answers
3k views

Magento 2.2 - Uncaught TypeError: this.modal.zIndex is not a function

Am using Venus need theme, on mini cart's delete click and Checkout's Already have an account? Click here to login throws this issue. Uncaught TypeError: this.modal.zIndex is not a function modal....
Ejilarasan J's user avatar
1 vote
1 answer
426 views

Override modal-popup.html file Magrnto 2.3.2

Override vendor/magento/module-ui/view/base/web/templates/modal/modal-popup.html File Into Theme.. How To Override base/ folder file into theme ??? I m Try To Paste this file in to theme/Magento_Ui/...
Ronak Rathod's user avatar
  • 6,058
1 vote
1 answer
3k views

magento 2 popup model need to open only one time on whole webiste after login or subscribe

I created a magento 2 pop-up it is working great. I have included a newsletter form in this pop-up .Problem is that pop-up is repeated after refers button.Problem is this , I want open pop-up only ...
sanjay's user avatar
  • 377
1 vote
0 answers
214 views

How to remove modal.js from all pages in magento 2.2

because of this file modal.js define([ 'jquery', 'underscore', 'mage/template', 'text!ui/template/modal/modal-popup.html', 'text!ui/template/modal/modal-slide.html', 'text!ui/...
sourabh yadav's user avatar
1 vote
1 answer
2k views

How to create Form action on click of a Button under Modal Widget

I have created a modal widget on a category section under Admin. A custom button is created along with Save and when we click on that button, it opens a modal with custom form. Inside that form, ...
hardik malkani's user avatar
1 vote
1 answer
857 views

How to customize validate-product.js, so it will return message in popup?

If a customer forgets to choose the product option of the configurable product on the product listing page and click "add to cart" it is redirecting you to the product view page with the message: "You ...
Sagar Parikh's user avatar
0 votes
1 answer
602 views

Magento 2, how to add 'textbox' into 'cancel modal'?

Using magento 2.2, admin. I need to add textbox into dialog when confirm Cancel status in sale order.
Bong Channarith's user avatar