Skip to content

magento man

Magento 2.4 , Query execution was interrupted, query_timeout exceeded

its given when indexing Category Products index Category Products index process error during indexation process: SQLSTATE[70100]: <<Unknown error>>: 1907 Query execution was interrupted, query_timeout exceeded, query was: INSERT INTO catalog_category_product_index_store2_tmp (category_id, pr oduct_id, position, is_parent, store_id, visibility) SELECT cc.entity_idAScategory_id, ccp.product_id,… Read More »Magento 2.4 , Query execution was interrupted, query_timeout exceeded

Extension attributes and api functional testing

When running api functional tests on a module which uses non-scalar array extension attribute type, I’ve got the error ReflectionException: Class “ModuleNameCustomerApiCustomAddressInterface[]” does not exist the attribute is declared as: <extension_attributes for=”MagentoCompanyApiDataCompanyInterface”> <attribute code=”custom_addresses” type=”ModuleNameCustomerApiCustomAddressInterface[]” /> </extension_attributes> The module works… Read More »Extension attributes and api functional testing

Magento2, in system xml file, add custom field product “SKU” “price”, “sale price”” and a button for “update price” dynamically

I want when admin select custom field product “sku”, able to Change “price”, “sale price” and a button for “update price” dynamically. I created only field by system.xml but unable to its functionality dynamically. please help. <?xml version=”1.0″?><config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Config:etc/system_file.xsd”>… Read More »Magento2, in system xml file, add custom field product “SKU” “price”, “sale price”” and a button for “update price” dynamically