Goal : Create a /test/index/index route that will load a product listing page with a custom collection. Expectation : The custom collection printed in listing and the filters must be properly defined from the collection we asked. Issue : I can get the custom collection in the listing, but the […]
Magento2
After successful crawled, am seeing Missing field “Image” issue for all PDP pages in the Google search console. I do have all images for Products in my site. How can i fix this issue. do we have any configuration for this in Magento 2 admin? Thanks.
I developed a Magento 2 module to add customer groups dropdown in admin panel Store-> Configuration -> Sales -> Minimum Order Amount so I can set min order amount only for some customer groups and not for all as you can see in the picture, the customer group dropdown is […]
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, […]
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" […]