How to Disable Password Expiration in Magento 2

How to Disable Password Expiration in Magento 2

Magento 2 is a popular E-commerce platform due to its features like scalability, performance and most important, security! However, one of its security features that says, “it’s time to change your password” is annoying for the developers working in the development environment or on a demo server. Magento 2 admin is requested to change the password from time to time for security purpose. It’s a good feature to keep your online Magento 2 store secure, but in case of the

Continue Reading

How to Install Magento 2 Two Factor Authentication

How to Install Magento 2 Two Factor Authentication

The Wikipedia definition of two-factor authentication says “Two-factor authentication (2FA) is a way to add additional security to your account. The first “factor” is your usual password that is standard for any account. The second “factor” is a verification code retrieved from an app on a mobile device or computer.” Explaining in simple terms, it is an additional layer of security beyond the login credentials. The strong passwords are also not enough to protect your data. Hence, Google recommends implementing two-factor authentication

Continue Reading

A Complete List of Default Variables Used in Magento 2 Email Templates

A Complete List of Default Variables Used in Magento 2 Email Templates

You may want to bookmark this post for future reference as it has the complete list of default variables used in Magento 2 Email templates. Magento 2 has this excellent functionality to send various Emails to customers at each stage of the shopping cycle. Email customization and Email template is an important topic for any online shop. As a developer, you may not remember every default variable used in Email templates in Magento 2. Hence the below list might prove

Continue Reading

How to Reset Magento 2 Admin Password

How to Reset Magento 2 Admin Password 4

If you are a Magento 2 store admin, you know the importance of strong passwords! It helps prevent unauthorized access to the admin panel. Security experts recommend using strong unique passwords, however, it is the least followed recommendation because unless you know the trick, it is impossible to remember it. That does not mean you make the unauthorized access easier in Magento 2 admin panel. Go on with a strong and unique password. In case you forget it, I have

Continue Reading

How to Convert Price From Current Currency to Base Currency in Magento 2

How to Convert Price From Current Currency to Base Currency in Magento 2

Magento 2 Base Currency: The default currency set up in the backend. The admin uses it to set the product price in the backend. It can be set at global/website scope. It is applied for all store and store views. Magento 2 Current Currency: It is used to display the price in the frontend. It is independent of the base currency. It can be set for each store view. Given the difference between both the terms, let’s proceed with the

Continue Reading

Magento PWA Studio – The Whys & Wows of Magento PWA [2021]

Magento PWA Studio - The Whys & Wows of Magento PWA [2019]

Magento is now a progressive web application development platform! Heard a lot of buzz about progressive web application for Magento in recent times? Me too, and now finally we have the Magento PWA Studio to experience the “revolutionary” mobile and merchant experience! On January 15, 2019, Magento announced the availability of PWA Studio. And there was no looking back! Developers can now use the set of tools to develop a progressive web app. Being the future of web app development,

Continue Reading

How to Auto Change “Stock Availability” on Quantity Update in Magento 2

How to Auto Change "Stock Availability" on Quantity Update in Magento 2

Finding it difficult to manage the inventory status in your Magento 2 store? Do you sometimes forget to update the stock availability status after changing the quantity number in the Magento 2 backend? Ever disappointed a visitor with out of stock status which was not the case actually? I get you! 😄 Developers tend to forget the inventory status after updating the quantity. This results in out of stock status in the frontend although you have updated the stock from the

Continue Reading

How to Auto Select First Child Product of Magento 2 Configurable Product

How to Auto Select First Child Product of Magento 2 Configurable Product

However complex are the Magento 2 configurable products, there is no way out to sell complex products with multiple attributes! But there are some ways out to make it simpler for particular cases. For example, you can implement the solution given here to auto-select the first child product of Magento 2 configurable product. Doing so, you can show the first combination on the frontend. Also, attract customers and increase sales by always showing the first child product that is popular

Continue Reading

Magento 2 Modes: Default, Developer, Production [2021]

Magento 2 Modes: Default, Developer, Production [2019]

Magento 2 modes were introduced with the release of Magento 2 that improved the performance of the platform! Here, I’ll discuss the 3 Magento 2 modes: Default, Developer and Production mode. The tutorial also includes how you can change the modes. For example, set developer mode in Magento 2! It includes how to know the current mode. Earlier, Magento 1 was operated with a single mode for development as well as production. However, the Magento 2 came with these 3

Continue Reading

Solved: “Unable to Unserialize Value” in Magento 2.2

Solved: "Unable to Unserialize Value” in Magento 2.2

Ever faced an error like “unable to unserialize value” while working with system configuration in Magento 2.2 admin panel? It is because of the \Magento\Framework\Serialize\Serializer\Json class. The file  vendor/magento/framework/Serialize/Serializer/Json.php is causing the problem. The function unserialize($string) returns an exception if the string is already serialized. Solution for “Unable to Unserialize Value” in Magento 2.2: Open vendor/magento/framework/Serialize/Serializer/Json.php file. Find the following funcion in file. [crayon-6099b4a1ab2f8083262939/] Modify the function by adding the following code: [crayon-6099b4a1ab2fe689880029/] Add is_serialized() function in same file vendor/magento/framework/Serialize/Serializer/Json.php at the

Continue Reading