Questions tagged [modal-popup]
The modal-popup tag has no usage guidance.
135
questions
0
votes
1
answer
27
views
Magento2: get values to databse
I'm trying to get values from the popup model of radio buttons into the database and I'm not getting that, what am I doing wrong?
BLOCK FILE
<?php
namespace vendor\ThreeYearOrders\Block;
use ...
1
vote
1
answer
1k
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',
...
0
votes
1
answer
1k
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
1
answer
26
views
Product attribute in Model
I have an attribute product that is a multiple select. I need to fill it with many operation options to select from, like a thousand or more.
Is there the possibility to put this multiple selection in ...
1
vote
2
answers
85
views
Add Success Message in Custom Popup for Add to Compare in the listing or Category Page in Magento 2
I want to add custom pop-up in category page for showing success or error message for add to compare button.
Any help is appreciated.
Thanks in Advance !!!
1
vote
1
answer
1k
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
2
answers
59
views
Easy way to show content in lightbox on CMS page?
Just wondering if there is an easy way to display content in a lightbox on CMS pages using some inbuilt Magento 2 functionality rather than call an external JS script?
So for example:
<div class=&...
9
votes
2
answers
9k
views
Submit custom form using Popup modal in Magento 2
I have created a modal popup and I have added my custom fields inside that popup. Now, that popup and fields are coming and it's working fine. But the form is not showing inside that Popup. I want to ...
0
votes
1
answer
3k
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.
1
vote
1
answer
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
1
answer
93
views
Magento 2: My popup modal is not showing on all pages, it's only showing on home page
It's only on the homepage
When I go to another page it doesn't show anything and gives an error
Here are my files
Here is my modal_popup.js file:
And here is my requirejs-config.js file :
I put ...
0
votes
2
answers
4k
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
0
answers
7
views
How to relate custom data modal like simple products to grouped products
I have created an extrension with 3 tables:
Table1 contains company names, Table2 contains company tasks.
Table3 contains the relation fields: company_id and task_id. Its a n->n relation. I know, I ...
2
votes
1
answer
2k
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?
1
vote
2
answers
2k
views
How to remain modal popup open by clicking outside the modal-content in Magento 2
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
0
answers
202
views
Modal display different data for different buttons used to open it
A Magento admin feature that I am developing consists of adding an array of Foo objects to Products. Each Foo is configured by clicking on a "Configure Foo" button, which opens a modal.
...
0
votes
0
answers
15
views
How to add a link after last name field in checkout page in magento 2?
I need to add a popup on link click in the checkout page.
I need to add a link after last name and on click of the link i want to show a popup.
Any suggested way to achieve this?
0
votes
1
answer
237
views
How to create a popup after customer logs in
I am new to Magento..I have successfully created a popup using modal widget in customer_account_index.xml, but this popup works only when customer clicks on My account tab. I am looking for complete ...
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....
0
votes
1
answer
32
views
How to Display Product qty in Popup
I want to display Magento product qty in the popup. when the customer clicks on add to cart button the popup shows the product available in stock and if the product is not available popup displays the ...
0
votes
1
answer
226
views
Magento 2 : Pass a value to the modal popup from UI Form
I am creating a slider module. I am using the same structure of the customer address form. Add New button will open a modal and show a form. From that, I can upload the image and save it.
Now I am ...
1
vote
0
answers
19
views
show caution text if customer insert larger quantity
If a customer inserted a quantity that is larger than the quantity of selected store echo text below the input type [qty] that says "The requested qty is larger than the quantity on this selected ...
5
votes
1
answer
1k
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
1
answer
3k
views
How to make a form and submit datas using popup modal in magento2?
When a user clicks the open modal button the popup modal opened correctly.
I want a form in a modal and save the data into the database. please, anyone gives the solution.
2
votes
3
answers
7k
views
Magent2 Modal Widget - change width and height
I am interesting in all the options that are available for the Magento Ui modal popup widget. Like:
var options = {
type: 'popup',
responsive: false,
innerScroll: false,
......
}
Mainly for the ...
1
vote
0
answers
231
views
Add a modal popup when the mass action button in ui component admin grid
I have a admin grid, where I want to add a popup which will have a input field posting a data on confirmation.
Take the above screenshot as an example. When the hold button is clicked, I want to ...
0
votes
1
answer
187
views
In Magento2.4, How to add Terms and condition with modal popup in registration page?
In Magento 2.4.x EE, How to add Terms and condition with modal popup in customer registration page?
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?
1
vote
2
answers
847
views
Magento 2 custom popup not work when click of 'Proceed to Checkout'
I have created the custom Popup and open the popup when click on process to checkout in minicart.
login popup not work when click on 'Proceed to Checkout' after the login customer account.It's work ...
2
votes
0
answers
140
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
1
answer
72
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 ...
5
votes
0
answers
284
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
2
answers
2k
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
2
answers
1k
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
0
answers
40
views
Integrate zoom in product Photos modal in Magento2
How Can I integrate zoom in product sheet modal in magento 2
0
votes
1
answer
328
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
2
answers
34
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
1
answer
60
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
0
answers
25
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
2
answers
135
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
1
answer
38
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
0
answers
190
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
2
answers
1k
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
1
answer
334
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
0
answers
129
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
1
answer
521
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
1
answer
870
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=...
0
votes
0
answers
51
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
1
answer
503
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
0
answers
58
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: {
...