Questions tagged [magento2.4.0]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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
20 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
92 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
8 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
12 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
33 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
32 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
30 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
43 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 ...
1
vote
0answers
21 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
16 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
14 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
35 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
52 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
35 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
24 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
22 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
48 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
27 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
2answers
37 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
35 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
42 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
1answer
93 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=...
1
vote
1answer
20 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
7 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
40 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 ...
0
votes
0answers
124 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
1answer
996 views

elasticsearch command error

i have insall elasticsearch in ubuntu. using this link but when I run this command "sudo systemctl start elasticsearch" i get below error. Job for elasticsearch.service failed because a ...
0
votes
0answers
29 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
0answers
30 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 ...
0
votes
0answers
31 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
145 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\...
0
votes
0answers
8 views

Magento 2.4.0 Send blank value of customer email ID. If email ID belongs to a specific domain

There are multiple APIs which will be sending customer email IDs. If I want to add some logic while sending a unique domain email ID in response. I would need to override multiple files and make the ...
0
votes
0answers
10 views

Magento 2.4.0 : Create account without an email Address

I have created a custom REST API to create a customer account programmatically. Now while creating a customer account user may or may not have an email ID. But user will update while placing order in ...
0
votes
1answer
88 views

multiple image in array in input field custom form in magento 2.4

Now i am using input field file[] array so how to $filesData = $this->getRequest()->getFiles('files'); use foreach loop <input type="file" name="file[]" id="file"...
1
vote
1answer
25 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
124 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\...
0
votes
1answer
141 views

Products are not showing in frontend in Magento 2.4.1

I have installed 3 fresh magento 2.4.0 in server with elasticsearch as a separate container. I have created products in all 3 magento websites. But products are not showing up in frontend. Products ...
0
votes
0answers
17 views

product details page still have product gallery issue image are not showing sometime in magento 2.4

Now i added image back-end but still have product gallery issue image are not showing sometime in product details page magento 2.4
0
votes
0answers
203 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 ...
0
votes
0answers
19 views

Want the additional input field above the every payment method

I am working on Magento 2.4. so I want to add extra input filed above the every payment method.
0
votes
0answers
83 views

Magento 2: How to pass “form data” Rest API in create product postman

I have created product api and passed form-data in postman but i have faced issue in pass category_ids and image. Any have idea how to pass category_ids and image in postman while creating product API....
0
votes
1answer
108 views

Magento 2.4.0 Installation Error

I am getting this error in during installation of Magento 2.4.0 on Live server. Please help if you can. Current version of RDBMS is not supported. Used Version: 5.6.49-cll-lve. Su pported versions: ...
0
votes
0answers
101 views

Need help to get the value for attribute

I have not seen dimension configuration(length, width, height) in the magento catalog settings. So i have created an attribute in the stores>attrbutes>product. After that i have add the ...
0
votes
0answers
12 views

how to extend login as customer in our module

namespace FME\AdvancedLayoutManagement\Controller\Adminhtml\Login; use \Magento\Backend\App\Action; use \Magento\Backend\App\Action\Context; use \Magento\Backend\Model\Auth\Session; use \Magento\...
0
votes
1answer
72 views

Composer update fail: [UnexpectedValueException]

Magento 2 Composer error when trying to install modules [UnexpectedValueException] https://magento.stackexchange.com/a/316793/70292 During composer update command UnexpectedValueException was occur. ...
0
votes
0answers
37 views

Magento 2.4.0 Toolbar showing wrong result after applying custom filter in *LayerPlugin

I've overridden the Layer.php file using the plugin, to show product based on Multi-source location. But now I have the wrong number of elements in the toolbar (I have 4 products displayed but still ...
0
votes
0answers
40 views

Magento 2: Unable to add product to package in shipping label

Magento: 2.4 Shipping Module: https://marketplace.magento.com/laposte-magento2-colissimo-module.html Steps to reproduce After creating order goto admin > sales > order Click on ship and check ...