Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
158 views

Custom Success or Error message in the popup in Magento 2.4

I am creating the functionality for showing error or success messages in the custom popup box after order placement in Magento 2.4. Any reference or help is appreciated.
Mitul Vadalia's user avatar
1 vote
2 answers
407 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
1 vote
0 answers
74 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
0 votes
1 answer
7k 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
2 votes
0 answers
3k views

magento 2 Uncaught TypeError: Cannot read property 'version' of undefined

I got below error randomly in front-end and when all modal popup not working when below error occurs. Uncaught TypeError: Cannot read property 'version' of undefined I have override admin product-...
Hiren Shah's user avatar
1 vote
1 answer
4k views

Sending variable to a bootstrap modal

I have seen this asked before but a lot of the answers I found where people looking to get a variable into a modal to query a database. However thats not what I want. I just want to send a variable ...
Jayreis's user avatar
  • 725
1 vote
2 answers
2k views

Magento 2 FancyBox Implementation for youtube videos

Am implementing fancybox in magento 2, which has been implemented in magento 1 but in M2.2x shows a require js implementation and I have done that so but still the issue persist. NOTE : The issue ...
Prathap Gunasekaran's user avatar
0 votes
2 answers
308 views

How to empty the form before loading in magento 2

I have created popup modal using ajax and it works successfully. But once the form submitted, it saves in DB. But if I click again to perform action, It simply shows prefilled message instead of new ...
Jaisa's user avatar
  • 2,636
2 votes
0 answers
598 views

Add modal popup on multiple list elements

I would like to add modal functionality in a list of images wrapped in a div. It should work like so: when i click on a span element the next image should show in a modal. Html example below. <?...
Vlad Patru's user avatar
  • 1,200