I’m using magento 2, upgraded to the last version 2.4.6-p2, and I’m having an issue with the success page, but not with all payment methods… What I get in the success page is: 1 exception(s): Exception #0 (Exception): Unknown Config Class Exception #0 (Exception): Unknown Config Class <pre>#1 MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() called […]
Magento
I’m running Magento 2.4.4. I’m facing a bit of an issue with Magento 2 backend – it keeps booting me out when I’m working with multiple tabs. To put it simply, I’m tinkering with a few item cards simultaneously. When I hit the save button to store my changes, a […]
I want to add a custom value to the items in the order summary during checkout ($parent). I followed all the other howtos on how to do it: Create plugin for MagentoCheckoutModelDefaultConfigProvider: etc/di.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="MagentoCheckoutModelDefaultConfigProvider"> <plugin name="my_config_provider" type="MyModulePluginConfigProviderPlugin" /> </type> </config> This is my plugin: […]
Please loading issue solve. I try to reload or redirect but that is not working. $resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT); $resultRedirect->setPath('*/*/'); return $resultRedirect; My code is -> $name = date('m_d_Y_H_i_s'); $filepath = 'export/custom' . $name . '.csv'; $this->directory->create('export'); /* Open file */ $stream = $this->directory->openFile($filepath, 'w+'); $stream->lock(); $columns = $this->SalesData->getAllExcelHeaderName(); foreach ($columns […]
Magento 2.4.5-p1 I have exported products from Magento 2.4.5-p1. When I open the CSV file and look at the Description column, some rows show the actual Product Description while many others show the following: <div data-content-type="html" data-appearance="default" data-element Why is that and how to fix?
PHP Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in “PREPAID_TAXABLE_AMOUNT”=> (($item->getDiscountAmount()) ? abs( round($item->getSubTotal(), 2) – round($item->getDiscountAmount(), 2) ) : ” ) I am getting this error in PHP 8 & Magento2.4 How to solve it?
I’m trying to update multiple items as a batch in Version 2.4.3-p1 $productUpdates = []; foreach ($updates as $magento_sku => $data) { $productUpdates[] = [ 'sku' => $magento_sku, 'product' => [ 'price' => $data['price'], 'extension_attributes' => [ 'stock_item' => [ 'qty' => $data['qty'] ] ] ] ]; $url = 'https://example.com/rest/default/async/bulk/V1/products/bySku'; […]
I have implemented a bridge between an external system and Magento, retrieving product details for the external system and save it after processing to Magento. My problem is that when there are more than some amount of records (not many, ~100) coming from the external system my job hangs in […]
I upgraded Magento to 2.4.6 from 2.4.4, Admin was working, but frontend was not, due to Porto needing upgrade. Upgraded Porto theme to the version specifically for Magento 2.4.6. Front end loads, but is missing some styling. I checked the custom CSS in Magento Admin, and all the custom styling […]