Latest Articles by Sanjay
980 posts • writing here since 2017How to Print Log in Magento 2
Logs in Magento 2 consist of system information records for the analysis in the future. One of the most common examples of...
How To Customize 404 Page Not Found in Magento 2
404 page is the most common web error caused by broken links or URL typo. Whenever users land to a 404 error...
How to Install Magento 2 Extensions Using the Web Setup Wizard
Are you thinking to Migrate to Magento 2 or have already created a new store using Magento 2? The very first thing you will...
How to Create Attribute Set Programmatically in Magento 2
An attribute set is a group of multiple individual product attributes that define the characteristics of the products. It is used every time...
How to Call CMS Static Block in Phtml File in Magento 2
Magento 2 (Adobe Commerce) static blocks are helpful for the admin to add and control HTML code to be displayed in the...
How to Programmatically Add Product to Cart in Magento 2
Sometimes, Magento 2 store admin needs to prefill the shopping cart with a product whenever a user lands to the website. There...
How to Create a Simple Product Programmatically in Magento 2
While development or testing, you may need a huge amount of products. Magento 2 has the feature to create the products from...
How to Add Pagination in Magento 2 Custom Collection
Pagination divides content into separate pages to prevent your pages from becoming too long and overwhelming. It also helps to improve the user...
How to Create Customers Programmatically in Magento 2
In Magento 2, a new customer account is created via sign up. Also, customer registration is possible via admin panel. But, as...