Questions tagged [modal-popup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
3k views

Sending variable to a bootstrap modal

I have seen this asked before but a lot of the answers I found where people looking to get a variable into a modal to query a database. However thats not what I want. I just want to send a variable ...
1
vote
0answers
35 views

Magento 2 Show selected Bundel Product Option into Popup

I have create one custom Module. I need to get bundle product html into popup like give below. I have product id. How to achive this ?
0
votes
2answers
1k views

how to create a form popup-modal in magento2.3

here I want to create a modal pop up when the button was a click, by using block file how can I pass the modal link through this below code... public function getMainButtonsHtml() { $html = ...
0
votes
1answer
760 views

How to pass a value to modal while opening

Is it possible to pass a value while opening a modal(js component of magento)? If the answer is yes, then how can i do it?
0
votes
2answers
39 views

Multiple Modal Popups on same page

I have a 2 links on the product page which both need the modal popup component attaching to them, I have 1 working fine but If I try to add the same script for the 2nd one they both stop working This ...
1
vote
1answer
802 views

Magento 2 pop-up authentication not showing

I'm using Magento 2.1.8, and I disable Magento guest checkout like this: after saving the configuration, I cleared Magento cache. The problem occur when I tried to click the checkout button at ...
0
votes
0answers
18 views

Add link and to backend modal and pass values to controller

I have a PrintButton on the backend which links me to a controller. This button should open a modal with a radioset of buttons and pass this to the controller. The xml of the backend page: <...
0
votes
1answer
934 views

Magento 2 - Load knockout content in modal popup

I want to load knockout content in modal popup on the cart page. And to be able to bind button/click events.
0
votes
0answers
29 views

add to cart button on modal magento 2

I put add to cart button(default code on addtocart.phtml) on madal in product page ,but I have no idea how to make it work, please help
0
votes
0answers
15 views

Magento 2 - Change format of authentication-popup.html

I overridden authentication popup of Magento 2 in my custom theme. I discovered that the file that is called for the popup is with the extension .html (authentication-popup.html). This way I can't add ...
0
votes
0answers
11 views

Can the modal widget appear once per session?

I'm working on a modal triggered upon page load which I would like to appear once per session. Is this possible? Here is the test page https://www.dealerboots.co.uk/test <div id="custom-popup-...
0
votes
0answers
12 views

Add a popup and redirect button on an admin form

I have an admin ui_form used to edit some entity and I want to have a button that makes it so that when I click on it, displays a confirmation popup, then redirect to some function, with the ...
0
votes
0answers
43 views

Magento 2 -How do i show popup on click on add to cart button on PDP?

I want users to accept some terms and conditions for every product before adding to cart. That's why I want to add popup of terms and condition, this popup will open when user click add to cart or buy ...
1
vote
1answer
36 views

How to Show product review form in popup Magento2

I searched a lot to find solution for this problem and seems that many of them are searching for a solution. Finally I did it with a simple workaround it will be helpful to someone.I don't know ...
0
votes
0answers
46 views

Magento 2: How to open modal poup on add to wishlist button

I want to open custom designed modal popup when guest user click on add to wishlist button. (Only for guest) How to achieve this ?
0
votes
1answer
73 views

Youtube video still playing after modal is closed--and I've tried every fix known to man with no luck!

I'm having an issue with Youtube continuing to play after closing a modal. I know this is not a unique problem and I have done exhaustive research to find answers. Unfortunately nothing has worked. I ...
0
votes
0answers
27 views

Authentication popup issue only on home page

I bought a theme but the support period has expired and they no longer respond to my emails. The authentication popup did not work on the proceed to checkout button (mini-cart & cart). I found ...
0
votes
1answer
26 views

How to show custom popup when customer click sign out button(want to show this popup for the customer once in a day) in magento 2

I have displayed a custom message in a popup for the logged out customer in Magento 2. For example what I have done so far. Once they click the "sign out" button, I have shown the popup to them. But ...
0
votes
0answers
24 views

How i can check which button is triggered to Open Modal

I Have a Modal Which can be open by two button modal_button_a and modal_button_b how can I check which button is clicked to open the modal using jquery <modal name="test_modal"> <...
0
votes
0answers
65 views

Adding a Product Grid in Dynamic Rows

I want to add a product grid in Dynamic Rows using Modal what I have done so far is I have added this button using Adding Modal in Ui Component add added a Product Grid in Modal But I am not ...
0
votes
0answers
29 views

Magento 2: Display product with custom option and swatch in custom.phtml file

I want to load some products by Ids and list out on a custom controller with custom option and swatch. And also, I want to add all those products to the cart by clicking on add to cart button with ...
0
votes
0answers
43 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
0
votes
1answer
35 views

Add products to cart from modal popup

I am showing accessory products on popup and it appears just after adding actual product in cart.
1
vote
2answers
118 views

Magento 2.3.3 create popup

How to create a popup? I want to create a popup for every page unless the customer clicked close. I want to show a popup with the cms block content. I am not sure what to do or how to start I have ...
0
votes
1answer
679 views

Magento2 - How to clear data from jQuery modal popup after closing modal?

Here am using jQuery popup in my .phtml file on the first run it sending data properly, on send time it fetching old data as-swell as new data. So how to prevent this condition. Code: <div ...
3
votes
3answers
7k views

How to remove header or footer from modal popup in magento 2?

I have created popup on href click and on click popup is opening fine. But I want to remove Continue button from modal-footer which is just used to close the popup. Want to remove it. Any idea? modal-...
8
votes
1answer
9k 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 ...
1
vote
1answer
235 views

Multiple modal popup elements, can't set z-index

I have two modals that can be opened on the page. But they both have the same z-index, so I try to set a higher z-index for one of them: <script type="text/javascript"> require(['jquery', ...
7
votes
1answer
3k 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/...
0
votes
0answers
10 views

Magento 2.2.3 : Login & registration on POP?

How to show login & register box in POP without using any plugin. Is there any JQuery Library available in Magento for Modal Pop up. ? If Yes, then what is the proper step to use it in the ...
0
votes
1answer
2k views
3
votes
1answer
440 views

Checkout errors inside modal?

UPDATE June 7, 2019: Thank you to @crashtestxxx With their help, here is the full code I am using and it works well on Desktop and Mobile - file located at app/design/frontend/YOUR/TEMPLATE/...
1
vote
1answer
28 views

How to setup a modal popup login form when click on login rather rendiring into a login page

I am new to magento2. I want a pop login form modal when I click on the login button. please help in achieving it.
0
votes
0answers
33 views

Magento 2 : A custom popup after order success

I need to create a custom popup on the order success page. Which will ask the user for rating the checkout process with smiley? Any idea? Please help.
5
votes
4answers
21k 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?
2
votes
1answer
1k 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 ...
0
votes
0answers
19 views

How to add popup left to right direction in magento 2.3.3?

I need to add popup left to right direction in magento 2.3.3. Can someone help me to achieve this solution? Thanks in advance
0
votes
2answers
1k views

How to remain modal popup open by clicking outside the modal-content in Magento 2.6

When I tried to click outside of the modal area modal getting closed how to prevent that and modal should not be closed when the user clicks outside of modal. define([ "jquery", "...
0
votes
0answers
50 views

How to call custom grid in modal window?

I am creating functionality where admin can set product's price specifically for a customer, I created custom tab in the product edit page, where if someone click on add specific customer modal ...
0
votes
1answer
260 views

Magento 2:Modal window not working in Product edit page

I am trying to create custom tab and have a button which on click its trigger modal window, I tried to create by following this method:https://www.mageworx.com/blog/2016/08/how-to-create-a-modal-...
1
vote
1answer
308 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, ...
2
votes
1answer
611 views

How to Create a Sliding Modal Popup on Custom Button in Magento2 admin

How can we create a modal popup on a custom button like it does when we click on the "Add Attribute" button when editing the product in the backend. I want to create a similar feature on a custom ...
1
vote
0answers
192 views

Magento2: Add modal popup to admin grid column using block approcah

There is an admin grid created in block method. Now I want to add a new column with a button or link that will open a popup when clicked. So instead of having the edit/view link that redirects to ...
0
votes
0answers
356 views

Magento 2: How to Pass popup modal form data to the custom controller?

I want to redirect to the custom controller on the Continue button in the popup modal form. Vendor/Module/etc/frontend/routes.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3....
0
votes
0answers
100 views

Call function with binds afterRender template minicart.phtml Magento 2.3.3

I want to create the minicart in a modal with data-bind tag : minicart.phtml <?php if ($block->getIsNeedToDisplaySideBar()) :?> <div id="minicart-content-wrapper" data-bind="scope: ...
1
vote
0answers
43 views

Override Minicart to show in modal Magento v2.3.3

When i click on the 'action showcart' of the minicart it is displayed in a 'dropdownDialog' just above. This is normal operation Now I want to display the whole minicart in a modal which is displayed ...
1
vote
1answer
133 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 ...
0
votes
0answers
8 views

How to show modal popup after click “go to checkout” on cartpage

How can i call modal popup after click "go to checkout" on cart page after on modal click go to checkout page. Is this possible to do? If so whats the best efficient way of doing it?
1
vote
0answers
27 views

Magento 2: Modal video in product list

In the product list, I want to check if product video exists show button video like this: and when I click on the button video will be played like modal. Any way to solve it? Thank in ...
3
votes
1answer
1k views

Uncaught TypeError: Cannot read property 'nodeName' of undefined in custom js admin panel

I loaded custom js in head section of grid ui component in order to open a model dialog box when i click a button. require([ "jquery", 'Magento_Ui/js/modal/modal' ], function($, modal){ var options =...