We have created a megamenu and want to load the category image on the menu. I’m not sure how to load that. As of now, we have just hardcoded the image. Below is the code: < ?php namespace ButterflyMegamenuBlock; class Categorylist extends MagentoFrameworkViewElementTemplate { protected $_categoryHelper; protected $categoryFactory; protected $_catalogLayer; […]
Magento2
I am using Magento version 2.3.2 EE. I am trying to run the “composer install” step (I have not modified the composer.json file in any way) and I’m seeing the following error: $ composer install Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be […]
We recently upgraded from 2.1 CE to 2.3 We are having a lot of issues with the catalog inventory tables in the database. All products in our store are set to “in stock” status. Cache is totally flushed, and I have reindexed multiple times. This is not a configuration issue. […]
Does anyone know why after upgrading to Magento 2.2.9, we don’t see the Dashboard Graph? It seems really obvious but I can’t work it out and my searches on Google aren’t helping ЁЯЩБ Any help greatly appreciated Mike
Please can someone let me know how I can empty the additional_attributes for all of the products in my site. Due to some import issue wrong information has been imported and when I exported csv it is showing under column additional_attributes So looking for quick way to empty all additional_attributes […]
I’m creating a new attribute via install, this is the code: $installer = $this; $installer->startSetup(); // Add new Attribute group $groupName = 'Atributos'; $entityTypeId = $installer->getEntityTypeId('catalog_product'); $attributeSetId = $installer->getDefaultAttributeSetId($entityTypeId); $installer->addAttributeGroup($entityTypeId, $attributeSetId, $groupName, 0); $attributeGroupId = $installer->getAttributeGroupId($entityTypeId, $attributeSetId, $groupName); $installer->addAttribute("catalog_product", "prd_alto", array( 'group' => 'Atributos', 'label' => 'Alto Producto', 'input' => […]
I have been asked by a mobile dev to provide magento 2 API to create a single sign on application for my store. I have provided these info: тАв curl -X POST "https://example.com/rest/V1/integration/customer/token" -H "Content-Type: application/json" -d '{"username":"user@email.com","password": "password"}' token for above user : "ypilvsgqpfye3wkary6kkqkjpmsscfzxc" тАв curl -X GET "https://example.com/rest/V1/customers/me" […]
I’m trying to update the stock and price of the products in a magento 2.3 store from a csv file. The file I have has about 5,000 rows, and about 3,500 of those correspond to products in magento. About 1,500 of those needed update of price or SKU or both, […]
I migrate data from Magento 1.9 to Magento 2.3.2, after that customer adds new products to 1.9, so I’m in trouble. I have a database with new products that were added at Magento 1.9, but I don’t know how to migrate them safely and what tables I should migrate. As […]