I have an issue about mass Update Attributes because I used datetime in product attribute and seem Magento not support it. ref: https://github.com/magento/magento2/issues/35214 So I tried skip that attribute by override MagentoBackendBlockWidgetForm.php di.xml: <preference for="MagentoBackendBlockWidgetForm" type="[Vendor][Module]BlockWidgetForm" /> Change this: protected function _setFieldset($attributes, $fieldset, $exclude = []) { $this->_addElementTypes($fieldset); foreach ($attributes […]
Magento2
working on an upgrade from 2.3.5 to 2.3.7 and suddenly got this error when compiling, does anybody know how to fix this? Looks like it had to do with me changing to “minimum-stability”: “dev”, because of mageplaza smtp asking for that. I tried to search for information, did a complete […]
I using the following code to redirect all visitors to the login page. Everything is working fine with the exception of the Forgotten Password link… how would be make an exception for that /customer/account/forgotpassword/ $redirect_url = Mage::getUrl('customer/account/login/'); $current_url = Mage::helper('core/url')->getCurrentUrl(); if ((!$this->helper('customer')->isLoggedIn()) && ($current_url != $redirect_url)) { Mage::app()->getFrontController()->getResponse()->setRedirect($redirect_url); }
We’re using Novuna PaybyFinance (formerly Hitachi PaybyFinance) version 1.7.1 in Magento 2.4.3-p3 and need to be able to access Novuna’s column 'finance_application_no' which is present in the sales_order column via the Order API. Can anyone guide me on how to do this? Thanks
I’m trying to programmatically add a row to a dynamic-rows component by extending the dynamic-rows and form components. When an inserted form is submitted, the form data is inserted into the programmatically added row. My code successfully adds a new row, and inserts the data into the input. So the […]
I have a problem when using multiple Inventory stocks. In my Magento 2.4 (2.4.5-p1) instance, there are multiple websites that act as country stores. All countries except one (USA) are supplied from one inventory stock; in Magento this corresponds to the default source/stock. For the USA I created another source/stock […]
I am trying to download the upgrade compatibility tool. Command : composer create-project magento/upgrade-compatibility-tool uct --repository https://repo.magento.com I got below error.
I am running magento 2 in a VM on apache2. I created a new store view for another language of our shop. Main domain: company.com Storeview subdomain: de.company.com Problem: If I go to “http://de.company.com” then I get redirected to http://company.com. I deleted all cookies and flushed the magento cache.
Recently I’ve upgraded 2.3 to 2.4.5 and having following system configurations. php8.1 MySQL 8 Apache2.4 (Also tried with Nginx) Varnish configured I have 16GB ram with 500Gn SSD and i5 processor ubuntu os. My minified profile results are below. magento - 10s magento->routers_match - 6s magento->routers_match->CONTROLLER_ACTION:catalog_category_view - 6s magento->routers_match->CONTROLLER_ACTION:catalog_category_view->action_body - […]