Questions tagged [magento2.4.0]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
24 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
29 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
34 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
22 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
20 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
45 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
15 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
27 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
25 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
34 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
23 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
65 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
18 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
4 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
35 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
58 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
300 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
24 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
20 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
26 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
80 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
54 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
24 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
60 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
97 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
98 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
17 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
67 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
86 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
24 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
44 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
21 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
25 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 ...
0
votes
0answers
38 views

no such entity with cartid = 0 on checkout page Magento 2.4.0

I am getting very strange issue. I have created my custom Checkout extension which is working fine until Magento version 2.3.X but when I checked it in Magento 2.4.0 then I am getting no such entity ...
0
votes
0answers
184 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
11 views

how to create customer in installData?

$websiteId = $this->storeManager->getWebsite()->getWebsiteId(); // Instantiate object ( this is the most important part ) $customer = $this->customerFactory->create(); $...
0
votes
1answer
15 views

How to copy the customer entity's taxvat value to the customer address entity's vat id

How can I copy the value in customer entity's taxvat field to the same customer's customer address entity's VAT ID field? It has to take into account that customer can have many addresses, and I want ...
0
votes
0answers
19 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
38 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&...
0
votes
0answers
14 views

How to get Random review in magento 2.4

Need to get random review in magento 2.4 Every time refresh review will be change (as review i have call in homepage) $reviewCollectionFactory = $objectManager->create('Magento\Review\Model\...
5
votes
4answers
287 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/...
0
votes
1answer
53 views

Upgrade from 2.3.5 to 2.4.0 error related to scconnector_google_feed_cl

I'm upgrading Magento 2.3.5 to 2.4.0, but I'm getting this error when trying bin/magento setup:upgrade: Unable to apply data patch Magento\CatalogUrlRewrite\Setup\Patch\Data\UpdateUrlKeyForProducts ...
2
votes
1answer
64 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 ...
0
votes
1answer
32 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
0answers
15 views

Magento2.4 Initial Installation Issue

I have successfullly installed magento2.4 but when i am running my URL in Browser then i am facing this type of issue.