I am trying to update the “customer_entity” table “custom_column” value upon customer confirmation. For that I used a plugin as follow. This is my di.xml content for this pluging <type name="MagentoCustomerModelAccountManagement"> <plugin name="customCustomerEntityColumn" type="VendorModulePluginModelAccountManagementPlugin"></plugin> </type> And this is my Plugin class and method : <?php namespace VendorModulePluginModel; use MagentoCustomerApiCustomerRepositoryInterface; class […]
Blog
I am trying to encrypt my E drive using BitLocker with the password prompt appearing during boot, not after logging into Windows. The reason for this is that I need to run a script at machine boot which depends on the data stored on the E drive. And I do […]
I am constantly using the conditional formatting on Excel to highlight every other row in a spreadsheet by using the following formula: =MOD(ROW(),2)=0 No matter how many times I use it, I cannot memorize it, and I have to look it up. Is there a way to add this conditional […]
My setup is as follow: Modem from ISP is connected to a “primary wifi AP” (AP-A) through its WAN port AP-A serves wifi to assorted client devices in my house I would like “secondary wifi AP” (AP-B) (which is a MikroTik hAP ac²) to join AP-A’s network as a wifi […]
I am running this Rust server on Win 11 PC. The log says that it is running at 127.0.0.1:53932. If I go to http://127.0.0.1:53932/healthz on the same PC, I get Ok, which means it works OK. Now I try to access it from another machine (Macbook) within the same LAN. […]
I just set up a RAID 1 array using mdadm on Debian. I am trying to enable mdadm email monitoring using msmtp. I am following the msmtp documentation (https://marlam.de/msmtp/msmtp.html#Examples) and want to store my Gmail app password using either secret-tool or gpg. Both tools work fine on their own: I […]
Discover how Adobe Commerce services can elevate your Magento store’s performance, security, and scalability for long-term growth Continue reading on Medium »
Magento 2 version: 2.4.6-p8 Mariadb version : 10.4 I m facing an issue when we launch ‘bin/magento cache:clean‘ on our Magento 2 instance. Indeed, when the cache clean is launched, our database threads are overloading with one specific query : Sending data | SELECT DATE_FORMAT(period, '%Y-%m') AS `period`, SUM(qty_ordered) AS […]
How to override vendormagentoframeworkViewElementTemplateFileValidator.php using a preference or a plugin in a custom module. Workout: appcodeVendorEditCore1di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="magentoframeworkViewElementTemplateFileValidator" type="VendorEditCore1frameworkViewElementTemplateFileValidator" /> </config> And my validator.php file path is, Vendor Path : vendormagentoframeworkViewElementTemplateFileValidator.php Custom Module Path: appcodeVendorEditCore1frameworkViewElementTemplateFileValidator.php I am updating following code, /**protected function isPathInDirectories($path, $directories) { […]