Skip to content

javascript

Auto Added by WPeMatico

Why are various minified JavaScript files missing in backend?

On the backend login page and within the backend itself the following files from https://store.example/static/adminhtml/Magento/backend/en_US/ are not being found (404): jquery.min.js, js/theme.min.js, mage/backend/bootstrap.min.js, mage/adminhtml/globals.min.js, Magento_Catalog/catalog/product.min.js, Magento_Translation/js/mage-translation-dictionary.min.js, underscore.min.js, mage/backend/tabs.min.js, and mage/adminhtml/grid.min.js. The .min.js files do indeed not exist within pub/static/adminhtml, but… Read More »Why are various minified JavaScript files missing in backend?

Find Javascript Merge Knockout Error In Extensions Uncaught Error: Cannot find closing comment tag to match: ko template:

Magento 2.4.3 Apache Nginx MariaDB Hello Thanks for taking the time to read this. We have a dev site we are trying to enable Swissup Pagespeed Extension however it is getting 1 error – the merge javascript fails and different… Read More »Find Javascript Merge Knockout Error In Extensions Uncaught Error: Cannot find closing comment tag to match: ko template:

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/events.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Event/etc/events.xsd”>… Read More »Create popup after customer logged in

How to add intlTelInput in Magento Checkout

International phone plugin : link I added in my requirejsconfig.js var config = { map: { ‘*’: { customDisplayCheckout: ‘Amasty_CheckoutCore/js/custom’, }, paths: { “intlTelInput”: ‘Amasty_CheckoutCore/js/intlTelInput’, “intlTelInputUtils”: ‘Amasty_CheckoutCore/js/utils’ }, shim: { ‘intlTelInput’: { ‘deps’:[‘jquery’, ‘knockout’] } } } }; I also… Read More »How to add intlTelInput in Magento Checkout