How to Install Magento 2 on Localhost Using XAMPP

How to Install Magento 2 on Localhost Using XAMPP

Magento 2.3.2 comes with excellent features like GraphQL, shipping and core payment methods improvements, Php 7.3.x support, and much more! Did you download Magento 2.3.1 yet? Such features can be availed with the installation of Magento 2! However, the process ain’t easy. No worries, here’s the stepwise method to install Magento 2 on localhost using XAMPP, that can guide even a newbie to install the latest Magento 2.3.1! Check the system requirements before installing the latest Magento 2 version. Steps

Continue Reading

How to Get Magento 2 Order Collection Based on “Number of Days” Condition

How to Get Magento 2 Order Collection Based on "Number of Days" Condition

If you are working with Magento 2, you may often need to find the order collection for specific days or date range. It may be required to perform various actions such as send a thank you Email for the complete orders, delete the pending orders, display the order collection and last, check the revenue based on days! Here, I’m showing you how to get Magento 2 order collection based on “Number of Days” conditions such as: Get order collection of

Continue Reading

How to Restrict Magento 2 Checkout Based on Various Conditions

How to Restrict Magento 2 Checkout Based on Various Conditions

Want to have complete control over customers’ checkout? Most often, Magento 2 store owners require to restrict customers’ purchase at the checkout by adding the conditions that are required to be fulfilled by them. It is quite common for the store owners to restrict Magento 2 checkout based on various conditions like: Minimum order amount required for the specific customer groups Sign up and login conditions for particular products. Eg: Sample Products Limit cart quantity for specific conditions. Eg: limit

Continue Reading

A Complete Tutorial on Magento 2 Module Development

A Complete Tutorial on Magento 2 Module Development

“Hello World” is where a new programmer is born!┬á­čśä Starting with the ABCD of Magento 2 development, hello world module is mandatory! So, here I am, with a post for newbies to create a simple module in Magento 2, for hello world. Magento 2 module development is a stepwise process and needs to be done with some prerequisites conditions. Follow the below tutorial and create your own basic module in Magento 2! Things to take care of before you create

Continue Reading

How to Display, Add, or Remove Related, Upsell, and Cross-Sell Products in Magento 2

How to Display, Add, or Remove Related, Upsell, and Cross-Sell Products in Magento 2

Magento 2 store owners employ marketing tactics that push customers for conversions. One of them is related, upsell, and cross-sell products. However, the concept of these products must be clear before using it in the store. Related, Upsell and Cross-sell products help store owners in customer retention and offer the convenience of purchase by means of buying more, change the decision or pick a better buying option. They prevent customers from leaving the page and keep customers’ interest intact until

Continue Reading

How to decrease Magento 2 stock inventory on Invoice instead of Order

How to decrease Magento 2 stock inventory on Invoice instead of Order

In default Magento 2, the inventory is managed based on the orders placed. For example, the inventory decreases from 1 to 0 when a user places the order. However, what if that order was a test order. Or, if the user chose Cash On Delivery method and the payment was not captured due to some reasons! In such scenarios, the storefront shows out of stock which is not the case in reality. Due to failure in payment processing, the order

Continue Reading

Magento 2 Static Content Deploy – A Complete Guide

Magento 2 Static Content Deploy - A Complete Guide

The tutorial includes the stepwise method to deploy static content in Magento 2. Trace the static view files in the static directory of your Magento 2 store at your Magento install dir>/pub/static. Some files are also cached in the Magento install dir>/var/view_preprocessed directory. One needs to write static view files manually to the file system of the Magento 2 store with CLI command. After running the CLI command, restrict permissions to limit vulnerabilities as well as for the prevention of malicious overwriting

Continue Reading

How to Add Custom Validations Before Order Placement in Magento 2

How to Add Custom Validations Before Order Placement in Magento 2

Many times, store owners want to perform some custom validation before the order placement during checkout. These are the validations set when customers click Place Order button and some validations, restrictions or verifications need to be set prior to place the orders. Here, we’ll talk about the method to add custom validations before order placement in Magento 2. For example, the store owner would want to verify the order before it is placed via OTP. The verification event is triggered

Continue Reading

How to Add New Category and Product in Magento 2

How to Add New Category and Product in Magento 2

Are you a newbie in Magento 2? If yes, the article is for you. Magento 2 is widely used for E-commerce business having impressive features. The platform offers many functionalities to improve the user experience, increase the conversion rate and offer a secure shopping experience. Magento 2 categories are the building blocks of the catalog and provide ease of navigation to the customers. While Magento 2 products are the heart of an online store. If you have built a new

Continue Reading

How to Enable Template Path Hints in Magento 2

How to Enable Template Path Hints in Magento 2

The life of a developer ain’t easy! Any tutorials or methods that can ease their tasks are always welcomed! Hence, here’s one of them, to enable template path hints in Magento 2. It makes it easier to locate a particular .phtml file. Template path hints in Magento 2 are the tiny tags shown in the frontend to locate the code within the Magento file structure. Content on storefront pages is displayed using the .phtml files. To make the changes in

Continue Reading