Questions tagged [magento2.4.0]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
4answers
537 views

Missing mapping in di.xml after upgrading 2.4.0 to 2.4.1

The app breaks completely after upgrading a working 2.4.0 to 2.4.1 using instructions from https://devdocs.magento.com/guides/v2.4/comp-mgr/cli/cli-upgrade.html. Steps: composer require magento/...
3
votes
1answer
52 views

Add additional info based on country selection condition in one page checkout country field

The condition should be like if the country is the UK then the text should not be shown. If the country is other than the UK then the text should be shown. On the cart page, I achieved using the ...
2
votes
1answer
2k views

elasticsearch command error

I have installed elastic search in ubuntu. using this link but when I run this command "sudo systemctl start elasticsearch" I get the below error. Job for elasticsearch.service failed ...
2
votes
1answer
106 views

Magento 2.4.0 versus 2.3.5 regarding CentOS 6 vs CentOS 7 and the version of Elasticsearch

We currently run our Magento stores on 1.9.4. It is time for us to upgrade but our hosting company tells us we are not able to install Magento 2.4.0 due to the fact that it requires a CentOS 7 Upgrade ...
2
votes
1answer
77 views

Magento2 - How to remove/disable Custom Free Shipping Method from front-end only?

I created a Custom Free Shipping method and want to disable only in front end. I try using getAreaCode() check here..but not working in Magento 2.4.0. Please help if you know.
1
vote
1answer
783 views

Unable to activate integration with Oauth 1.0

I have been trying to create my own external application using Oauth, but I get to filling out the details for the callback URL and Identity link URL (and the name), which creates fine, but when I go ...
1
vote
1answer
286 views

Magento 2.4 Track this shipment link error on open Popup

I was trying to implement a custom shipping label programmatically but I'm getting error below: Error: Call to undefined method Magento\Framework\Phrase::getTracking().... I am using \Magento\Sales\...
1
vote
2answers
83 views

Magento 2.4 installation on local returning elasticsearch error

I have installed elasticsearch on local (xampp) and on http://localhost:9200/ is showing it is running. But when I trying to install magento 2.4 getting elasticsearch error. Magento installation ...
1
vote
1answer
30 views

How to Enable Custom Shipping Method For Specific Store View?

I have Multistore website and now I want to enable Custom Shipping Method for Specific Store. How to I'll do this ? Thanks
1
vote
1answer
45 views

Getting array brackets in magento 2 log

I am trying to print the log using logger method in magento 2, while printing i am getting 2 empty array brackets in the log. Can anybody say why it happens like this and how to remove those brackets? ...
1
vote
0answers
36 views

PHP Fatal error on inventory:reservation:list-inconsistencies command

Magento 2.4.0 PHP 7.3 MariaDB 10.4 When I try to run this command: bin/magento inventory:reservation:list-inconsistencies -r I get the following error: PHP Fatal error: Uncaught TypeError: Argument 1 ...
1
vote
1answer
28 views

How to get selected simple product id in the configurable product from the dropdown options in Magento 2

How to get selected simple product id in the configurable product from the dropdown options in Magento 2 The below code works fine with "Swatch Option" but not work with the "Dropdown ...
1
vote
0answers
443 views

Magento 2.4.0 sort products by is_salable on product list

I want to products on product list will always be sorted from salable to not salable. Products which have "Add to cart" button should be show firstly(It should work for simple and ...
1
vote
0answers
30 views

Magento 2.4 Category image lost after re-saving category backend

After Migrating Magento 2.4 Category image lost after re-saving category backend issue How to i solve this ?
1
vote
2answers
44 views

Magento 2: Create product using rest API image upload not working

I have creating product using rest API but image upload not working. API: baseurl/rest/V1/products Method: POST Body: { "product": { "sku": "info", "name&...
1
vote
1answer
32 views

My installation does not load content

I am really new to this world of magento, I installed Magento 2.4 in XAMPP with the help of compposer, elastic search, I did everything to the letter, when I checked my installation I saw that it does ...
0
votes
1answer
20 views

How to get the product list data through magento 2 API

when i am calling API through Postman. Only sku, position and category id is coming but How i want more detail like product name price and other details
0
votes
3answers
74 views

Get error after disabling a module

I have upgraded Magento from 2.2.4 to 2.4.0, i have custom modules that are not compatible with the new Magento version. So i disabled the module but when i run php bin/magento setup:di:compile I ...
0
votes
1answer
51 views

Need to call a function on button click

I need to print log info when a button is clicked. I am using the below code, please let me know what are the mistakes in my code. I am trying to call a function like below. 'on_click' => 'execute()...
0
votes
1answer
65 views

Update Product Descriptions programmatically

I'm trying to build a module that gets product-data externally and updates existing products to do so. Fetching the products hasn't been a problem,I've been able to do so in a number of ways. Updating ...
0
votes
1answer
223 views

How to override model-popup.html magento 2.4.0

How to override modal-popup.html h1 tag replace span tag. vendor/magento/module-ui/view/base/web/templates/modal/modal-popup.html <h1 id="modal-title-<%- data.id %>" class=...
0
votes
1answer
639 views

Column not found: 1054 Unknown column 'main_table.entity_id' in 'field list',

getting error in Magestore Banner Slider, 2 exception(s): Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'main_table.entity_id' in 'field list', ...
0
votes
1answer
139 views

Magento 2 Invalid template file

I am trying to override sales_order_create_index.xml to remove the custom payment method but getting this error 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid ...
0
votes
3answers
101 views

How to add custom tab in product details page in magento 2.4.0

how to add a new custom tab in the product detail page in magento2 Magento_Catalog/layout/catalog_product_view.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/...
0
votes
2answers
481 views

Magento 2.4 Installation Issue on localhost Xampp

I am trying to install M2.4 on my local machine, But getting error list, I have install elastic search and when i run below command in CMD then getting error list. Please check attached screenshot. ...
0
votes
1answer
128 views

can anyone tell me how to install magento version 2.4.0? what to do next from here

I am trying to install Magento version 2.4.0 in my localhost by running URL in the browser directly. Can anyone tell me how can i install it? What to do next from here. Please help me to solve this ...
0
votes
0answers
51 views

Magento 2.4.3 : default magento 2.4.3 success or error message not appear on frontend?

We have magento 2.4.3 upgrade after any action/event perform we can't appear success/error messages.if we have go to other page then the message will be appear there.
0
votes
1answer
15 views

Magento2 Product Collection Observer only changes one page at a time

In ListProduct block Magento is using initializeProductCollection() to initialize the collection. While initializing it dispatches event catalog_block_product_list_collection as follows. $this->...
0
votes
0answers
16 views

custom ui form on menu click?

I'm try to add a form on menu click and it doesn't works. Can anyone knows?? <menu> <update id="FME_Extensions::fmeextensions" title="FME Extensions" module="...
0
votes
0answers
26 views

How to add loader for particular block in magento2

I want to add a loader for a particular section on the home page. I tried with Magento loader. But it's showing for the whole page. I want to show the loader only for a particular section. How to do ...
0
votes
0answers
17 views

Items are missing on Order Details Page

I am getting an error, when customers are placing an order then on In admin Sales=> Order details page Orders items are missing. But invoice is created successfully. All items are coming in when I ...
0
votes
0answers
12 views

Magento 2.4.0 Missing CLI "UPDATE" Command

I have to solve a mass csv import issue, described here: Magento 2.3.3 | unable to save changes on imported products. This needs me to use the Magento CLI UPDATE command, which I can't execute. It ...
0
votes
1answer
43 views

After Upgrade to magento2.4.2-p1 getting admin login error, redirecting to denied controller

I have upgraded to Magento2.4.2-p1, and I am not able to log in to admin. It is redirecting to the denied controller. Check screenshot
0
votes
1answer
20 views

After upgrade to magento2.4.2-p1, getting error "stat failed for static/frontend/_view/en_US/Magento_Theme/favicon.ico"

Upgraded to latest version of magento which is 2.4.2-p1. Now static url's are coming like /static/frontend/_view/en_US/Magento_Theme/favicon.ico and site is broken. I did not find any solution of ...
0
votes
1answer
24 views

Change layout of main and subcategories

I'm aware that I can change the layout of a specific category by creating a layout file with the name catalog_category_view_id_123.xml where 123 is my category id. How do I apply a layout change to ...
0
votes
0answers
74 views

Your search returned no results after search category or product in the search box error in Magento 2.4.0

As I am searching anything inside the search box like category name or product it is showing not results error in the Magento 2.4.0 version. Can you please how to resolve the issue quickly ?
0
votes
0answers
67 views

How to create a website, store and storeview using data patch in magento2.4.2

I want to create a website, store and storeview using data patch in magento2.4.2. How to do that. Thanks
0
votes
1answer
76 views

Show customer custom attribute in company admin grid

Using magento enterprise on cloud I have created a customer attribute external_id. When a customer account is converted to a company account how do I show a column in the grid for this custom ...
0
votes
2answers
161 views

UI Component form show dropdown or multiple text fields based on content

I have a form for adding animals with a field called species. This UI Component is: <field formElement="select" name="species" sortOrder="10"> <argument name=...
0
votes
0answers
9 views

How can show website wise currency with price according to website in custom module magento 2 admin

I have multi websites in magento 2 with multi currency. I have set up 2 currencies , one(main website) is USD and EURO is for 2nd website(france website). Base currency is USD. I have shown form in ...
0
votes
0answers
24 views

Magento 2.4.0 Position Ordering Issue

Since upgrading from Magento 2.2.4 to Magento 2.4.0, the Order by position doesn't work. The ordering by price and name, neither of which we want to use, are working fine, it's just the position ...
0
votes
1answer
90 views

json_decode is not working properly in magento 2.4.0

I am trying to decode the JSON in normal string and print that in the info log in Magento 2.4.0 but I am getting nothing in the info log. Adding the code below anyone please suggest a solution for ...
0
votes
1answer
35 views

Order is complete send order confirmation email only to "admin email address" not to customer magento 2.4.0

Email Confirmation When order is "complete" send order confirmation email only to "admin email address" not to customer for every payment method. Advance Thanks for help.
0
votes
1answer
56 views

Custom log file not creating in magento 2.4.0

I am trying to create a custom log and print the info message on button click in Magento 2, I have extended the monolog/loggger method but the custom log file is not created. Someone can you say what ...
0
votes
0answers
17 views

Magento 2.4 - different checkout page for different store under one website

I have 3 stores(store1, store2, store3) under 1 website(Main Website). Is it possible to have different checkout fields (custom checkout page) for the stores?
0
votes
1answer
24 views

Can we use captials letters for vendor name

As per Magento 2 documentation can we use full capital letters for vendor name (i.e RSE). Also, can I get any Magento document for this?
0
votes
0answers
41 views

SSH commands stopped working after updating Magento to 2.4.0

After updating Magento to 2.4.0, When doing any SSH command, it shows Constant name is expected. I found the issue is coming from the file vendor/magento/framework/Data/Argument/Interpreter/Constant....
0
votes
1answer
26 views

Custom log file not creating

I am using Magento 2.4.0 and trying to put a custom log for my custom module by extending the \Monolog\Logger but the log file is not created in the Magentoroot/var/log path. I have attached all the ...
0
votes
1answer
27 views

Image resize issue

I am uploading below image for the product via backend. But it changes to below image It is clearly visible that it changes the color. I have tried using ImageMagik also. I have even tried this ...
0
votes
1answer
131 views

Urgent help - Place Order button is not working on click. Nothing happens and no errors logged for Magento 2.4.0

I am getting complaints from few users that when they go to Checkout and click on "Place Order" button nothing happens. I tried adding lots of debug and system logs but no errors or issues ...