I am looking to override the default Magento Sales New Credit Memo - Customer email template but I’m looking to have the email show the details for the item which has been refunded, as currently, the email only looks like this for example: But I want it to show the […]
Magento
Would like to add a last order date field to a customer collection however not sure how to go about it. I’ve been researching joins to the order table however having a bit of difficulty with this one as can’t get my head around the one to many relationship and […]
It seems that on my Magento 2 instance the controller methods are somehow cached because I am doing changes, compiling the code, but they are not visible when they are called. I even added a die() within the main controller method, but I am getting the same result: the controller […]
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(); […]
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 […]
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 […]
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 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 […]