skip to Main Content

I can't delete the folder generated/code in Magento 2.2.6

I use Docker for my project. After installing the 2.2.6 package with sample data, it gives me problems like the following when I execute php bin/magento cache:clean The file "/var/www/html/src/generated/code/Magento/Backend/App/Request/PathInfoProcessor/Proxy.php" cannot be deleted Warning!unlink(/var/www/html/src/generated/code/Magento/Backend/App/Request/PathInfoProcessor/Proxy.php): No such file or directory The…

VIEW QUESTION

Magento2 Add Product Attribute Not Working

I have created a file setup/installdata.php: use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoFrameworkSetupModuleDataSetupInterface; class InstallData implements InstallDataInterface { private $eavSetupFactory; public function __construct(EavSetupFactory $eavSetupFactory) { $this->eavSetupFactory = $eavSetupFactory; } public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { $eavSetup…

VIEW QUESTION

SQL to get order items from Magento?

I need to get a list of ordered physical items to ship from the database. The list need to consist of name, sku, quantity, price, weight, and dimensions. How can we fo this without using Magento's own framework components. The…

VIEW QUESTION

adding a new theme in magento2

i have uploaded the files of the new theme bought from https://themeforest.net/user/codazon . But don't know where to move each individual files to the correct directories in order to add this new theme. Below is the files inside the new…

VIEW QUESTION
Back To Top
Search