Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [popup]

The tag has no usage guidance, but it has a tag wiki.

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

How to show address fields in register when you call the block

I have included the register.phtml file in another .phtml file using the following code: <?php echo $this->getLayout()->createBlock("Magento\Customer\Block\Form\Register")->...
Muhammad Uzair Aziz's user avatar
0 votes
0 answers
27 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', '...
Rana Zain's user avatar
  • 658
0 votes
0 answers
383 views

Close window popup after successfully submit form and refresh background form

I've added window model popup in block grid using add coulmnn method. this popup is loaded when admin user click on action column. this popup window render as below approch. $this->getColumn()->...
user73267's user avatar
  • 183
0 votes
1 answer
649 views

How to add a pop-up window to Magento 2 front page?

Magento 2.4.2-p1 Smartwave Porto 13 Amasty extensions I have done a composer update and updated my Amasty extensions yesterday and this destroyed the Newsletter pop-up that is built into the ...
Allysin's user avatar
  • 260
0 votes
1 answer
266 views

Create popup after customer logged in

How to show a popup as soon as customer logs in. I created an customer_login event and called an observer, I want to display a phtml file with my popup code. Following doesn't work etc/frontend/...
Siri's user avatar
  • 115
1 vote
1 answer
130 views

Placing image on CMS page in magento 2

I want to place an image on the bottom left corner of one CMS page like https://prnt.sc/3EQgzset5OTi . On clicking the image a pop up should appear with the form to fill up. Any idea how can i place ...
Nicola Smith's user avatar
0 votes
2 answers
3k views

Magento 2: Open Popup Modal on Button Click in Admin Grid

UPDATED I'm using Magento 2.4, I want to open a popup modal to display some info, currently, when I hit the button I am redirected to phtml file but I want to open a popup on the same page. I have a ...
Partab Saifuddin Zakir's user avatar
5 votes
4 answers
2k views

Adobe spam popup on my admin dashboard is bugging me

Since a few weeks i'm getting more and more spam on the admin dashboard from adobe, auto-installed and everything. It started with polls on the right side taking all the space and impossible to delete....
Marcwales's user avatar
0 votes
1 answer
371 views

How to add popup Modal in scandipwa?

I want to create popup modal in scandi. Code is tried is s follows- Popup.js import React from "react"; const Popup = props => { return ( <div className="popup-box"&...
manusha's user avatar
0 votes
2 answers
716 views

magento2 before add to cart open popup how to?

submitForm: function (form) { //this.ajaxSubmit(form); var popup = $('<div class="add-to-cart-modal-popup"/>').html($('.page-title span').text() + '<span> ...
user avatar
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 ...
sky's user avatar
  • 1,397
0 votes
1 answer
76 views

How to show a popup when the checkbox is ticked in Magento using ajax

Just needed to add a popup modal when the checkbox is ticked and post the values to the controller.
Praveen C's user avatar
0 votes
1 answer
736 views

Logging in and registration in the pop-up/module on all pages in magento, excluding the login and registration page

I created an overwrite path in app/design/frontend/<name_vendor>/default/Magento_Customer/frontend/web/template/authentication-popup.html Here I understand that I can change the texts. Where can ...
Przemek Lange's user avatar
0 votes
1 answer
21 views

issue witch 2.4.2 configurable product

I created a new attribute 'Format' which allows me to choose between '1' / 'pack of 3' / 'pack of 6' Then I created a configurable product with 3 virtual products. It works well, BUT the only issue is ...
JG Cabanas's user avatar
0 votes
1 answer
1k views

how to add a new pop-in after click on "Add to Cart"

i want to add a new pop-in after clicking on "Add To Cart" button which contains the same information and the same design of the usual minicart on the top right , i know there is some tuto ...
magNif's user avatar
  • 5
0 votes
1 answer
122 views

pop up modal is not submitting and not going to controller action url?

<?php /** /** @var $block \Magento\Catalog\Block\Product\View */ ?> <?php $_product = $block->getProduct(); ?> <?php $buttonTitle = __('Add to Cart'); ?> <?php $isSaleable = $...
kks's user avatar
  • 19
0 votes
1 answer
232 views

How do I play videos in a pop up

I'd like to be able to show a video thumbnail, and when you click on it, the video plays in a pop up. What is the best/easiest way to implement that? Thx.
Restie E Delfin's user avatar
1 vote
2 answers
721 views

Magento 2 DropdownDialog widget showing dropdown when the page load without onclick

I am using https://devdocs.magento.com/guides/v2.4/javascript-dev-guide/widgets/widget_dialog.html if the page refreshes the drop-down popup come 1 second on the page, how to solve this issue on the ...
zus's user avatar
  • 165
2 votes
1 answer
891 views

Add custom popup using Modal

Want to open a popup by clicking the button in homepage. inside the popup form will be submitted using Ajax call
Sathyaraj C's user avatar
0 votes
2 answers
421 views

How to get list of Wishlist product on popup in homepage?

I have added a wishlist icon on my header, I need to show my list of wishlist product if customer click the wishlist icon as a popup. Any reference thanks.
zus's user avatar
  • 165
0 votes
1 answer
299 views

Button click to show custom static block in popup in magento 1.9

I have a custom static block and on my CMS page, I have a button, when the user clicks the button, I need to show the static block in the popup. How can I achieve this in Magento 1.9, can anyone help ...
Mahesh1343's user avatar
0 votes
1 answer
276 views

Load popup only based on session timeout

I have initialized a popup var popup = modal(options, $('#notification-modal')); $("#notification-link").on('click', function () { $("#notification-modal").modal("...
Haerriz's user avatar
  • 681
0 votes
1 answer
209 views

Success/error Messages not closing after 2.3.5 update

Thanks for reading. I've been working on a Magento2 project for the past couple months. Recently we updated from 2.3.0(or 2.3.1, I can't remember) to 2.3.5. Sadly, this caused more bad than good. ...
Laantje's user avatar
0 votes
2 answers
1k views

how to show customer authentication popup when clicking on checkout button in minicart while guest checkout is enable mangento 2

I want to check if a user is logged in before proceeding to checkout. On the basis of customer login condition, i want to show the login popup if not login, and redirect to checkout if logged in ...
Nit's user avatar
  • 101
0 votes
0 answers
78 views

Enable Ajax Cart in Wishlist page

I'm writting ajax cart extension but it just worked with home page and compare page. How can i open ajax cart popup in wishlist page? Here are my code in controller: use Magento\Framework\App\Action\...
trem jenny's user avatar
0 votes
1 answer
392 views

Magento2.3 Cart page registration form add in new popup

I have enable guest checkout. So when a customer clicks on the checkout button in the cart page then a popup opens, like seen in the screenshot below: My goal is to add a click event listener to the &...
Rakesh Donga's user avatar
  • 5,364
0 votes
2 answers
2k views

When click Image and show clicking Image in popup in magento 2

How to create, When click Image and show clicking Image in popup. This is my code :- echo "<td>"?><img src="<?php echo $this->getMediaUrl() .'brand'. $data->...
Mohit Patel's user avatar
  • 3,833
1 vote
1 answer
59 views

Header Links showing beyond search box and minicart beyond navigation !! Magento 2.3.5-p1

When a customer is signed in the header links (My account, My Wish List, SIgn Out) are displayed beyond the search box . See the image attached . I've noticed that there is an element.style {z-index:...
Andrea's user avatar
  • 11
1 vote
0 answers
295 views

Magento 2.3.4 paypal in-context is not working?

Website redirecting to paypal, but I want show paypal popup without redirection to paypal. I want to enable paypal popup on checkout page during order placed. I have enabled In-Context Checkout ...
Vinod Kumar's user avatar
  • 2,065
1 vote
2 answers
2k views

Display message by popup in magento 2

I have a module to download a file on S3 by magento 2. When I click button download, it will down a file csv, now I want if this file does not exist so display a popup message on screen by 1 ...
namikaze's user avatar
1 vote
0 answers
438 views

Magento 1 - How to apply custom popup message option to checkout courier selection?

In my website there is two courier service, customer can able to select the courier service as their wish. I am using the Matrix shipping rate. Backend Code: app/design/frontend/base/default/...
zus's user avatar
  • 165
1 vote
1 answer
428 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
0 answers
4k views

How to detect the browser tab close event in jquery

How do i detect the browser event when customer closing the browser tab by clicking X in jquey? I just want to show popup to the customer while they closing the browser tab. I have used below code. ...
Jaisa's user avatar
  • 2,626
0 votes
5 answers
3k views

Add pop up on homepage in magento 2

I want to show a message as a pop up on my homepage load with just a message, no email subscription, nothing. I just want to display a message. How can i do that?
Nafsss's user avatar
  • 760
1 vote
0 answers
189 views

Magento2.3.4 - Create pop up admin form like add/edit customer address in admin

I'm using Magento2.3.4 and I want to show a grid in tab content , and then I can edit the record with pop up form just like the customer edit address in admin Here is the screen shot: How can I ...
jojo's user avatar
  • 39
1 vote
1 answer
611 views

How do I create a confirmation pop-up before purchase?

I want a pop-up to show with a message after the user clicks PROCEED TO CHECKOUT. So the process goes like: User clicks PROCEED TO CHECKOUT Pop-up shows with the message with AGREE or DISAGREE ...
RA828's user avatar
  • 111
1 vote
2 answers
439 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
162 views

How to create a popup model in magento 2

How to create a popup model in magento 2 when click a custom "add to quote" button i need a popup model like with product details Expected like:
Divya Sekar's user avatar
  • 1,485
2 votes
1 answer
643 views

Magento 2 : Creating popup

I want to show a popup window as soon as user logged into store. I want to show that popup only for some customer (like premium).
Akash Killedar's user avatar
2 votes
0 answers
387 views

Configurable product will not redirect to product view page after click on add to cart

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 ...
Sagar Parikh's user avatar
3 votes
0 answers
1k views

admin grid action with popup modal

<actionsColumn name="actions" class="Vendor\Module\Ui\Component\Listing\Column\SelectActions"> <argument name="data" xsi:type="array"> <item name="config" ...
HaFiz Umer's user avatar
  • 1,661
1 vote
2 answers
264 views

How can I load popup widget unload or on ready?

I am trying to load popup widget , admin specifies it will be unload on ready . Where can I specify it must pop unload or on ready ? define([ 'jquery', 'Magento_Ui/js/modal/modal', 'mage/cookies' ],...
Giga Todadze's user avatar
0 votes
1 answer
556 views

Magento2 + modal confirmation popup after page load

I want to open modal confirmation dialogue and based on that I'm operating some database operation as my need. So please suggest me the best way to open modal confirmation popup that should work even ...
Virang Jethva's user avatar
0 votes
1 answer
381 views

I can't add success message on the popup frontend

I am trying to use: Magento_Ui/js/model/messageList messageList.addSuccessMessage({ message: 'You have subscribed Successfully' }); But its not working . I tried adding success message in the ...
Giga Todadze's user avatar
2 votes
1 answer
863 views

Magento 2 Popup Modal give errors into the iphone(safari)

I am using the Magento 2.3.2 Version. I have set the popup modal but it is not working into the iPhone safari browser. They give the following error: TypeError: undefined is not an object (...
Hardik Makwana's user avatar
0 votes
1 answer
38 views

my js has some problems, it is jumping from $.widget to return $.devall.popupmanager and fail function is getting called at the end

define([ 'jquery', 'Magento_Ui/js/modal/modal', 'mage/cookies' ], function ($, modal) { 'use strict'; if(!$.cookie('popup_cookie') ) { $.widget('devall.popupManager', { ...
Giga Todadze's user avatar
1 vote
4 answers
2k views

How to get all products of the Cart on HomePage. Magento2

I'm trying to get all the products of the cart for that I'm trying use Magento\Checkout\Model\Cart; $this->_cart = $cart; public function getCartProducts(){ $itemsCollection = $this->...
Asad Khan's user avatar
  • 1,486
1 vote
0 answers
171 views

Magento2: How to add cart summery(tax,discount,shipping etc) in minicart popup

I want to display Shopping cart summery in mini-cart popup Like below screenshot can anyone help me out to display cart summery in minicart.
Ankit Sule's user avatar
0 votes
0 answers
1k views

Magento2: Save data of popup form in database using ajax in controller

I set button in form popup in product-detail page in addtocart.phtml in my custom module. But form submit button is not working and data not passed to controller so not saved in the database Here is ...
moni patel's user avatar
2 votes
2 answers
260 views

Where i can find these 2 buttons in magento 2 i want to translate these buttons

Where i can find these 2 buttons in magento 2 i want to translate these buttons
Junaid Ashfaq's user avatar