Questions tagged [magento2.4.1]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
325 views

How to override top menu and add icon in Magento 2?

How to override top menu and add icon in Magento 2? I'm using Magento v2 and want to have icons added to each category menu item.? How can I override this? I added the Attribute for icon in category (...
SNS's user avatar
  • 907
0 votes
1 answer
226 views

How to capitalize button text like “Add to Cart”?

Right now my 3rd party theme shows "Add To Cart" which means every first letter of a word is cap. I want Magento 2.4.1 to display all buttons in capital letters. For example Add To Cart ->...
Moppelfett's user avatar
0 votes
3 answers
367 views

Magento 2.4.1: Can elasticsearch be installed post upgrading to Magento 2.4.1?

Upgrade to Magento 2.4.1 from 2.3.1 was successful. However, I find the following error message on running upgrade command. If one can enable/install elasticsearch as search engine now, please guide ...
CodeForGood's user avatar
0 votes
1 answer
184 views

How to add sku to related products on Magento 2.4?

I would like to add the sku to the related products. How can I do that? <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ use Magento\Catalog\...
tjjen's user avatar
  • 883
0 votes
1 answer
217 views

Something went wrong with processing the default view and we have restored the filter to its original state. Also unable to find products with no SKU

Magento 2.4.1 I've done a Migration from Magento 1.9.4.0 to 2.4.1. There is a total of 1750 products. I went to: Catalog --) Products, select 200 per page and was browsing by using the right arrow. ...
Allysin's user avatar
  • 178
0 votes
0 answers
70 views

Redirect to /downloadable/customer/products after successful checkout automatically | Magento 2.4.1 CE

Cause we only sell downloadable products in our Magento 2.4.1 CE with Autoinvoice we would like to redirect our costumers automatically to the /downloadable/customer/products/ instead of the /checkout/...
Vikinger's user avatar
0 votes
1 answer
811 views

Get Orders by Store Id

I want to retrieve orders of a specific store? Is there any way to achieve it. R&D just gave me methods to get store id from order or get store/customer information using order. But i have not ...
VishalParkash's user avatar
0 votes
1 answer
321 views

How to add attribute to product grid?

I would like to add the sku attribute to my product widget. Here is the original Magento code- <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ ...
tjjen's user avatar
  • 883
4 votes
2 answers
2k views

Can't proceed with installing Magento by executing bin/magento config:set command

I try to install Magento 2 and create/configure a new magento project. Steps: Executed command: bin/magento setup:install \ --backend-frontname=backend \ --amqp-host=rabbitmq \ --amqp-port= \ --amqp-...
makhlo's user avatar
  • 163
0 votes
1 answer
143 views

Shipping Estimator from ShipperHQ fails on page load if I remove item from cart or leave and come back to cart

My shopping cart has a shipping estimator from ShipperHQ. If the value changes in the zip code field it calculates the shipping cost. If you remove an item from the cart, update the quantity, leave ...
ComputerGiant's user avatar
0 votes
0 answers
207 views

Magento 2.4.1 If shopping cart is not empty place a Go To Shopping Cart button next to Add To Cart on Product Detail page

When the shopping cart is NOT empty, I want a button next to the Add To Cart button on the product detail page and have it go to the Shopping Cart File using to override is: /app/design/frontend/THEME/...
ComputerGiant's user avatar
1 vote
1 answer
498 views

Script injection below body tag in Magento 2.4.1

I upgraded our Magento from 1.9 to 2.4.1 after we found malware that was trying copy customer credit cards before allowing the customer to use PayPal. I used Magento's migration tools to copy data to ...
Kiwi-9080's user avatar
0 votes
1 answer
399 views

Magento 2.4 admin keep on infinite loading

I updated my magento from 2.1 to 2.4 . My admin panel keeps on loading since long. Below is error i see in console. Failed to load resource: the server responded with a status of 404 (Not Found) ...
user1799722's user avatar
6 votes
3 answers
2k views

Magento 2: What is the purpose of "_replica" tables?

I'm newbie in Magento but I have a store that started in 2.2 and is now updated to 2.4.1. What is the exact purpose or _replica tables? The only mentioning is that they help prevent deadlock but how ...
Andrew Z's user avatar
  • 151
2 votes
0 answers
697 views

2.4.1: Elasticsearch/MySQL memory spikes leading to SWAP

Low traffic site on 2.4.1, elasticsearch, 16GB RAM, but memory usage seems to climb constantly, with CPU usage spiking, until mysql and elastic are basically running in SWAP. Site was running fine on ...
eddhall's user avatar
  • 380
1 vote
1 answer
15k views

magento 2.4 Impossible to process constructor argument Parameter #0 [ <required> Magento\Framework\Search\Adapter\Mysql\Mapper $mapper ]

I am getting below error Impossible to process constructor argument Parameter #0 [ Magento\Framework\Search\Adapter\Mysql\Mapper $mapper ] of Amasty\Shopby\Model\Search\Adapter\Mysql\...
user1799722's user avatar
1 vote
2 answers
326 views

magento 2.4 : customer session get destroyed after payment

I am using magento 2.4.1, i have used plugin for payment gateway like - ccavenues , payu but issues it that after payment it gets redirected to "checkout/cart/" While debugging it seems ...
user1799722's user avatar
5 votes
2 answers
7k views

Your current search engine, 'Elasticsearch 2', is not supported

I just upgraded magento 2.3.5 to 2.4.1 . Its completed successfully and i did changed search engine form "mysql" to "elasticsearch" and now its showing error when i run : bin/...
Mukesh Prajapati's user avatar
0 votes
0 answers
100 views

Can we display discontinued products in website?

Can we display discontinued sku? I have a some SKU’s in my website, but after some time it's discontinued, but people still search for it. I've seen this feature in many websites showing discontinued ...
kiran's user avatar
  • 547
1 vote
1 answer
281 views

How to Add Additional Options in Magento 2 and convert it into order?

I need to add my custom detail in cart along with product detail and transfer these details in order too. I want to use additional option functionality for this.
Ashish Jagnani's user avatar
0 votes
2 answers
487 views

Magento 2.4.1 products not shown in category

I have just migrated by my site form local to server and in the category the products are not visible, i have tried reindexing but not work also when i try to create any new product from backend am ...
Pramod's user avatar
  • 1,939
2 votes
0 answers
87 views

Multiple email attachments in Magento 2.4.1

How to send Multiple email attachments in mail Magento 2.4.1? I tried etc\di.xml <preference for="\Magento\Framework\Mail\Template\TransportBuilder" type="\Vendor\Module\Magento\Mail\...
naveen's user avatar
  • 21
1 vote
1 answer
3k views

How to cache graphQL post query using varnish in magento 2

In our project we are using graphql. All the query and the mutation are post request. I have configured the varnish with magento. But it seems that post request will be bypassed. Since all my query is ...
user43415's user avatar
  • 365
0 votes
1 answer
554 views

How to Change "All Categories" text in Search box in Magento 2.4.1 Porto Theme

I'm working with Magento 2.4.1 Porto theme and want to change/translate the search box default category "All Categories". Is there any way to do this? Thank you for your help.
Faizan Roshan's user avatar
0 votes
1 answer
201 views

Migrate only customer and sales orders tables from Magento 2.1 to 2.4.1

I need to migrate customer and sales tables from Magento 2.1 to 2.4.1. What would be the best way to do it ? As i know, magento provides migration tool. From the manuel, i see this tool is used for ...
Y.Yuksel's user avatar
0 votes
1 answer
522 views

In Installer.php line 545: Missing following extensions: 'zip'

I am installing magento 2.4.1,it is giving zip extension is missing, but zip extension is already installed.
vinaysirige's user avatar
0 votes
4 answers
5k views

Error while installing magento 2.4 with php8

I am installing magento 2.4.1 with php8 and it is giving me following error Deprecated: Method ReflectionParameter::getClass() is deprecated in C:\xampp\htdocs\m2\vendor\magento\framework\Code\Reader\...
Mansi Raja's user avatar
1 vote
2 answers
4k views

Magento 2.4.1 sort by newest not working

I am using Magento 2.4.1 search engine is elasticsearch7 selected in catalog config. I wanted to add custom sorting options on the category page like sort by price low to high and newest etc. Now I am ...
Klaus Mikaelson's user avatar
0 votes
2 answers
335 views

unable to add google captcha into custom frontend form

I followed this URL https://magently.com/blog/recaptcha-in-magento-custom-form/ to add google captcha. I created secret keys in google account but unable to see on custom page <?= $block->...
naveen's user avatar
  • 21
13 votes
7 answers
38k views

Magento 2.4.1 setup:install problem : "the default website isn't defined. Set the website and try again."

I downloaded magento 2-2.4.1.zip. Unzipped it to /var/www/html/magento24/ - my local folder for local domain http://magento24.local configured by nginx on ubuntu20.04. I had done composer update or ...
Jakub Ujvvary's user avatar
0 votes
1 answer
96 views

Catalog Page Crashes On Backend in Configuration

After logging into backend and navigating to Stores > Configuration > Catalog, Site crashes and shows this error, also the search on the site shows same error. Please note that Catalog Search on ...
Saqib Ali's user avatar
0 votes
0 answers
495 views

No alive nodes found in your cluster (How to configure elaticsearch with magento2.4.1)

I have installed the magento2.4.1 using CLI, also installed the elastic search (installed elastic search before installing Magento). Now, I am trying to test the connection available in Magento admin ...
Ajmalriyaz's user avatar
8 votes
5 answers
10k views

Uncaught TypeError: Cannot read property 'remove' of undefined -- upgrade from 2.3.4 to 2.4.1

Uncaught TypeError: Cannot read property 'remove' of undefined -- upgrade from 2.3.4 to 2.4.1 I'm testing out an upgrade of our Magento store from 2.3.4 to 2.4.1. One issue I have come across is this ...
Navin Bhudiya's user avatar
0 votes
1 answer
148 views

Data migration issue : SQLSTATE[23000]: Integrity constraint violation from maento 1.9 to magento 2.4.1

I am migrating the data from Magento 1 to magento 2.4.1 by running the following command php bin/magento migrate:data --reset vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.0.1/...
Jaisa's user avatar
  • 2,556
0 votes
2 answers
247 views

I want to show the topmenu only when logged in

I want to show the topmenu only when a customer is logged in and I need to use the FPC. When I try to retrieve the customer id with function to create a if statement to see if the customer is logged ...
Rene Donkers's user avatar
0 votes
1 answer
126 views

How to migrate product images before using Data Migaration tool from magento 1 to magento 2

I wish to migrate data from magento 1 to magento 2 using data migration tool. I know the procedure for migration using data migration tool. But i am having doubt on, how to migrate the product images &...
Jaisa's user avatar
  • 2,556
0 votes
1 answer
3k views

Type Error occurred when creating object in Magento 2

I am creating the custom module to Log the custom module logs Info, Error to custom table and the module working. But when I compile the module getting below error. /var/www/html/var/log/exception.log ...
Magento Nav's user avatar
0 votes
1 answer
597 views

After installing Magento 2.4.1 on windows machine using XAMPP I'm getting two error messages

Deprecated: Method ReflectionParameter::getClass() is deprecated in F:\xampp\htdocs\mag\vendor\magento\framework\Code\Reader\ClassReader.php on line 34 Parse error: syntax error, unexpected token &...
sahamalam's user avatar
1 vote
0 answers
222 views

Magento 2.4.1 Uncaught TypeError: Cannot read property 'imageTemplate' of undefined

My Magento store was working fine before updating to the latest version of Magento then I started getting this error and now none of the images load and the checkout doesn't work anymore. Uncaught ...
Prinston Hicks's user avatar
0 votes
1 answer
371 views

How can I disable the glowing blue border on focus from all input fileds

I wonder if you could help. I would like to disable the glowwing blue border on focus from all my input fields and replace it with border-bottom: 1px solid black. I found this input#search:focus:not([...
PawelP's user avatar
  • 11
0 votes
1 answer
743 views

Error while setting up sample data in Magento 2.4.1

I have installed Magento 2.4.1 via composer and got the store and admin panel without any error but when I try to set sample data am getting the below error. Unable to apply data patch Magento\...
Ajmalriyaz's user avatar
0 votes
0 answers
16 views

Showing welcome text is wrong when switch websites - related to Session

Enviroment: Magento version 2.4.1 PHP 7.4 MariaDB 10.0.26 Setting: The website has multiple websites (2 websites) Login into Dashboard -> setting Account Sharing Options is Per websites ...
Nguyễn Hoàng Tuấn's user avatar
0 votes
1 answer
151 views

Magento 2.4.1 controller 404

I have created a form when I submitting it going on 404 : Form file <div class="container py-5"> <div class="row"> <div class="col-md-10 mx-auto&...
Kanika's user avatar
  • 171
1 vote
1 answer
212 views

How to Add new Country In Magento 2.4.1

How to Add new Country In Magento 2.4.1
milan's user avatar
  • 19
0 votes
1 answer
98 views

Local site not loading after disabling two factor auth module and clearing cache in magento 2.4.1

I have installed Magento 2.4.1 via composer install, then I tried to log in to the admin it asks for two-factor authentication, I have disabled the two-factor authentication using the command (bin/...
Ajmalriyaz's user avatar
1 vote
1 answer
7k views

Getting error in downloading repository Magento 2 via composer

I am using windows 10 and node js command prompt with latest composer version. The xampp already install with supporting magento2 PHP directives. When i am trying to install a new magento 2 version 2....
Raghwendra Ojha's user avatar
0 votes
1 answer
311 views

Magento 2 Update mass Product description using $mysqli->real_escape_string() using core php root script

After migrating all data from Magento 1.9 aproximat 800 product have static image urls in descriptin. {{skin url="images/seringue.gif"}} So I have created one root script to update all ...
Bhavesh Prajapati's user avatar
0 votes
0 answers
53 views

upgrade magento 2.3.0 to 2.4.1 admin not working

How can I fix “Refused to load the stylesheet because it violates the following Content” in Magento 2.4.1
gill's user avatar
  • 329
1 vote
1 answer
1k views

Can I run cli commands in magento 2 through button or action or route?

I want to run magento cli commands in magento 2.4.1 through button or action
Yasir Minhaj's user avatar
7 votes
1 answer
1k views

Uncaught Error: Cannot instantiate interface Magento\TwoFactorAuth\Api\UserConfigManagerInterface while running Integration Tests

Trying to Run all integration tests using ../../../vendor/bin/phpunit command. Getting an error - PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\TwoFactorAuth\Api\...
sandip's user avatar
  • 3,944