Questions tagged [modal-popup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
31 views

Detect IE11 browser and show cms block modal with phtml script tag

I have a modal that pops up when the site detects it's on IE11. The modal is in a cms block so that the client can edit it. I have created a reference container with a custom phtml and put the script ...
0
votes
0answers
19 views

How to open a new popup box besides Edit Link in each and every shipping address section of Magento 2 Onepage Checkout page

I have debugged and tried a lot to add a new popup box like Edit link in each and every shipping address in Magento 2 Checkout page. Normally, it has been added a button in Vendor/Custom Theme/...
4
votes
0answers
40 views

How to pause wistia video while closing the modal popup?

I added a custom image in the product view page gallery section. While clicking on the custom image section a popup will throw. On that popup, we can play a wistia video (refer to the attached ...
0
votes
0answers
15 views

Integrate zoom in product Photos modal in Magento2

How Can I integrate zoom in product sheet modal in magento 2
1
vote
2answers
146 views

How to show configurable product options in popup in Magento 2

I have create one popup. In popup get configurable product collection and it working fine. But i have faced one issue. In configurable products collection configurable product options not showing. ...
0
votes
1answer
42 views

Notice: Undefined property: Eaglerocket\Customquote\Controller\Index\Index\Interceptor::$storeManager in Index.php on line 138

<?php /** * * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Eaglerocket\Customquote\Controller\Index; use Magento\Framework\App\Action\...
0
votes
2answers
26 views

Query is not working?

/I need those questions whose status is 1 but its not working/ <?php $i=1; //$coll=$collection->getSelect()->where("`main_table`.`status`= 1"); //$collection->load(true);...
0
votes
0answers
22 views

If trying to get the current product info then pop up model is not opening

/Blockname.php/ <?php namespace Eaglerocket\Customquote\Block; use Magento\Framework\View\Element\Template; class Blockname extends Template { protected $_registry; public function ...
0
votes
1answer
29 views

How to fetch data from another database table in phtml file so that a pop up modal can be filled automatically?

I have created a model form and now want it to be pre-filled with data from the another database table.
0
votes
1answer
30 views

On clicking at the submit, nothing happens. Have created extension.php in model and resource model and, collection,php inside Extension. Kindly help

/Submit.php/ **<?php namespace Eaglerocket\Customquote\Controller\Index; use Magento\Framework\App\Action\Context; use Magento\Framework\View\Result\PageFactory; use Eaglerocket\Customquote\Model\...
0
votes
0answers
20 views

I have created a modal pop up form in product detail page and need to submit data in database. Please share the links for it

I have performed admin crud operation and now I need to submit data from the frontend through the website. Kindly share the reference for the same. I need to know how it will distinguish that in which ...
0
votes
0answers
26 views

How to auto select grid items in insertListing inside modal?

I have a UI component form with a button which opens a modal. In that modal I have a grid. On selecting items from grid, I am saving them into database. But I have a problem. Whenever I am editing ...
0
votes
2answers
31 views

Need to show the value of the product in the value attribute of input element but it is not giving any value. Where is this get product function?

<?php $_product = $block->getProduct(); ?> <?php $buttonTitle = __('Add to Cart'); ?> <?php $buttonTitl = __('Get Quote'); ?> <?php if ($_product->isSaleable()) :?> <...
0
votes
0answers
20 views

/var/www/demo/app/code/Eaglerocket/Customquote/view/frontend/templates/index.phtml How can I see its view?

I have created a pop up modal, how can I see its content on the website to check whether the pop up is opening or not?
0
votes
2answers
157 views

Magento2 : How to show custom notice message in checkout page on page load?

I want to display Custom Notice message in Popup on page load in Checkout page.
0
votes
1answer
60 views

Auto close modal widget after 5 seconds

I created a modal widget that appears after adding product to cart, it works perfectly .Now I need to close the modal after 5 seconds.please help!
0
votes
0answers
24 views

Magento 2: Modal form submit not working with KO

Modal popup from submit not working after KO binding for input magento 2 I have working on form submit using popup to send email from homepage to checkout for that I have created popup which was ...
0
votes
0answers
18 views

How to add My Order section reorder link open popup model in magento 2

How to add My Order section reorder link open popup model in magento 2 app/code/Vendorname/Modulename/view/frontend/templates/order/history.phtml <?php /** @var \Magento\Sales\Block\Order\...
0
votes
0answers
49 views

Magento2: How to remove checkout login popup and redirect to login page?

I am using magento2.4.1 and I want to remove checkout login popup and redirect customer to login page when customer click on "Proceed to checkout" button and after login redirect to checkout ...
0
votes
1answer
78 views

Magento 2 admin modal popup

Looking for an example on how to create admin modal similar to what's used in advanced pricing on product edit. Does anyone have an example with basic block logic inside.
0
votes
0answers
44 views

Create popup with an attachment file on popup that will be saved in database

How to create popup on PDP page and in popup form, how to add attachment file that will save in database.
0
votes
0answers
25 views

Magento2 - How to customise Magento modal styling?

How to give css to Magento modal popup. I want to edit the title styling and other styling on the popup.
0
votes
1answer
230 views

How to override model-popup.html magento 2.4.0

How to override modal-popup.html h1 tag replace span tag. vendor/magento/module-ui/view/base/web/templates/modal/modal-popup.html <h1 id="modal-title-<%- data.id %>" class=...
1
vote
0answers
23 views

How to create or show popup while clicking "Next" button at checkout page in magento 2

I wish to create popup modal to show notification message while clicking 'Next' button at checkout page. How to add this popup at checkout page ? Please provide solutions
0
votes
0answers
25 views

Magento2 - How can I make a widget or user prompt on the home page?

I want to make a widget/user prompt, so when a user goes to my website I would like to get their input, my website should prompt for their ship-to location. I am new to Magento, how can I achieve this,...
0
votes
1answer
144 views

How to show the tick mark after clicking the popup button in Jquery?

In checkout, we have enabled the "Terms and conditions" pop up and my requirement is to show the tick mark after closing the pop-up but right now it is happening only when we click the ...
1
vote
0answers
28 views

How can I get my custom modal to work in with my js

This is a fiddle I have with it working but I would not like to apply it within magento http://jsfiddle.net/7yhmkf98/ I have a requirejs-comfig.js file set uo like this var config = { paths: { ...
0
votes
0answers
24 views

How to add custom phtml in confimation popup before order place on checkout magento 2?

I want to show a popup to verify the mobile number before the order place Magento 2 onepagecheckout page. Same like this: Magento 2: Place an Order Checkout button popup box
1
vote
0answers
60 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
678 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 ...
0
votes
0answers
61 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 ...
1
vote
1answer
158 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
1answer
738 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
36 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
93 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
142 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
64 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
3k 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 ...
1
vote
1answer
652 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', ...
1
vote
1answer
59 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
1answer
819 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
2answers
297 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 ...
1
vote
1answer
1k 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, ...
3
votes
1answer
2k 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
366 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
1k 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....
2
votes
0answers
191 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 ...
0
votes
1answer
111 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
1answer
436 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 ...
1
vote
0answers
33 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 ...