Questions tagged [popup]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
66 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 ...
1
vote
1answer
796 views

Custom Form in “Fancybox” Popup

I want to display "fancybox" popup with a custom form and a custom action in button click. I have refered the following link: Make a Popup window showup on clicking a html link. But where can I add ...
0
votes
2answers
5k views

Magento 2 : Add to Cart Success Message in a Popup

How can I show Add to Cart success message ("You added 'Product name' to your shopping cart.") in a popup in Magento 2?
0
votes
2answers
1k views

How can i do cross sell products blocks on add to cart popup box

How can i display my cross sell products blocks under add to cart popup box, my add to cart block, <?php class Cmsmart_AjaxCart_IndexController extends Mage_Core_Controller_Front_Action { ...
1
vote
0answers
32 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/...
1
vote
1answer
7k views

“Uncaught TypeError: Cannot read property 'submit' of undefined” while adding product to basket

I am working with a mobile theme. I am trying to make an ajax request to add the product from product detail page and show a pop up after the addition. But while clicking the "Add to cart" button it ...
0
votes
0answers
11 views

Show popup when user select a payment method

Is there a way to display a popup with a simple text when a user choose a certain payment method? thanks
0
votes
2answers
266 views

Magento v2.2.6: Proceed to Checkout displays a login popup even after logged in

A login popup window is displayed after clicking "Proceed to Checkout" button from cart instead of redirecting to checkout page.
0
votes
1answer
806 views

Magento 2 login popup

I have a client login popup on my page with the form action="<?= $block->escapeUrl($block->getPostActionUrl()) ?>" How can I change this so the form will not redirect to the account ...
1
vote
4answers
6k views

Pop-Up Email Subscription

I have a link in my static-block that says "subscribe". When users click that (and ONLY when they click that), I want a pop-up box to appear on the page that allows them to enter their email address ...
1
vote
1answer
17 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 ...
1
vote
1answer
799 views

How to create popup to switch store on landing page

I am using Magento 2 and created 2 stores in site. By default store switcher is available only at bottom of page. I wish to have a pop up on first landing page which asks to select store.
0
votes
1answer
826 views

show a popup message on magento 2 checkout page when selecting a particular shipping method

I am working on website https://roadmaster.com.co/en_SA When I reach checkout page, I have option to Collect your order in store ? Yes / NO - "This comes from Wyoming Pickup at Store extension" ...
0
votes
0answers
21 views

Something went wrong with processing the default view and we have restored the filter to its original state in order page

something went wrong alert is showing multiple times and blocking the order view. I have cleared the table ui_bookmark table multiple times and cleared cache. still issue persist. Plese suggest a ...
0
votes
0answers
138 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. ...
1
vote
1answer
762 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
5answers
215 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?
1
vote
2answers
89 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 ...
2
votes
3answers
6k views

How to remove header or footer from modal popup in magento 2?

I have created popup on href click and on click popup is opening fine. But I want to remove Continue button from modal-footer which is just used to close the popup. Want to remove it. Any idea? modal-...
6
votes
1answer
8k views

How to create popup in magento 2?

Sometimes it is required like to show promotional popup for the first time when customer visits the site. How to create popup based on cookie in magento 2? Like I want to display any CMS static block ...
3
votes
3answers
2k views

Success message in popup

I have a frontend form in my custom module. On submitting the form,I want to display the success message in a popup with some custom content. How is it possible? Please help. This is my controller. ...
6
votes
2answers
5k views

How to close modal popup by clicking outside the modal-content in Magento 2

I have created a popup successfully by using Magento 2 modal code as i added below but now i want to close the popup even customer click on outside the pop-up or blur area. Is there any existing ...
1
vote
0answers
18 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 ...
0
votes
0answers
28 views

Magento 2 : gallery popup modification in product detail page

I am using magento 2.3.2 and I want to modification in gallery popup Need to show product name and 80% width popup with overlay instead of full-screen currently is showing popup in full-screen but ...
0
votes
0answers
32 views

How to stop redirection if login is incorrect ? Magento 2

I have a popup login form in the footer, if I want to log in (for example, from the home page) and the login is incorrect, then automatically redirect to the login page, can I stop it? I need to stay ...
3
votes
1answer
1k views

Magento 2 jQuery Modal Not displaying in center

I'm new to Magento 2. For homepage popup i have added below code <div id="popup-modal"> Test Data </div> <script> require(['jquery', 'Magento_Ui/js/modal/modal'], ...
0
votes
0answers
17 views

How to add popup left to right direction in magento 2.3.3?

I need to add popup left to right direction in magento 2.3.3. Can someone help me to achieve this solution? Thanks in advance
1
vote
1answer
31 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 ...
1
vote
1answer
39 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:
2
votes
1answer
167 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).
2
votes
0answers
49 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 ...
0
votes
0answers
47 views

mageplaza Social login popup not working in product wish list page

Here during product adding to wish list if not logged in we have to show popup for login, but it navigating to login page. how to popup social login form. below is my list.phtml file for products. ...
1
vote
2answers
1k views

Magento set cookie popup

This is my popup it show first time click only How to achieve this? <a href="#downloadme" class="fancyBoxLink">Value</a> <div style="display:none"> <div id="downloadme"> ...
1
vote
2answers
30 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' ],...
1
vote
0answers
142 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" ...
0
votes
0answers
13 views

Help I have problem under Controller, I try to send newsletter but It can't see SubscriberFactory , have no idea why

Fatal error: Uncaught TypeError: Argument 2 passed to Devall\PopupManager\Controller\Subscriber\Popup::__construct() must be an instance of Magento\Newsletter\Model\SubscriberTest, instance ...
0
votes
0answers
11 views

help I have add new popup button in the admin grid but when I click it I have an error in vendor

Fatal error: Uncaught Error: Cannot instantiate interface Devall\PopupManager\Api\PopupRepositoryInterface in /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50 ...
0
votes
1answer
51 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 ...
0
votes
1answer
55 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 ...
2
votes
1answer
121 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 (...
0
votes
1answer
25 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', { ...
1
vote
1answer
3k views

Magento2 : Pop up on page load in magento home page

I thought there would be some support for the pop up in the magento but did not succeed. I want to show the Email subscription popup on the page load on the home page. Second thing is i am not using ...
1
vote
4answers
69 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->...
6
votes
5answers
12k views

magento 2 js modal popup close event

require( [ 'jquery', 'Magento_Ui/js/modal/modal' ], function( $, modal ) { var options = { ...
1
vote
0answers
47 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.
2
votes
2answers
864 views

Not able to translate OK and cancel buttons in confirmation popup minicart

After adding an item into cart if we goto mini cart and click on remove item a confirmation popup with Ok and Cancel option will appear. I am not able to translate the Ok and Cancel buttons. Please ...
0
votes
0answers
120 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 ...
1
vote
1answer
1k views

How to open a 600x400 pop up window, and show a static .html file, from a theme .phtml file?

I'm using Magento 1.9 with the latest version of Ultimo Theme. We used to use FancyBox to show some static .html files, from template .phtml files. But that does not work anymore, after upgrading to ...
0
votes
2answers
1k views

Magento 2.2- stop newsletter popup to display on all pages

I am using cleversoft novetty theme. My newsletter pop-up appears on all pages that's so irritating. I want it to display only once at homepage whenever someone visits my site. here is the coding of ...
1
vote
2answers
7k views

Cannot call methods on modal prior to initialization; attempted to call method 'openModal'

This error is generated when i want to show popup when page load in magento2. Here I mentioned code of popup. In popupWidth and popupHeight there are height and width value store. require(['...