New answers tagged

-1

Well , you can observe the enter keypress and manually add a click on login button. $(document).ready(function() { $(document).keypress(function(event){ var keycode = (event.keyCode ? event.keyCode : event.which); if(keycode == '13'){ alert('You pressed a "enter" key in somewhere'); $('#login').click(); } }); });


0

you can also do this through the admin control panel in Magento using a custom layout update setting on the category editor: Log in to your admin console and visit Catalog > Manage Categories. Select the category you want to change in the left column. Click the "Custom Design" tab in the middle column. Set "Use Parent Category Settings" to "No" inside the "...


0

step 1 Add default.xml in app/design/frontend/your-theme-namespace/yourtheme/Magento_Sales/layout. <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="top.links"> ...


1

Add the below code in app/design/frontend/[Vendor]/[Theme]/Magento_Theme/layout/default.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="top.links"> ...


Top 50 recent answers are included