I am Patrick and a super beginner. my Magento2 admin page shows a 404 error(whoops, our bad…). windows 10, xampp 3.2.4, php 7.3.27, magento 2.4.2., phpmyadmin. and I changed apache port 80 to 8888, 443 to 8889. I put localhost:8888 of course. I installed it with the sample successfully. and […]
Magento1
Hello and this is my code: $imgURL = 'path/to/my/image.png'; $fileSystem = $objectManager->create('MagentoFrameworkFilesystem'); $mediaPath = $fileSystem->getDirectoryRead(MagentoFrameworkAppFilesystemDirectoryList::MEDIA)->getAbsolutePath(); $product->addImageToMediaGallery($mediaPath.'catalog/product'.$data['thumbnail_image'],['thumbnail', 'swatch'], false, false); $product->setThumbnail($mediaPath.'catalog/product'.$imgURL); $product->save(); What I want to achive, is to assign programmatically an image and set it as a thumbnail. The above code, uploads the image, but it’s role: the thumbnail and […]
I need to create excel file at front-end and need to download bu there is no any reference please help with some solution.
Docker code RUN composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition=2.4.4-p1 /var/www/html Here is the error given to me below error Problem 1 #0 151.1 – Root composer.json requires magento/product-community-edition 2.4.4-p1 (exact version match), found magento/product-community-edition[2.4.4-p1] but these were not loaded, because they are affected by security advisories. To ignore the advisories, add (“PKSA-db8d-773v-rd1n”) […]
How to get custom field of sage 100 erp api value? Anyone can help to get custom fields created in sage 100 erp fields values in customers API ? E.g fields are as udf_abc
Discover the top 5 Magento 2 Shipping Restrictions extensions to control checkout rules, streamline orders, and enhance store efficiency. Continue reading on Medium »
I started to have this error when logging into the Magento storefront (url= /customer/account/loginPost/referer/): 1 exception(s): Exception #0 (MagentoFrameworkExceptionLocalizedException): The XML in file "/var/www/html/vendor/magento/module-negotiable-quote/etc/queue_publisher.xml" is invalid: Element 'publisher', attribute 'queue': The attribute 'queue' is not allowed. Line: 20 The xml was: 15: * from Adobe. 16: */ 17:--> 18:<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" […]