Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
10 votes
1 answer
17k 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 ...
Kazim Noorani's user avatar
10 votes
1 answer
7k views

Magento 2 : Modal Popup using Ajax

How to use model popup using ajax? Can any one help for this. Here below my code. How can i apply in this code model popup? And also post data get in popup. How it possible? app/code/Vendor/Complany/...
Payal Patel's user avatar
  • 1,511
2 votes
1 answer
4k views

Magento 2 How to add grid/phtml file on Slide out panel [ popup modal ] in custom grid action?

Here is the link of what I expected to do in my custom module http://admin-actions-log-m2.demo2.amasty.com/_router/redirect/admin-actions-log-m2/index.php/admin/amaudit/actionslog/index/ just open ...
Mohit Rane's user avatar
  • 1,964
1 vote
1 answer
1k views

How to customize validate-product.js, so it will return message in popup?

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
1 vote
1 answer
3k 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
1 vote
1 answer
3k views

magento 2 popup model need to open only one time on whole webiste after login or subscribe

I created a magento 2 pop-up it is working great. I have included a newsletter form in this pop-up .Problem is that pop-up is repeated after refers button.Problem is this , I want open pop-up only ...
sanjay's user avatar
  • 387
1 vote
0 answers
232 views

How to remove modal.js from all pages in magento 2.2

because of this file modal.js define([ 'jquery', 'underscore', 'mage/template', 'text!ui/template/modal/modal-popup.html', 'text!ui/template/modal/modal-slide.html', 'text!ui/...
sourabh yadav's user avatar