I always thought that if I ran composer install --no-dev that test modules in the Dev directory would not be populated but after finding a payment with that processed with “fake payment method”, I found out that is not true. These test modules are found in dev/tests/integration/_files/Magento/ and are generated […]
Magento1
I would like to understand how to add additional data to custom validation rule. I noticed in Magento 2 core files something like the following: validator.addRule( 'validate-customer-company', function (value, params, data) { return !(data.customer && data['is_company_user'] }, $.mage.__('Message') ... Does anyone know where data parameter comes from? In my case […]
Please help me solve the task. I use Magento 2.4.1 You need to make sure that when creating a product using duplication, its price field is cleared or empty by default. I would appreciate any help!
I’m using EaDesgin custom module to print the PDF invoice since I used Magento 2.4.2. After we did upgrade to Magento 2.4.5-p1, we faced an issue when we try to edit the pdf template from the template list page. When I open ite from google chrome on computer has static […]
We have been experiencing situations where we ship part of an order and then go back to ship the balance of the order and there is no SHIP option in the header. Image listed below. Has anyone else experienced this?
anyone encountered this issues after upgrading from Magento 2.3.1 to 2.4. This happened when I tried to compile the magento. PHP Fatal error: Uncaught Error: Interface ‘LaminasServiceManagerFactoryFactoryInterface’ not found in setup/src/Magento/Setup/Di/MagentoDiFactory.php:17 Stack trace: #0 vendor/composer/ClassLoader.php(444): include() #1 vendor/composer/ClassLoader.php(322): ComposerAutoloadincludeFile() #2 [internal function]: ComposerAutoloadClassLoader->loadClass() #3 [internal function]: spl_autoload_call() #4 /var/www/html/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(134): class_exists() […]
we have updated Magento from 2.4.4 to Magento 2.4.5 on our staging instance. Now after switching to PHP 8.1 during checkout we get the error message “Something went wrong with your request”. When switching back to PHP 7.4 all works well. The error logs do not show anything related. Does […]
I want to get the path of specific category using it’s ID like "Default/.../.../CategoryName" through SQL query. How can I do that? I get the category name using ID through SQL using this.