Questions tagged [modal-popup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
31 views

Magento2: How to trigger a popup when click on My Account header link?

I want to show a popup when click on My Account header link. As I could not find any phtml file for My Account. Please anybody help me on this. Any help would be appreciated.
0
votes
0answers
11 views

M2 Modal Widget - How to stop video playing after close or click off modal

I have searched for the answer and tried to implement the solutions, and they were not working for me. Everything works fine except the video sound continues to play after closing or clicking off the ...
0
votes
1answer
28 views

Magento 2 cdn issue for modal popup - KeyCdn

We uses KeyCdn to use cdn feature for magento 2. We use push zone for one of our website for testing. KeyCdn working fine except modal popup CORS issue. We are facing below error. Access to ...
0
votes
0answers
8 views

How to close product image popup? When I click outside of popup content in magento 2

How to close product image popup? When I click outside of popup content in magento 2
0
votes
0answers
88 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
8 views

how to create Modal window in backend

I want to create Modal Window just like the advanced pricing in back-end product edit page how to do so? Thanks
0
votes
0answers
17 views

How to create modal popup to confirm on add to cart on view page in magento 1.9

I need to display a pop-up with custom fields and validations. After the data validation successful then product goes to cart if not stays in the same product details page.
0
votes
1answer
27 views

M2 Modal Widget - Variable for Link, Title, and Content

I want to have links that activate a modal window with dynamic content and title. I would assume there is a way to do this with variables. I can do it now as a separate script for each modal, but is ...
0
votes
1answer
24 views

Get info from pop-up form into email template

I want to get values from this form fields and put into email template. What I was suppose to do? For every field I need to create custom variable, and bind it on field? Documentation is not too ...
0
votes
1answer
115 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....
2
votes
1answer
59 views

Overriding function from the modal.js file

How can I override a function from the modal.js file in the path vendor/magento/module-ui/view/base/web/js/modal/modal.js ? In this file, line 307, is a function with name closeModal() that I want to ...
1
vote
0answers
13 views

Open Model containing Ui Listing

I have Two tables table1 has id and other fields and table2 which has id, foreign key of table1 and other fields. I have create a ui listing for table1 and added a button to go in table2 ui listing. ...
1
vote
1answer
68 views

Magento 2 - How to show configurable product options in a popup

I would like to show the configurable product options in a popup in the mobile version of my store
0
votes
0answers
46 views

Magento 2 - Load knockout content in modal popup

I want to load knockout content in modal popup on the cart page.
3
votes
1answer
47 views

How to display template file in popup model in Magento2?

I want to show phtml file inside popup on click of a button but it shows by default open how to resolve it anyone has an idea ?? I want to open when I click on button <div> <a href="#" ...
3
votes
1answer
107 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
216 views

Magento 2: Uncaught Error: cannot call methods on modal prior to initialization; attempted to call method 'show' when calling bootstrap modal

I am getting error when I am calling modal like this setTimeout(function() { $('#site-pop-up').modal('show'); }, 2000); Error in console: Uncaught Error: cannot call methods on modal prior to ...
0
votes
0answers
45 views

How to create Modal in adminhtml Grid. Magento2

I want to make PoP-Up Modal in adminhtml in like the core I also write the address of the this pop-up in the image while in the other image when I click on the Check Offer button as shown in the ...
1
vote
0answers
980 views

magento 2 Uncaught TypeError: Cannot read property 'version' of undefined

I got below error randomly in front-end and when all modal popup not working when below error occurs. Uncaught TypeError: Cannot read property 'version' of undefined I have override admin product-...
0
votes
0answers
71 views

magento 2 admin product image detail custom textfield value gone after dialog close

I override app\code\Magento\ProductVideo\view\adminhtml\templates\helper\gallery.phtml file following below steps. 1) Create module name app\code\Hs\Mageenhancement. 2) Create event.xml file under ...
1
vote
0answers
45 views

Custom Button popup modal not open

I need Quick Order button at product page like this website Example Website I have created button at my website using attribute and the following code app/design/frontend/Smartwave/theme/...
1
vote
0answers
39 views

Dropdown dialog position not working

I have integrated google's dialogflow in my store. Dialogflow provides iframe. I created a dropdowndialog magento ui widget. My footer phtml contains the following code. Now the issue is with the ...
0
votes
0answers
85 views

How to open a popup after a page loaded only once for a customer in magento 2

I wish to open a popup after a page loaded in magento 2. The popup should show only once to a customer in a day. I have opened a popup on page load, But How do i avoid the popup,if it already seen by ...
2
votes
2answers
181 views

How to remove modal.js and its related files

I need to remove modal.js and it's related files all over the website. It is available in vendor directory and I need to remove it from DOM. I found similar question, but no one answered it: How to ...
0
votes
0answers
65 views

Magento 2 First Load Data When Modal Opens?

I have made a function to display all customers on a modal popup. This is working fine. The problem is it loads customers even the link to the modal popup is not clicked. Which means this feature is ...
0
votes
0answers
22 views

Magento 2.1.0 checkout modals only show once in bespoke theme

I am creating a bespoke theme (not based on any existing theme, or parented on an existing theme) and for some reason the 'New Address' modal only shows up once on the checkout page. The first time ...
0
votes
0answers
51 views

Show Model PoPuP after executing massAction in Magento 2?

I have a custom massAction after executing the function I need to show the model popup. In my case, I am sending the multiple requests to web service and storing the array of messages if I use below ...
0
votes
1answer
359 views

in Magento 2 how to Open Modal popup with dynamic value for dynamic click button?

When I click on item "edit link" modal popup is open but when i edit other product it will show previous product data. Can anyone help to get dynamic popup with dynamic data in per different products?...
0
votes
2answers
119 views

Validtaion is not triggers in custom form in magento 2

I have created custom form inside the popup. without filling the form, i am trying to submit,immediately it submits the data instead of validating the fields. Plaese provide me a solution. form.phtml ...
0
votes
1answer
112 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.
0
votes
1answer
219 views

Display frontend errors in popup modal

If there's a problem on the checkout, the error is displayed near the top, for 5 seconds and then it goes away. Most customers don't even see the message. Often, on smaller devices, the message isn'...
1
vote
0answers
138 views

How to add “Add To Cart” Pop Up Magento 2 Custom theme? [closed]

Here i am trying to add a pop-up once product added to cart using custom theme magento 2?? I tried this link
1
vote
0answers
20 views

Replace instant purchase message with popup (2.2)

I'm using a custom theme I wrote that derives from magento-blank and was wondering how I might go about replacing the instant purchase message at the top with a popup. Currently, on a mobile device, ...
0
votes
0answers
46 views

Create modal admin without losing content at closing

I created a modal in the backend with the object ´Window ({})´ the problem and that creating it so I create a modal that must necessarily reload the content via ajax. My code: Window....
0
votes
0answers
168 views

Magento 2: Open custom options in modal/popup

How can we show custom options in modal dialog or popup in the product detail page? For example, when the user clicks one button, custom options of that product will be shown in modal dialog or popup.
0
votes
1answer
457 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", "...
1
vote
0answers
33 views

Magento 2 Modal Pop up from exception

I have an observer that rejects this save of orders conditionally and throws a message. Instead of the message I would like to trigger a modal. How can I get this done? $message = “We were unable to ...
0
votes
0answers
35 views

How to get Return value from magento modal js

I am just created a popup on click. var insurance_popup = { type: 'popup', responsive: true, ...
1
vote
2answers
682 views

Need to trigger javascript modal on homepage only once

We want to have the registration popup come up on (only) our homepage whenever a customer has not visited before. I think I can chase down the information on setting a cookie for the one-time behavior,...
0
votes
1answer
538 views

Magento 2. Call .phtml (modal) from observer

I have created a custom .phtml file that contains a modal popup. I can successfully call this .phtml by adding it to default.xml in layout. <?xml version="1.0"?> <page xmlns:xsi="http://www....
0
votes
1answer
491 views

Magento 2: Modal opens only once

Here is my HTML and JS: <div id="mybutton" class="button"> click </div> <div id="testcontent"> blah </div> <script> // <![CDATA[ require([ '...
1
vote
1answer
593 views

Magento (1.x) : How to show bootstrap modal popup

Is their a way to open bootstrap modal popup in Magento 1.x. Like: https://www.w3schools.com/bootstrap/bootstrap_modal.asp I also had a look by ctrl+u but didn't find any bootstrap.min.js (or) ...
1
vote
1answer
181 views

Adding a Cookie policy Popup message

I was wondering would anybody be able to assist me. I want to add a pop up on my magento 1 website that tells the user about our cookie policy. I know there is a setting in magento already but it ...
0
votes
2answers
204 views

Magento 2 custom Model in Component not Working

Ive created a custom component with a template in Magento_Checkout summary : this is my modal-custom.html: <div id="modal-content">TEST</div> <button id="example-modal-button" data-...
1
vote
1answer
523 views

Magento 2 can't translate modal's title

I'm using a modal to show conditions for subscribing to a newsletter list. But I'm having trouble translating the title when initializing the modal inside a phtml file. The modal opens normally, but ...
0
votes
2answers
3k 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-...
6
votes
1answer
4k 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
0answers
81 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/...
0
votes
1answer
424 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
1answer
1k 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 ...