In this Tutorial, Today I will explain you how to generate product url rewrites in Magento 2 Programmatically. Sometimes, product is created but URL is not generated. Hence, the product page URL will be return as 404 & it will be impact on SEO score. It will also down your website SEO as well. So, if you want to generate…
Category: Magento
Solved : 404 not Found After Fresh Magento 2.4.2 Installation
In this tutorial, Today I will explain to how to solve issue of 404 not found after fresh Magento 2.4.2 installation. From Magento 2.4.2, Magento modified docroot to improve security and because of that, now if you execute base url then, you will see that it’s return 404 not found error. To solve this issue, you need to create virtual…
How to Use the fetchOne() method with SQL query in Magento 2
In this tutorial, Today I will explain to you how to use the fetchOne() method with SQL Query in Magento 2. There are many times we need to require to perform operation on data by SQL Query. fetchOne() method is used to fetch first column of the first row of the SQL query output. You may also like this :…
How to Write SQL Query in Magento 2 With Standard Way
In this tutorial, Today I will explain to you how to write SQL Query in Magento 2 with standard way. There are many times we need to require to perform operation on data by SQL Query. But, the developers are write direct that sql query in their code which is not proper way. It will caused security issue as well.…
How to Enable Cookie Restriction Mode in Magento 2
In this tutorial, Today I will explain to how to enable cookie restriction mode in Magento 2. Cookies are helpful for store owners to manage data of customers actions for enhance website experience. As per EU’s GDPR rule, the website need to have permission of users regarding the use of cookies. Even website need to give options for allow or…
How does salable quantity work in Magento 2
In this tutorial, Today I will explain to how does salable quantity work in Magento 2. After Magento 2.3.x, you can see an extra column salable quantity in product grid. Salable quantity is the count of all available items of this products from all of the sources. I see that many developers and merchants have confusion about salable quantity and…
How to Add Custom Notice to Page Top in Magento 2
In this tutorial, Today I will explain to how to add the custom notice to the page top in Magento 2. Whenever the store owner wants to display a custom notice on the top of the page on the whole site at that time, this blog will be useful for you. Sometimes, whenever the store owner wants to announce a…
How to Disable Guest Reviews in Magento 2
In this tutorial, Today I will explain how to disable guest reviews in Magento 2. Magento 2 also provides that guest users can also submit reviews for products. But, if you want to set like only logged in customers can able to submit product reviews that how can do that? You may also like this : Magento 2 : How…
How to Create Custom Order Status in Magento 2
In this tutorial, Today I will explain to how to create custom order status in Magento 2. Order status is options that will indicates status of your order. There are many order status default provided by Magento 2. But, It also provides functionality to create new order status. In Store Configuration, You can create new order status and assign it…
How to Enable or Disable Reorders in Magento 2
In this tutorial, Today I will explain to how to enable or disable reorders in Magento 2. Magento 2 provides configuration for manage reorder functionality in your website. When you enable reorder configuration, then it will allow to reorders from customer account or from the original order. Let’s see how to manage reorder in magento 2. You may also like…