I migrated Magento 2 (version 2.4.6 deployed via Helm chart on Kubernetes) media folder to an AWS S3 bucket following the instructions from this documentation: https://experienceleague.adobe.com/docs/commerce-operations/configuration-guide/storage/remote-storage/remote-storage-aws-s3.html?lang=en. It worked successfully, and I observed that Magento had migrated the media folder to the bucket, only storing the cache locally in /var. However, […]
Magento
I am planning to create a multisite Magento store that may only be accessible to B2B customers. The users and user groups should be created via the backend, a registration via the frontend is not planned. Depending on the user group, the users should be redirected to a website assigned […]
I get error when I open admin panel of Magento 2.4 BadRequest400Exception(code: 400): {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [position_category_103] in order to sort on I tried bin/magento indexer:reindex and bin/magento indexer:reindex catalogsearch_fulltext but it doesn’t help
I already try this : public function execute(Observer $observer) { $layout = '<referenceContainer name="main"> <block class="CMBlockModalOverlay" template="C_M::modal_overlay.phtml"/> </referenceContainer>'; $observer->getLayout()->getUpdate()->addUpdate($layout); $observer->generateXml(); }
I see in my reservation table some products’ stocks have been compensated when it’s invoiced and some when it’s shipped. I ran the CLI commands below, and I don’t see any inconsistencies. php -d memory_limit=-1 bin/magento inventory:reservation:list-inconsistencies -r -c | xargs -L1 php -d memory_limit=-1 bin/magento inventory:reservation:create-compensations Why it’s happening? […]
For some reason on a new page I created on the admin, I can’t pass text to Body. Is there any way to suggest what I’m missing? My code: appcodeDevRestApietcadminhtmlmenu.xml <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd"> <menu> <add id="Dev_RestApi::dev_module" title="Dev Module" module="Dev_RestApi" sortOrder="10" parent="Magento_Backend::content" resource="Dev_RestApi::dev_module"/> <add id="Dev_RestApi::dev_module_PriceInfo_Module" title="PriceInfo_Module" module="Dev_RestApi" sortOrder="10" […]
here is my Code public function checkCondition() { // $PrId = $this->_registry->registry(‘current_product’); // $prdId = $PrId->getId(); $categoryId = $this->getRequest()->getParam(‘id’); $ruleColl = $this->customConditionModel->create()->getCollection(); foreach ($ruleColl as $ruleKey => $ruleVal) { $prdData = $this->categoryFactory->create()->load($categoryId); $Data[] = $ruleVal->getConditions()->getName(); } $data = isset($Data); if($Data == false){ echo ''; }else{ return $Data; } // $data1 […]
Magento2 how to convert resed password toke to readable format In M2.3 do you now how was this rp token string getting converted to code that we enter {{trans “your reset token :%token” token=$customer.rp_token}} In 2.3 code was like 45678 & M2.4 it is string value 3djzQWgymtFYsc4sKNuCIDxUG3vVkcvm
Hi I have installed magento 2 on docker.when I stop and start the container ,it shows error: failed switching to “root”: operation not permitted After I run as root also the issue persist.docker.compose.yml file as follows version: '3' services: web: image: webdevops/php-apache-dev:8.1 container_name: web restart: always user: application environment: - […]