Access denied for user ‘phpmyadmin’@’localhost’ (using password: YES)
In this blog, we will see how to fix the error “Access denied for user ‘phpmyadmin’@’localhost’ (using password: YES)” following simple steps. Once you follow the below you will be able again to use your phpMyAdmin@localhost database. Below are the steps:- You have to open XAMPP Control Panel ->Click MySql Config->Click my.ini. It will open […]
How to find nearest value in PHP
Today we discuss about the nearest Value in PHP. Suppose that I have nmber like 456 its will become 460. You can get right value using below method. Nearest the value in PHP echo roundToTheNearestAnything(121, 10).'<br>’; echo roundToTheNearestAnything(8, 5).'<br>’; echo roundToTheNearestAnything(1, 2).'<br>’; function roundToTheNearestAnything($value, $roundTo) { $mod = $value%$roundTo; return $value+($mod<($roundTo/2)?-$mod:$roundTo-$mod); } Nearest the value […]
Magento2.4 run from root
We will discuss how to execute the Magento2.4 run from root.Magent2.4.x by default does not load from the root of Magento. 404 Not Found after fresh Magento 2.4 installation It seems now Magento will only load from pub folder. So the best solution for this is to create a virtual host and point it to […]
Magento 2 send custom email programmatically
Hello reader, In this article, we are going to send a custom email template, after creating a form, on submission of that form we will send form information by sending a custom email. This email will use custom email template. Email is a way to communicate with customers and suppliers or vice-versa The below files […]
Magento 2 command list
Hello reader today we share list of the some usfull magento 2 command list. You will find the list of important commands Magento 2. Connect the SSH and go to magento root directory to run/execute the commands MAGENTO 2 USEFUL COMMANDS LIST Elasticsearch entry into Database bin/magento config:set catalog/search/engine elasticsearch7 bin/magento config:set catalog/search/elasticsearch7_server_hostname 191.161.1.11 bin/magento […]
Create enquiry form in Magento 2
Today I am going to explain How to Create Custom enquire Form in Magento 2. Forms are a great way to gather customer information and insert into database or send email to the admin user as per the requirement. With the help of the below code, you can Create Custom Form in Magento 2 Frontend. […]
Magento 2 add custom js file in module
Hey reader today we will disscuss about to add js file in custom module . Please follow below step to done this job. Step 1. Create requirejs-config.js file on below path :- app/code/VendorName/ModuleName/view/frontend/requirejs-config.js var config = { map: { ‘*’: { myjs: ‘VendorName_ModuleName/js/myjs’, } }, deps: [‘jquery’] }; Step 2. Create myjs.js file on below […]
Setup Multi Website in Magento 2
Today we discuss how to create multi-websites in Magento 2 . Magento allows you to setup multi-websites for your single installed Magento. For example www.example.com is a main website and you want to like this www.example.com/newsetup/ Then you need to create newsetup dirctory(folder) on magento root dirctory. Step 1. Find the website code 1. Go […]
Price range filter in Magento 2
Today we disscus about price range filter in Magento 2, Sometime we need product collection filter by min_price, final_price and minimal_price range in custom module. There are some below solutions. Solution 1 The final_price is part of the price index tables, so you can’t work with it the same way as you would do with […]
How to open PPF account online?
In this blog, we will discuss how to open PPF account online? Public Provident Fund (PPF) is the preferred savings funds by the working class. This long term investment can also helps you to avail tax benefits. A PPF account can be opened by any individual at any post offices or banks branches offline. The […]
Magento 2 API security issue
Today we discuss about API security issue in magento 2. By default, Magento 2 now prevents anonymous users from accessing the APIs that could reveal sensitive information. When the feature is enabled, the user must have administrator privileges to execute the affected APIs. Preventing anonymous access to these endpoints could cause third-party integrations to fail. […]
Types of Flows in Power Automate
In this blog we will discuss about types of flow in Power automate. Microsoft Power Automate is part of Microsoft Power Platforms which provides a lot of perks within your workplace to automate your repetitive tasks. Power Automate provides you Desktop flow and Cloud flow for automate business processes. Using Power Automate you can connect to more […]