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 :…
Tag: how-to
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 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…
How to Show/Remove Breadcrumbs to CMS Page in Magento 2
In this tutorial, Today I will explain to how to show breadcrumbs to CMS Page in Magento 2. A Breadcrumbs is basically links that helps to users to redirect on that page from current page. It is useful navigation tool for your customer to easily navigate them to other page. In Product Page, Breadcrumbs display In CMS Page, By default…
How to Upload Placeholder Images in Magento 2
In this tutorial, Today I will explain to how to upload placeholder images in Magento 2. A Place holder images means when any images not add in products at that time, that default place holder images will be display in that product. We can say that it’s one type of temporary image to display in product. If any place holder…
How to Change Logo in Magento 2
In this tutorial, Today I will explain to about how to change logo in Magento 2. In Magento 2, There are by default Luma theme set and also Luma theme logo set as default logo. But, when you want to change logo and want to set your custom logo then, how we can set that? Let’s follow the below steps…