Questions tagged [magento2.4]
Denotes questions related to the features included in Magento version 2.4.x
1,230
questions
0
votes
0
answers
17
views
How can I share the shopping cart in multiwebsites since the sid option was removed for security reasons?
Magento 2.2.x has the option SID in frontend for sharing cart session between different websites. This option was removed from 2.3.x.
How can I get the same effect in magento 2.4.x?
0
votes
0
answers
34
views
How to override with mixin my multisafepay credit-card-component js
I'm trying to override one method from the Multisafepay Payment Module.
// vendor/multisafepay/magento2-frontend/view/base/requirejs-config.js
let config = {
map: {
'*': {
...
0
votes
0
answers
21
views
Share wishlist using Graphql mutation
I need to share wishlist using Graphql in Magento2.4.
Anyone could assist me in this?
0
votes
1
answer
28
views
How to change filter "and" to "or"?
version : Magento 2.4 safira
I want my website show every products related to filters I choose.
If I choose multi filters, I only got products fulfilled all conditions.
Is there any way I can edit ...
0
votes
1
answer
32
views
Compilation error Magento 2.4.3
what kind of compilation error is this?
Can I share with you other info?
I have Magento 2.4.3
https://ibb.co/sVFd0Nq
0
votes
2
answers
57
views
message2 success message
I have the same message issue in this thread Magento2 success message
However, that post is old and my current version is 2.4.3
Any suggestion for fixing it?
Thanks
0
votes
1
answer
27
views
How to send custom form deatils to admin mail in Magento 2
I have created a custom form in my custom module where can the user enter details like name, email, postcode, etc. Once the user submits the form I need to send the user entered details to admin@gmail....
0
votes
1
answer
113
views
After Plugin - Is it compulsory to return result?
Original
public function addOrderCommentsTo($order, $prevOrder)
{
//something
}
The original function doesn't return anything. Do I need to add return $result; in plugin after function and what if I ...
1
vote
0
answers
81
views
Magento 2.4.3 Invalid block type: Magento\Backend\Block\Order\Create\Form
I upgraded the Magento Version 2.4.3, in the Admin Sales-Create New Order, I am getting the error of
2 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: ...
0
votes
0
answers
39
views
Magento 2 configurable product include tier prices in "as low as.." price, render price box on detail page
Magento displays the lowest price of all configurable product variations by default.
I'm looking for a solution to include all tier prices. Basically the lowest price per item should be displayed.
E. ...
0
votes
1
answer
71
views
How to add text editor in the admin form and save data to the database in Magento 2
<fieldset name="content">
<settings>
<label>Wysiwyg Content</label>
</settings>
<field name="wysiwyg_example" ...
0
votes
1
answer
183
views
How to integrate OpenSearch as a separate CatalogSearch engine to Magento 2.4
Does anyone know how I can setup and integrate OpenSearch engine as a separate Catalog Search engine to Magento 2.4?
I have removed all the ElasticSearch dependent modules from the composer.json.
From ...
1
vote
1
answer
77
views
Notice: Undefined index: extension in /home/xxx/xxx/vendor/magento/framework/File/Uploader.php on line 806
I'm adding Vimeo movies to my products. The first one to add works flawless. If I open another product and try to add another movie I get this error: Notice: Undefined index: extension in /home/xxx/...
0
votes
0
answers
28
views
magento 2.4 csvProcessor saveData works but appendData doesn't?
I'm developing a custom extension to download some data as a CSV files. My current code works (I can see the file and its content generated in the folder I chose):
/* Magento\Framework\File\Csv */
$...
0
votes
0
answers
23
views
problem with image
Image is not displaying from cms block:
while inspecting the image (%5Ccache%C) on the PHP page.
media/catalog/product%5Ccache%5Cb61ea1bed30c1f9d9fe7f48eaf8288bc%5C//m/e/meal.jpg
instead of (media/...
0
votes
1
answer
149
views
Magento 2.4: Unable to unserialize value
When i launch a REST API call to see all orders on my site i get this error:
main.CRITICAL: Report ID: webapi-62432e964b1e4; Message: Unable to unserialize value. {"exception":"[object] ...
0
votes
1
answer
60
views
Magento 2.4.0 - Configurable Product Showing Out of Stock
We have Multiple configurable products but some of the Configurable Products are showing as Out of Stock.
I have verified the following Multiple times
All children are In Stock & have a quantity ...
0
votes
0
answers
10
views
With a M2 Build Server for use in Continuous Deployment, does the vendor directory go into the repository?
I have spent quite a bit of time researching this and haven't been able to find a concise answer. Consider the following official Magento document.
DevDocs
This document describes a build server. Its ...
0
votes
0
answers
48
views
Magento 2 URL redirect Duplicate Content
I have a website with one store and several store views on Nginx (Magento Commerce Cloud).
I am using store codes in the URL.
Unfortunately, when the pages are called without store code in the URL, it ...
0
votes
0
answers
23
views
How to resolve composer file not found - Magento 2.4 / AWS
This issue appeared in Magento 2.4 hosted in AWS.
Magento root is having composer.json as it was before these errors appeared. The issue appeared after running these commands, not sure whether that ...
0
votes
2
answers
31
views
Saving Magento configuration doesn't change the actual value
In Stores -> Configuration -> General -> Contact.
I am changing the email template and clicking the Save button, The page gets reloaded and says You saved the configuration but the email ...
0
votes
0
answers
21
views
How to hide this +$0.00 price from product bundle options on checkout if the price is 0?
i am new to magento and dont know which file to override to hide this
0
votes
2
answers
31
views
Override private function of Magento\ConfigurableProduct\Model\ResourceModel\Product\Indexer\Price\Configurable
I want to override updateTemporaryTable() of Magento\ConfigurableProduct\Model\ResourceModel\Product\Indexer\Price\Configurable.php which is private method.
please help me in overriding private method....
0
votes
1
answer
38
views
Overriding not executed for vendor/magento/module-customer/view/frontend/templates/address/edit.phtml
I need to override vendor/magento/module-customer/view/frontend/templates/address/edit.phtml . to include some custom fields to address form in new customer registration page.
Active theme is luma. ...
1
vote
1
answer
121
views
Varnish - Error 503 Backend fetch failed (Header too long)
Getting following error while using Nginx.
Error 503 Backend fetch failed
Backend fetch failed
Guru Meditation:
XID: 32771
Varnish cache server
Following error logged in varnish log.
BogoHeader ...
0
votes
1
answer
56
views
Component sometimes not loading - "Failed to load the "Vendor_ModuleName/js/view/minitest" component in Magento 2
We are launching a Magento 2.4.2 site, and finding that the site will sometimes load all of its Javascript components and dependencies properly, but sometimes fails to load on the custom component. In ...
0
votes
0
answers
14
views
Default M2 sitemap.xml displaying two homepage URL in sitemap?
We are using the default sitemap in Magento 2, and for some reason, the sitemap.xml displays two homepages?
Does anyone know why this would be?
0
votes
0
answers
18
views
Magento2 - Move coupon code section inside payment method section
I am using Magento2.4.2 and And I want to move coupon code section inside payment method section.
0
votes
0
answers
18
views
magento 2.4.3 mass update custom customer attribute similar to productAction->updateAttributes()
I've added a custom attribute for customers to store a reference id to an external source. In order to populate this field, I've created a cron that gets all the customers with this field empty, ...
0
votes
1
answer
29
views
Magento 2.4 - Add class for decimals in the price
I'm use Magento 2.4 and I need to change the format of the final price. I need to add a class for decimals. I want to add some css style to the decimals in the price. For example decimals must be much ...
0
votes
0
answers
17
views
Product picture in grid issue
We have some issues where our product picture in grid view has different sizes. Does anyone know how to fix this?
Magento 2.4.3
Theme: Porto theme
we did not have this issue in Magento 2.3.x
Please ...
0
votes
1
answer
60
views
Braintree Payment Collection Authentication Required Magento 2.4
We have a custom subscription module and recently due to the new law that has passed in the UK requiring 3D security, the payments are failing due to the payment requiring authentication. If we ...
0
votes
1
answer
109
views
Toggle a field visibility inside a dynamic rows ui-component
I have a dynamic field ui-component inside an admin form that contains a few columns.
And I also have a toggle field outside the dynamic rows.
I want to show/hide a column inside the dynamic fields ...
0
votes
0
answers
15
views
Developing vendor module could not pull js on adminthml
I am preparing new module in vendor folder directly.
I have created requirejs-config.js in view/adminhtml and js path is at view/adminhtml/web/js but it is not working in admin area.
here is the ...
0
votes
2
answers
316
views
Failed to upgrade from Magento 2.4.1 to Magento 2.4.3-p1
I'm using magento version 2.4.1 and composer version 1.10.25. i tried to update it to magento 2.4.3-p1 using composer but i always received an error. First i run this command:
composer require magento/...
0
votes
0
answers
33
views
how to load only specific category products in magento 2?
scenario - we have different outlets connected to their postcode. When the user entered there postcode i need to load only those categories and products available to that postcode and show the top ...
0
votes
0
answers
52
views
Composer.json cannot be found
I am currently trying to install Magento Cloud locally using Docker on my Windows 10 Pro. The issue I am having is when I run the command:
curl -sL
https://github.com/magento/magento-cloud-docker/...
0
votes
0
answers
12
views
Where is the code snippets of searching products associated with this category in Search Index?
There is an attribute named mid, the value is like ‘1; 2; 3;’, which means a product maps to many manufacturers. To keep the solution simple, we put it in the text field.
Users could choose the ...
0
votes
1
answer
19
views
Different admin URLs for each website - Magento 2.4
I have a Magento 2.4 instance that serves as the main website for my company. Also, I have multiple clients that want to have a website similar to mine but with different categories, products, and ...
0
votes
3
answers
93
views
CSP Refused to load internal resources on cart and checkout - Magento 2.4
We get a lot of [Report Only] Refused to load because it does not appear in the script-src directive of the Content Security Policy. errors in the browser console in the cart and in the checkout.
We ...
0
votes
1
answer
24
views
Install Magento2 Comunity Edition 2.4 Fail
Internal Server Error muestra este error y los logs me aparecen esto.
necesito de su ayuda por favor
gracias
0
votes
0
answers
48
views
Install MFTF Automation testing in Magento Version 2.4
I am trying to install MFTF automation testing in Magento's latest version 2.4. I am following the Magento basic documentation. In the Magento root directory, I run the command vendor/bin/mftf build: ...
0
votes
0
answers
25
views
Magento 2 - Product returns default image label when there is no label
I'm trying to get Product label on PL Page(Product Listing Page) and want to add if there is no label added from backend label should contain "Product name - Brand" but as i have debugged ...
0
votes
0
answers
10
views
How to use twentytwenty plugin in Magento 2
I want to add twenty-twenty JS on the product Page on a particular image. How that can be achieved?
I am trying to do so in multiple ways but it's not working. Please guide.
Thanks,
Rashi
0
votes
0
answers
25
views
Why aren't factories/proxies/interceptors auto-generated when in Developer mode?
https://devdocs.magento.com/guides/v2.4/performance-best-practices/development-environment.html
Do not run production commands in development mode:
setup:di:compile generates auto-generated classes ...
0
votes
0
answers
92
views
Magento integration will not activate
I created a new integration, when I want to activate it, I do get a login pop-up from the external party. I enter my credentials and I got the following message, but the integration is not activated:
...
1
vote
0
answers
26
views
Magento 2 Braintree taking too much time to get response
Cart page and checkout page take too much time for some time. After disabling the Braintree extension both pages are loading normally. Sometimes both pages are loading normally with the Braintree ...
0
votes
1
answer
53
views
Remove all Product images on one click of button in admin
I want to remove assigned images to specific product from admin on one click of button in magento2.
Please provide specific way to implement.
0
votes
0
answers
37
views
404 "customer/ajax/login" in checkout login magento 2.4.3
In the checkout after put my email (Or put an email already registered) and put my password and click on enter, I can't login or keep going with the checkout for obvious reasons, it shows the loading ...
0
votes
0
answers
15
views
Revolution Slider Auto Popup on Magento 2.4
I have this revolution slider link I am working with:
<a href="#" id="clickme" onclick="document.dispatchEvent(new Event('RS_OPENMODAL_slider-2')); return false">...