I added a select category in product form but it doesn’t work.After selecting categories and saving the selections are not stored. Please help me with this problem. Maybe i’m missing something someone please give me a more complete description .Thank . file product_form.xml ............................. <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> […]
Magento
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 […]
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 »