As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [modal-popup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
40 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->...
user73267's user avatar
  • 171
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 ...
Bayzel's user avatar
  • 167
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 ...
Camilo Torres's user avatar
0 votes
2 answers
62 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=&...
Tony Ryan's user avatar
1 vote
1 answer
96 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 ...
tanh's user avatar
  • 17
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 ...
Dr. Christian Kusche's user avatar
1 vote
2 answers
88 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 !!!
Mitul Vadalia's user avatar
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?
Mujahidh's user avatar
  • 2,651
0 votes
1 answer
251 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 ...
Siri's user avatar
  • 107
0 votes
0 answers
203 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. ...
dotancohen's user avatar
  • 1,105
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 ...
Nabeel shahbaz's user avatar
0 votes
1 answer
231 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 ...
Jancy Abraham's user avatar
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 ...
Bayzel's user avatar
  • 167
1 vote
0 answers
233 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 ...
Jason's user avatar
  • 160
0 votes
1 answer
191 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?
Saravanan DS's user avatar
  • 1,118
1 vote
2 answers
852 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 ...
sky's user avatar
  • 1,366
0 votes
1 answer
73 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 ...
totneschap's user avatar
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 ...
Siranjeevi K S's user avatar
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
MohameD ELQUCHIRI's user avatar
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. ...
Mohit Patel's user avatar
  • 3,568
0 votes
1 answer
330 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\...
kks's user avatar
  • 19
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);...
kks's user avatar
  • 19
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 ...
kks's user avatar
  • 19
0 votes
1 answer
61 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.
kks's user avatar
  • 19
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\...
kks's user avatar
  • 19
0 votes
0 answers
191 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 ...
kks's user avatar
  • 19
0 votes
2 answers
136 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()) :?> <...
kks's user avatar
  • 19
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.
quickshiftin's user avatar
0 votes
1 answer
338 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!
Toranto mina's user avatar
0 votes
0 answers
130 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\...
Ravindrasinh Zala's user avatar
0 votes
1 answer
527 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.
Dominic Pixie's user avatar
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.
Ganesh's user avatar
  • 1
0 votes
1 answer
874 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=...
Ravindrasinh Zala's user avatar
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
Jaisa's user avatar
  • 2,512
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 ...
Script Host's user avatar
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: { ...
Carter's user avatar
  • 47
1 vote
0 answers
122 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 ?
Msquare's user avatar
  • 7,338
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 ...
Duggy G's user avatar
  • 193
0 votes
0 answers
168 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 ...
Jackom's user avatar
  • 421
1 vote
1 answer
362 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 ...
skm's user avatar
  • 174
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 ...
Amanda's user avatar
  • 1
0 votes
1 answer
305 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 ...
Jaisa's user avatar
  • 2,512
0 votes
0 answers
238 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 ...
User 69's user avatar
  • 135
0 votes
0 answers
173 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
Muhammad Abdullah's user avatar
0 votes
1 answer
5k 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 ...
Praveen Negimani's user avatar
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', ...
TheKitMurkit's user avatar
1 vote
1 answer
478 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.
jithin 's user avatar
0 votes
1 answer
1k 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-...
Sagar Parikh's user avatar
1 vote
2 answers
419 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 ...
Jack Brooks's user avatar
1 vote
1 answer
2k 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, ...
hardik malkani's user avatar