Questions tagged [magento2.4.0]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
127 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 ...
0
votes
0answers
49 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="...
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 ...
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
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 ...
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 ...
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
19 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
1answer
74 views

PRODSECBUG-2403 RCE Vulnerability patch has not been detected! (500) get in magneto 2.4.0 security scan

i am using magneto 2.4.0 . While run magento security scan get this message FAIL | Patch | RCE Vulnerability | PRODSECBUG-2403 RCE Vulnerability patch has not been detected! (500) when try to fin ...
1
vote
1answer
779 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 ...
0
votes
0answers
71 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
193 views

Magento 2.4 - Catalog search index process unknown error

I am getting a catalog search index process unknown error when I run php bin/magento indexer:reindex I don't know how to solve this. I have successfully connected to Elasticsearch 7 on the admin ...
0
votes
1answer
637 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
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
75 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 ...
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? ...
0
votes
1answer
89 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
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
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.
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 ...
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
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
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
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()...
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 ...
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 ...
2
votes
1answer
76 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.
0
votes
1answer
220 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
2answers
83 views

Is it possible to manipulate the default Store View programmatically?

I recently tried to update some product-information on the default storeView (id 0). Instead of applying the changes to the default store, it instead applied them to the product in the next higher ...
0
votes
1answer
26 views

Persist Product setData

I'm using the following code to try and update a product's description: $product = $this->productRepository->getById(5); $product->setData('description', 'foo'); $this->productRepository-&...
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
171 views

Uncaught Error: Syntax error, unrecognized expression: ui/template/modal/modal-popup.html magento 2.4.0

Uncaught Error: Syntax error, unrecognized expression: ui/template/modal/modal-popup.html 2.4.0 custom.js popupTpl: "ui/template/modal/modal-popup.html", jquery.js:1508 Uncaught Error: ...
0
votes
0answers
55 views

elasticsearch in 2.4.0 in a one click installation

I have installed magento 2.4.0 on shared hosting through godaddy using their one click installation. this didn't require to have elasticsearch set up in advance I have an elasticsearch deployment set ...
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 ...
0
votes
0answers
55 views

How to get selected simple product id in configurable product in magento 2

How to get selected simple product id in configurable product in magento 2 The below code working fine with Magento 2.3.x version but it not work with magento 2.4.0 version. requirejs(['jquery','...
0
votes
0answers
286 views

Slow loading Category Page Magento 2.4.0

I am experiencing slow loading Category Pages using Magento 2.4.0. We have 27,000 products of which approximately 6,000 are for the Magento website. The other 21,000+ are for eBay and Amazon. Normal ...
0
votes
0answers
36 views

custom brand filter issue duplicate layered navigation magento 2.4.0

I have create custom filter by brand but issue duplicate layered navigation Magento 2.4.0 This xml code comment layered navigation work perfectly Anyone advance thanks for help. catalog_category_view....
0
votes
2answers
478 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
0answers
40 views

Cross-sell not working magento 2.4.0

I'm using magento 2.4.0 and trying to get information about products cross-sell by product id but I see some error in magento. getById causes my browser to crash, some very large object loading there $...
0
votes
0answers
227 views

Exception #0 (Magento\Framework\Exception\LocalizedException): The attribute model is not defined

When i search on my website with sku below error message appear https://yassupanju.com/index.php/catalogsearch/result/?q=k-614 1 exception(s): Exception #0 (Magento\Framework\Exception\...