Try to catch the quote items, it’s working fine. But when quote is not in default website, the request is empty. How to change website ID or store ID in quote request? Did try with: $quote->setStore() $quote->setStoreId() But no luck. This is the code: $orderId = 123; $objectManager = MagentoFrameworkAppObjectManager::getInstance(); […]
Magento
The order is placed and the payment goes through, but the user just sees a blank page (FF) or a generic 500 message (Chrome). When renewing the page, the message is A successful payment transaction has already been completed. Please, check if the order has been placed. Other payment methods […]
Error found in System.log only in Production, not in Developer Mode: [2022-01-25 12:15:26] main.CRITICAL: Type Error occurred when creating object: AmastyPageSpeedToolsModelOutputPageTypeGetConfigPathByPageType, Argument 1 passed to AmastyPageSpeedToolsModelOutputPageTypeGetConfigPathByPageType::__construct() must be of the type string, null given, called in /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121 [] [] The GetConfigPathByPageType declare(strict_types=1); namespace AmastyPageSpeedToolsModelOutputPageType; use MagentoFrameworkViewLayout; class […]
I’m working in Magento 2.3.5 – p1. I have the minicart in the sidebar, when a product is added the minicart opens for a few seconds and then closes automatically. When the minicart icon is clicked, the minicart opens in the sidebar. I need that when the minicart icon is […]
I’m trying to remove all fake customer accounts, but first I need to unsubscribe them from my newsletter, I have around 600k fake accounts to remove, trying to run it via admin massive action I got the memory error below. Fatal error: Allowed memory size of 792723456 bytes exhausted (tried […]
Hi I am using below product collection,but it returns option id of attribute in collection my question is how to get option label rather than option id in collection. Is there any way ? Because I am sending data to other endpoint /** * @return MagentoCatalogModelResourceModelProductCollection */ private function getProductCollection() […]
On Product-Listing the available Filters got listed for the configured Product Attributes, also the availabe amount of products for this attribute is shown within braces on the listing. When apply a filter on that listing by clicking a item, i get this message: We can't find products matching the selection. […]
Why when I run composer install using Composer 2, I’m receiving these messages below asking to “trust” the Composer plugins? magento/magento-composer-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins Do you trust "magento/magento-composer-installer" to execute code and wish to enable it now? (writes "allow-plugins" […]