Questions tagged [popup]

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

Filter by
Sorted by
Tagged with
-1
votes
0answers
7 views

How Change popup Value Dynamically then delay method call?

require(['jquery', 'Magento_Ui/js/modal/modal'], function ($, modal) { var options = { type: 'popup', responsive: true, buttons: [], opened: ...
0
votes
1answer
24 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"&...
0
votes
2answers
33 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> ...
1
vote
2answers
35 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
1answer
12 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.
0
votes
1answer
23 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 ...
0
votes
1answer
14 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 ...
0
votes
1answer
25 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 ...
0
votes
0answers
13 views

Get value from modal popup to form

it have modal popup with grid. In my action column in grid use button. I need when click to this button, modal popup will close and value fill in my form field. Anybody who can help me? <modal ...
0
votes
0answers
9 views

How to remove the Submit field (Your email address) and the SUBMIT button from Magento Porto (newsletter subscription) popup?

Magento 2.4.2-p1 Porto theme I modified the Newsletter pop-up which can be found in the Magento Porto theme with my own image, logo and text. I would like to use it as an informational pop-up for ...
0
votes
1answer
16 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 = $...
0
votes
1answer
20 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.
0
votes
0answers
17 views

popup contains checkbox to get feedback when remove items in minicart

I need to popup contains a checkbox to get feedback on why user remove item/s in mini cart and save result in the database in Magento2 Can you help me?
1
vote
1answer
140 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 ...
2
votes
1answer
54 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
0
votes
2answers
122 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.
0
votes
0answers
37 views

Allow cookies popup display on every page- Default Magento2

Allow cookies popup display on every page. After allowing still getting cookie popup on every page. I am using chrome, Magento2.3.4-p2. Browser save cookie data settings are already enabled. See ...
0
votes
0answers
14 views

How to implement popup for new users?

I found a nice popup implementation https://magento.stackexchange.com/a/222160/85778, but how do I define new users? For example. If 48 hours have not passed since the creation of the user, then it is ...
0
votes
1answer
114 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 ...
0
votes
1answer
103 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("...
0
votes
1answer
129 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. ...
0
votes
2answers
732 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 ...
0
votes
0answers
26 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\...
0
votes
1answer
221 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 &...
0
votes
1answer
857 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->...
1
vote
1answer
16 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:...
1
vote
0answers
152 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 ...
1
vote
2answers
1k 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
0answers
246 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
186 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
0answers
3k 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. ...
0
votes
5answers
2k 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
0answers
37 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 ...
1
vote
1answer
144 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
2answers
322 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 ...
1
vote
1answer
59 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
348 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
98 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 ...
3
votes
0answers
690 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" ...
2
votes
2answers
49 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' ],...
0
votes
1answer
227 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
133 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
399 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
29 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
4answers
791 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->...
1
vote
0answers
84 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.
0
votes
0answers
508 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 ...
2
votes
2answers
55 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
0
votes
1answer
75 views

uiComponent popup with form in Magento 2 front in product detail page

I want to add custom form in popup with a few custom fields before the product gets addtocart. Once the user clicks on addtocart button it will open popup and ask for a few inputs after fill-up ...
0
votes
1answer
32 views

Magento2 How can i create block on popup with product details?

I want to show product details on popup using controller. So how is it possible? $htmlCatInfo = $layout->createBlock( \Tigren\Ajaxcart\Block\BuildProductInfo::class, ...