We noticing since last few months that Magento instances are affecting of malware on the Magento2 sites? For example: health_check.php attack – this file compromised Credit card fields were update with “_hook” post fix Please let us know if someone has more information on such malware attacks. Is there any […]
Magento2
I created a new validation role (testcaractere_speciaux_street) to eliminate specific spatial characters for the two fields address and address complement in the interface of the add address (customer account). the role works fine in the address field because it contains the “required-entry” class and doesn’t work in the complement address […]
i’m editing a Magento 2 module. If i install the module via composer require, then run all the necessary commands, the module works. If i manually copy the module files from vendor/{vendorname}/{modulename} to app/code/{vendorname}/{modulename}, then uninstall the vendor module via composer+all the necessary commands, then i enable the module present […]
I am noticing in Magento MSI on 2.4.3 that if default source is at quantity 0 item is_in_stock status goes to out of stock irrelevant of whether the other product sources have saleable quantity thats purchasable on front end still. I have 3rd part extensions that rely on the is/out […]
I have a site with magento 2.4 in AWS with kubernetes and I try to execute the jobs with bin/magento cron:install. This generate in crontab a new line: The problem is when I check with command top the processes I see multiple cron:run executing: processes overlap and causes the machine […]
I have a custom model with three fields, i.e id, city and region. How can I remove duplicates from the region column when querying the table? How can I group all the cities under the same region? I have pasted the response from the model below Array ( [0] => […]
I am adding custom tax based on a particular shipping and payment method using the following plugin: use MagentoCustomerApiDataAddressInterfaceFactory as CustomerAddressFactory; use MagentoCustomerApiDataRegionInterfaceFactory as CustomerAddressRegionFactory; use MagentoQuoteApiDataShippingAssignmentInterface; use MagentoQuoteModelQuoteAddress; class Tax extends MagentoTaxModelSalesTotalQuoteTax { /** * Class constructor * * @param MagentoTaxModelConfig $taxConfig * @param MagentoTaxApiTaxCalculationInterface $taxCalculationService * @param MagentoTaxApiDataQuoteDetailsInterfaceFactory […]
I’m learning about Collections, Repositories and DTO, and I’m still trying to figure out what’s the best way to query a table to fetch data. I also found that we can use MagentoFrameworkAppResourceConnection for direct SQL queries. My question is: Which way should I use for future projects, since my […]
Every day we get 100 if not 1000’s of main.CRITICAL: Front controller reached 100 router match iterations error in our log. var/report is full of logs. Yesterday we had 280 logs in /report. in var/report we get: {"0":"Front controller reached 100 router match iterations","1":"#1 If I understand this correctly “1” […]