Trends Of Digital Marketing
Let’s discuss today, What is the trends of Digital Marketing. Nowadays, consumers are not simply introduced to the products or services freshly arrive in the market. There is a bunch of technological gadgets, social media channels and mobile platforms which keeps rotating around the user. Instead of physical appearance, consumers are now surrounded by a […]
How to reset Customer Password from Database in Magento 2
Magento 2 update customer password using the database:- Run/execute below query in database SET @email=’[email protected]’, @passwd=’asd123′, @salt=MD5(RAND()); UPDATE customer_entity SET password_hash = CONCAT(SHA2(CONCAT(@salt, @passwd), 256), ‘:’, @salt, ‘:1’) WHERE email = @email; Magento 2 update admin password using database:- Run/execute below query in database SET @salt = MD5(UNIX_TIMESTAMP()); UPDATE admin_user SET password = CONCAT(SHA2(CONCAT(@salt, ‘admin@1234#’), […]
How to get database detail in Magento 2
Today, I’m sharing to you the “How to edit Magento 2 Database Configuration file” tutorial. When installing or changing hosting for your Magento store, editing database configuration file is really important Go to your store core folder and open the env.php file under the app/etc folder. Find the next code, where database_name is actual database […]
Encrypt decrypt in php with salt
OpenSSL functions to use encrypt decrypt in php with salt below code Encrypt Method $privateKey = ‘AA74CDCC2BBRT935136HH7B63C27’; // user define key $secretKey = ‘5fgf5HJ5g27’; // user define secret key $encryptMethod = “AES-256-CBC”; $string = ‘IB12345’; // user define value $key = hash(‘sha256’, $privateKey); $ivalue = substr(hash(‘sha256’, $secretKey), 0, 16); // sha256 is hash_hmac_algo $result = […]
Add Recaptcha in Custom From Magento 2.4
This post is related to add Google Recaptcha to Custom Form in Magento 2.4.X Module Name: Integerbyte_MyRecaptcha Files List: app/code/Integerbyte/MyRecaptcha/registration.php app/code/Integerbyte/MyRecaptcha/etc/module.xml app/code/Integerbyte/MyRecaptcha/etc/adminhtml/system.xml app/code/Integerbyte/MyRecaptcha/etc/config.xml app/code/Integerbyte/MyRecaptcha/etc/frontend/routes.xml app/code/Integerbyte/MyRecaptcha/etc/frontend/events.xml app/code/Integerbyte/MyRecaptcha/Observer/RecapchaObserver.php app/code/Integerbyte/MyRecaptcha/Controller/Index/Index.php app/code/Integerbyte/MyRecaptcha/Controller/Index/Save.php app/code/Integerbyte/MyRecaptcha/view/frontend/layout/myrecaptcha_index_index.xml app/code/Integerbyte/MyRecaptcha/view/frontend/templates/form.phtml 1. Module Registarion file app/code/Integerbyte/MyRecaptcha/registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, ‘Integerbyte_MyRecaptcha’, __DIR__ ); 2. Create module.xml file app/code/Integerbyte/MyRecaptcha/etc/module.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Module/etc/module.xsd”> <module name=”Integerbyte_MyRecaptcha” setup_version=”1.0.0″> </module> […]
Top 5 Automation Tools For Android Mobile Application Testing
In this blog, we will discuss Top 5 Automation Tools for android mobile application testing. The development process of the mobile applications have come a long way. It majorly comprises of several processes, i.e. development, testing, deployment, marketing, and launch. Most of the companies have acquired advanced technology and tools to develop Android mobile applications. […]
Magento 2 convert an array to a collection object
Today we will let you know How to convert an array to a collection object in Magento For example, we have an array of data fetched from the database. And we want to merge it with the Magento collection object or want to provide the data as the collection The collection class is Magento\Framework\Data\Collection, but […]
How to get controller, module, action and router name in Magento 2
Today we will show how we can get the name of the current route name, module name, controller name, action name, and route name in Magento 2. You can also check current pages like catalog_category_view, catalog_product_view, etc. HTTP request use to get this type current name, Please have a look at the below code and […]
HTML Responsive Web Design
Let’s discuss about HTML Responsive Web Design. The number of people using smartphones and tablets is increasing each passing day. Millions of users are surfing the web via mobile. Mobile search is taking over Internet surfing, which covers almost everything such as social media, checking emails, online shopping, online music and games, online ticket bookings, […]
How to check current page in Magento 2
Here We will know, what the current page, like CMS page or category view page or product view page or Homepage in Magento 2 Sometimes we need to check the current page so write or add conditions according to logic. So the first step, to check the current page is to write the following script […]
Open popup on grid row click in Magento 2
When you need to open popup on grid button, Follow the steps given below to add a view button in the admin grid: 1. Add component in column in grid layout file and add js and class file path File path: app/code/IntegerByte/Popup/view/base/web/js/grid/columns/email.jsFile path : app/code/IntegerByte/Popup/Ui/Component/Listing/Column/Email.php <column name=”email” class=”IntegerByte\Popup\Ui\Component\Listing\Column\Email”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item […]
Mobile Advertising Fraud (Part-2)
In our previous blog of Mobile Advertising Fraud. Lets continue to discuss the same. Mobile advertising has its own advantages in terms of benefiting the marketers and engaging with the customers, but it is also being used in fraud. Yes! There are many examples of mobile fraud advertisement. For those, who have become a part […]