Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [magento2.4.1]

Questions specific to Magento Community Edition version 2.4.1

Filter by
Sorted by
Tagged with
1 vote
1 answer
26 views

Grid is not loading showing just the spinner without errors in logs or console

I'm trying to follow the guide https://developer.adobe.com/commerce/php/development/components/add-admin-grid/ to add a custom admin grid however I'm stuck in a situation where there's no error and ...
gabtzi's user avatar
  • 656
0 votes
1 answer
60 views

HTTP to HTTPS redirection

My site won't automatically redirect from HTTP to HTTPS. Have gone through the forums and documentations but can't figure it out so posting. I am quite newbie to Magento. I am using Magento ver. 2.4.1....
Debtanu B's user avatar
3 votes
1 answer
5k views

How to upgrade Magento from 2.4.1 to 2.4.6

I'm actually on Magento CE version 2.4.1 I need to update it to 2.4.6 (latest version) I'm in live (I don't have a staging enviroment) Is there someone who can guide me step to step in upgrading? ...
Marcello D'Ambrosio's user avatar
1 vote
0 answers
222 views

script injected in magento 2.4.1 at shipping_policy_content

we found a script like this in shipping/shipping_policy/shipping_policy_content <script id="shopcart">((g,r,w,s,t,o) => {if(g.location.href.indexOf(atob(t))>-1){a=r.createElement(...
gabtzi's user avatar
  • 656
0 votes
1 answer
164 views

main.CRITICAL: Exception message: CRLF injection detected Trace:

I'm eoncountering this issue on my Magento 2.4.1 website: when trying to make an order, by some devices (like my smartphone) at the url https://mywebsite.com/checkout/#shipping the page remains ...
Marcello D'Ambrosio's user avatar
0 votes
0 answers
47 views

How to change navigation bar font type

I'm trying to change the font type of the navigation bar in Magento 2.4.1. Is there a possible way?
Mah97's user avatar
  • 11
0 votes
1 answer
450 views

how do I create a custom GraphQL query that fetches a list of products in Magento 2.4.1

In my schema.graphqls file I've created this Query type Query { getLinkedProductsByGroups(groups: [String]): [LinkedProductsByGroup] @resolver(class: "Vendor\\ProductDisplay\\Model\\Resolver\\...
gabtzi's user avatar
  • 656
0 votes
1 answer
447 views

In magento 2 Clear Local Storage key value On Update Cart

in magento 2 i want to clear local storage key (local_key) value on any cart changes like product add,update,delete in cart
we testers's user avatar
0 votes
1 answer
51 views

Magento Class "string" does not exists - Put email Transport Object into RabbitMQ queue

Magento 2.4.4-p1 EE PHP 8.1.7 I want to put email Transport Object into RabbitMQ queue. communication.xml <topic name="my_topic" request="Magento\Email\Model\Transport\Interceptor&...
Rock's user avatar
  • 1
0 votes
1 answer
318 views

How to show "use default values" on all stores view in magento2?

I am facing an issue. I want to show "use default values" on all store view in special price from and to fields only. Suppose I have a website with two stores. "use default values"...
Zahid Hussain Magento's user avatar
1 vote
2 answers
315 views

Change Billing Address Telephone Input Type

I am trying to change the telephone input type from "text" to "tel", so that on mobile devices a number pad will display. I have tried to implement the solution outlined https://...
cjochum's user avatar
  • 131
0 votes
2 answers
152 views

Cron job generates a different output compared with a controller in Magento 2.4.1

I implemented a custom plugin that loops through all products and generates a CSV file. Even if the execute() function has the same code in both files (cron job and controller), the CSV file generated ...
iupaem's user avatar
  • 53
0 votes
1 answer
230 views

I need filter products by discount percentage in layared navigation (category page)

I have applied several price cart rules, I would like to see those frontend rules that work as a filter for discounted products. Someone can help me?
GerranoMargeno's user avatar
2 votes
1 answer
35 views

Template hints showing path from cache instead of original file path

In Vanilla magento2, the file path showing original file path as you can see in below screenshot the file path is showing from vendor after doc root. In one of my working project where cache path is ...
Rajkumar Vellaiswamy's user avatar
1 vote
0 answers
63 views

Custom filter search problem

I am trying to add custom filter to layer navigation. Basically I didn't have any problem with displaying it on navigation sidebar but collection filtering is now the problem. I have filter which is ...
Milos Stambolija's user avatar
1 vote
1 answer
242 views

How to fix Download the Upgrade Compatibility Tool error?

i'm trying to download the upgrade compatibility tool and tried it in downloading in HTML folder or any other project but always it gives the same error. Any idea
Afzal Arshad's user avatar
0 votes
1 answer
170 views

Modify "Gift Wrapping for Order" Text in Order Email

I am trying to change the text that says "Gift Wrapping for Order" to "Gift Messaging" in the order confirmation email that is sent out. I have figured out where the copy needs to ...
cjochum's user avatar
  • 131
0 votes
0 answers
334 views

How to add custom attributes to checkout summary magento2.4

I am trying to display a product attribute value I have found the template where it is displayed: vendor/magento/module-checkout/view/frontend/web/template/summary/item/details.html I override this ...
kiran's user avatar
  • 597
0 votes
3 answers
113 views

How to remove and change My Account Navigation

I am trying to remove some tabs https://prnt.sc/I0JvtmM41ROP I am using below file path and code app/design/frontend/vendorname/themename/Magento_Theme/layout/default.xml <!-- Downloadable ...
kiran's user avatar
  • 597
0 votes
2 answers
38 views

How to move description in list page magento 2.4

I want to move the sku after description in list page. https://prnt.sc/DFlrsqO-tC4A
kiran's user avatar
  • 597
0 votes
1 answer
343 views

Magento 2.4.4 upgrade after customer login is not working?

I have upgraded the site from magento 2.4.2 to magento 2.4.4. After the upgrade, the customer login is working fine, but after logging in, if I move to any other pages, the customer logs out ...
pankaj parmar's user avatar
0 votes
1 answer
256 views

Modify Braintree Core Files

I'm trying to make some minor tweaks to two files within the PayPal_Braintree module. I've added them to my custom theme, but they do not seem to take. I think my file path is correct ... but maybe ...
cjochum's user avatar
  • 131
0 votes
1 answer
153 views

Magento2.4: How can i display Product Admin Grid in Report Menu?

I want to display the " product grid" from the catalog menu to in the "Reports Menu" in the admin panel, anyone how can I achieve this task? which means I want to access the ...
Afzal Arshad's user avatar
0 votes
1 answer
789 views

Magento2.4: Setup:install command error

ubuntu 22.04 and Magento2.4.3, php7.4 when i try setup:install Command i get following errors, any idea why is this happening? below is my commands sudo composer create-project --repository-url=https:/...
Afzal Arshad's user avatar
1 vote
2 answers
1k views

Magento2.4: Display custom CMS block header and footer on homepage

Add a new CMS block on top of the homepage (header) and another one at the bottom of the homepage (footer) using XML layout.
Afzal Arshad's user avatar
1 vote
1 answer
988 views

Magento2.4: How to get Salable quantity in list.phtml file?

How can i get salable quantity in list.phtml file, I want to show label on those products which have 0 salable quantity.
Afzal Arshad's user avatar
0 votes
1 answer
362 views

Find all duplicate product name

Looking to find all duplicate product names, Tried to find out with group by but it not giving duplicate values,its eliminate duplicates values, $collection = $this->productFactory->create()->...
shyam's user avatar
  • 461
0 votes
1 answer
856 views

Customer success messages disappear too fast in magento 2

Once the customer completed the registration, the success message hide too fast? Kindly guide me to any solution to sort it out?
Jaisa's user avatar
  • 2,626
1 vote
1 answer
3k views

undefined constant SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES

I am trying to access frontend of magento 2.4.3 But getting Use of undefined constant SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES - assumed 'SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES' ...
Hamendra Sunthwal's user avatar
0 votes
2 answers
535 views

How to manage SHA-1 passwords in Magento 2

We are migrating customers from ERP to Magento 2. In ERP passwords are in SHA-1 format while Magento does not support that. We have 2 options - Either reset manually OR creation of a custom script to ...
Rashi Goyal's user avatar
1 vote
3 answers
242 views

error while magento installation

Deprecated Functionality: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in F:\xampp\htdocs\magento\vendor\...
sikander's user avatar
0 votes
2 answers
45 views

Product page error when i enabled the development mode in magento 2

Magento version: 2.4.1 theme: codazon when Magento is in production mode everything works fine but when I enable development mode, I can't access the product page and I got bellow error: 1 exception(...
Majid Imanzade's user avatar
0 votes
1 answer
693 views

Magento 2 No quote data for Checkout Session in custom api

\Magento\Checkout\Model\Session\Proxy $checkoutSession $quoteId = $this->checkoutSession->getQuote()->getId(); When accessing this code from rest api $quoteId is null, but when accessed from ...
Vishwanath Kharabe's user avatar
0 votes
1 answer
313 views

Customer session variables wiped off when FPC is used

I am working on a Magento 2.4.1 extension that has some special requests where I need your advice on how to handle some technical aspects in a better way. Basically, when a user logs in or a visitor ...
iupaem's user avatar
  • 53
0 votes
1 answer
613 views

CSS Source Maps are empty after grunt refresh

On Magento 2.4.1, Developer Mode and SSR after running grunt clean grunt exec grunt less # OR grunt refresh Generated Source Maps looks like this {"version":3,"sources":[],"...
Ilja Polanskis's user avatar
0 votes
0 answers
188 views

Magento 2.4.1 controller cache control

It seems that on my Magento 2 instance the controller methods are somehow cached because I am doing changes, compiling the code, but they are not visible when they are called. I even added a die() ...
iupaem's user avatar
  • 53
1 vote
0 answers
201 views

Installing Magento 2.4.1-p1 on a developer's local getting an error after running static-content:deploy -f

I'm installing Magento 2.4.1-p1 on a developers local using docker to create the environment. I have installed Magento and imported the DB and run: #This run just fine composer update -vvv #This run ...
rlock's user avatar
  • 11
0 votes
0 answers
111 views

Magento 2 - Get order collection of current month and placed by new and older customer

I want to get the two order collections by new and older customers for the current month. Please suggest the proper way, I just want the count of orders, Not need all the details of an order. Thanks ...
Kishor Thummar's user avatar
0 votes
1 answer
741 views

How to get the customer email by customer id in magento2 admin grid

How to get the customer email by customer id in magento2 admin grid. in my table I have customer id based on customer id get the email id in the admin custom grid. namespace Vendor\Module\Model\...
venkata prasad's user avatar
0 votes
1 answer
112 views

Is magento2.4.1 supports the elastic search 7.16.1 version

Is magento2.4.1 supports the elastic search 7.16.1 version. please update it Thanks
venkata prasad's user avatar
1 vote
1 answer
685 views

How to verify the email exist or not in magento2 api

How to verify the email exist or not using 3rd party api in magento2 while customer registration thanks
venkata prasad's user avatar
1 vote
1 answer
187 views

Remaining Characters on Gift Message

I am trying to use Magento's RemainingCharacters Widget on the gift options message field. I want to limit the amount of characters in this field to 200. It doesn't even appear to be firing. What am I ...
cjochum's user avatar
  • 131
0 votes
1 answer
280 views

Which tables need to restore to get backup of all customers in magento 2.4.1

I am using magneto 2.4.1. Accidently I have deleted all my customer lists but I have a backup. So now which tables I need to restore to get back those all customer list.
Shubhajay Das's user avatar
0 votes
1 answer
389 views

Magento 2 Add CAPTCHA to login form in createblock

I am building a widget to allow the Login form to display on a CMS page. I am able to get the form to display, but when I try to login, I am redirected to the customer/account page and get the error &...
cjochum's user avatar
  • 131
0 votes
1 answer
553 views

Magento 2 : PDF print invoice logo position change

I want to change the position of the logo in the PDF print invoice logo. I have to use Magento ver. 2.4.1 please help me thanks
Gaurav's user avatar
  • 29
1 vote
1 answer
367 views

How to change Newsletter subscription message on order success page

When a new order is create and the customer has checked the Subscribe to Newsletter box, below is how the checkout/onepage/success page appears. I will like to change the text Thank you for your ...
Inducesmile's user avatar
0 votes
1 answer
1k views

magento2.4.1 setup:di compile error

I got a small problem when compiling magento,i.e, C:\xampp\htdocs\magento-ce-2.4.1-2020-09-25-04-08-02>php -dmemory_limit=4G bin/magento setup:di:compile Compilation was started. Plugin list ...
Rakshith Rai's user avatar
0 votes
1 answer
74 views

magento compile time error

C:\xampp\htdocs\magento-ce-2.4.1-2020-09-25-04-08-02>php bin/magento setup:di:compile Compilation was started. Repositories code generation... 1/9 [===>------------------------] 11% 4 secs 96.0 ...
Rakshith Rai's user avatar
0 votes
2 answers
303 views

Load Products by SKU Using Dependency Injection

I am building a custom widget that I want to display specific products based on the product SKU. I have tried a few different code examples to get products using the dependency injection method, but ...
cjochum's user avatar
  • 131
0 votes
2 answers
434 views

Unable to Print Log

Hi i am trying to print log here but its not working file path is :- Vendor\Module\Model\Plugin\Shipping\Rate\Result\GetAllRates.php class GetAllRates { public function afterGetAllRates($...
Pramod's user avatar
  • 1,464

1
2 3 4 5 6