Skip to content

magento man

Payment method is not displayed on frontend

please tell me what is wrong? i use this tutorial https://www.youtube.com/watch?v=BRBtiL9Sp10 i try create paymant method without deprecated method thank you! etc/payment.xml <?xml version=”1.0″ ?> <payment xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Payment:etc/payment.xsd”> <groups> <group id=”offline”> <label>Coins Payment Methods</label> </group> </groups> <methods> <method name=”coins”> <allow_multiple_address>1</allow_multiple_address>… Read More »Payment method is not displayed on frontend

Plugin Class does not exists

I am creating plugin to alter API response in M2.4.3. I am trying to alter this functionality via plugin MagentoFrameworkWebapiRestResponse and function prepareResponse My di.xml file is: <?xml version=”1.0″ ?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”MagentoFrameworkWebapiRestResponse”> <plugin name=”vendor_apiresponses_extend_Webapi_rest_response” type=”VendorApiResponsesPluginFrameworkWebapiRestResponseUpdateResponse” /> </type>… Read More »Plugin Class does not exists

Unable to add attribute to product by InstallData

I would like to add a custom attribute to the product and create an installData.php according to the guide. However, nothing changed after se:up. Please help. app/code/My/Module/Setup/InstallData.php <?php namespace MyModuleSetup; use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoFrameworkSetupModuleDataSetupInterface;… Read More »Unable to add attribute to product by InstallData