Skip to content

module

Auto Added by WPeMatico

I’m trying to install sample data

The “https://repo.magento.com/archives/magento/sample-data-media/magento-sa mple-data-media-100.4.0.0.zip” file could not be written to C:xampp2htdoc smyhikmadh/vendor/composer/tmp-158e118cd3c775dc66f63508048335ae.zip: Faile d to open stream: Permission denied show’s this denied msg!

my First Admin Page is not shown up

I try to write a own module. After 1 week of searching I hope u can help to go on. Its a very simple admin page. module_dir: app/code/famberg/module_afterbuysync/ … Controller/Adminhtml/Settings/Index.php: <?php namespace FambergAfterbuySyncControllerAdminhtmlSettings; use MagentoBackendAppActionAction; use MagentoBackendAppActionContext; use MagentoFrameworkAppActionHttpGetActionInterface; use… Read More »my First Admin Page is not shown up

Magento 2 – Error with new custom module – Impossible to process constructor argument Parameter #1

Does anyone have any idea what this error is when running this command in magento 2: setup:upgrade for a custom module? Here is the error: Impossible to process constructor argument Parameter #1 [ <required> MagentoCmsSetupPageSetupFactory $pageSetupFactory ] of ViewSonicMetaRobotsSetupPatchDataAddMetaRobotsAttribute class… Read More »Magento 2 – Error with new custom module – Impossible to process constructor argument Parameter #1

Error in Postman and show that Invalid type for value: “%productId%

I have developed a module in my magento 2.2.6 for to create an API that can update the product price and quantity via product id . Please see my code below /var/www/html/app/code/AdmNetsuitePQ/NetsuitePQ/registration.php <?php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, ‘AdmNetsuitePQ_NetsuitePQ’, __DIR__ ); /var/www/html/app/code/AdmNetsuitePQ/NetsuitePQ/Model/ProductUpdate.php <?php… Read More »Error in Postman and show that Invalid type for value: “%productId%