Questions tagged [modal-popup]
The modal-popup tag has no usage guidance.
141 questions
0
votes
0
answers
62
views
Magento 2.4.6: Creat admin product edit form button with modal and ajax submission
Magento 2.4.6-p6
I am trying to create a button on Product edit form which can translate one store product attribute data and store into another store attribute data.
'Vendor/ModuleName/view/adminhtml/...
0
votes
0
answers
52
views
Show Related products in the popup modal
I am using this code to show the modal when product add to cart
define([
'jquery',
'mage/translate',
'underscore',
'Magento_Catalog/js/product/view/product-ids-resolver',
'...
0
votes
0
answers
26
views
What is this empty popup in the braintree virtual terminal page
I noticed this empty popup in the braintree virtual terminal page.
Does anybody know what it is?
Is it supposed to be something.
1
vote
1
answer
158
views
Custom Success or Error message in the popup in Magento 2.4
I am creating the functionality for showing error or success messages in the custom popup box after order placement in Magento 2.4. Any reference or help is appreciated.
2
votes
2
answers
497
views
Magento 2 InsertForm component in to the UI form component not show form buttons
I added form to admin modal with InsertForm UI component based on documentation. https://developer.adobe.com/commerce/frontend-core/ui-components/components/insert-form/
Unfortunately this not show ...
0
votes
1
answer
135
views
How to render default Magento registration form in popup?
I have a button "Registration for dealer" on customer/account/create/ page that outputs a popup. My goal is to render in the popup the default customer registration form that's fully ...
1
vote
1
answer
203
views
How to display modal popup when event is triggered
I already try this :
public function execute(Observer $observer)
{
$layout = '<referenceContainer name="main">
<block class="C\M\Block\ModalOverlay"
...
0
votes
1
answer
137
views
How to open slider popup from grid widget form using action column
I have loaded the widget block form grid in the edit product section.
I am trying to open the model popup in the adminhtml widget grid form.
I have added the action column like below
$this->...
0
votes
1
answer
133
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 ...
0
votes
1
answer
33
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 ...
0
votes
2
answers
375
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=&...
0
votes
1
answer
470
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 ...
1
vote
2
answers
407
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 !!!
0
votes
1
answer
718
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 ...
0
votes
0
answers
252
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
1
answer
107
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
409
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
24
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 ...
2
votes
0
answers
344
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
335
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?
1
vote
2
answers
1k
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 ...
0
votes
1
answer
82
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
435
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
0
answers
55
views
Integrate zoom in product Photos modal in Magento2
How Can I integrate zoom in product sheet modal in magento 2
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
1
answer
406
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
36
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
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
1
answer
88
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
1
answer
41
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
286
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
171
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
2
answers
2k
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
457
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
178
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
1k
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
0
answers
67
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
1k
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=...
2
votes
0
answers
178
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
745
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
74
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: {
...
1
vote
0
answers
165
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
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 ...
0
votes
0
answers
212
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
1
answer
445
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
1
answer
2k
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
367
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
0
answers
286
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
0
answers
264
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
1
answer
7k
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 ...