Tag: Magento 2 Tips (page 2 of 2)

How to reset admin password in Magento 2?

In order to reset the admin password from phpmyadmin in Magento 2, please follow below simple steps. 1) Go to phpMyAdmin 2) Open table admin_user 3) Run the following sql query UPDATE admin_user SET password = CONCAT(SHA2(‘xxxxxxxxNewPassword’, 256), ‘:xxxxxxxx:1’) WHERE username = ‘admin’; Here, NewPassword -> Replace it with your password. Thats it. Team HiddenTechiesWrite…

How to get extension version in Magento 2?

In order to retrieve version of any extension/module in Magento 2, you can use following code snippet. $versionInfo = $this->_objectManager->get(‘Magento\Framework\Module\ModuleList’)->getOne(‘Wallet_Version’); echo “<pre>”; print_r($versionInfo); echo “</pre>”; Here, Wallet is vendor name and Version is module name. Team HiddenTechiesWrite an article about ecommerce that help people to grow their ecommerce business. You’ll find best ecommerce guide, news,…

Magento 2 – How to add jQuery calendar to custom frontend form?

Recently I have found one solution to add jQuery calendar to custom frontend form. Lets discuss in detail. In order to add jQuery calendar to custom frontend form, we have to add text input field to custom frontend form. As per below code create one new text input field inside form block. <input type=”text” class=”input-text…

Newer posts