Questions tagged [magento2.4.1]
The magento2.4.1 tag has no usage guidance.
268
questions
0
votes
1
answer
10
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 ...
0
votes
0
answers
14
views
Magento2.4: What is the proper/best approach to debug a module?
I want to debug a Custom Consignment Module,
what steps should I follow to debug that module,
like using debugger
are there any other ways of doing that?
thanks in advance.
0
votes
1
answer
19
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 ...
0
votes
1
answer
38
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:/...
0
votes
0
answers
27
views
Magento2.4: How to 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.
0
votes
0
answers
19
views
I have problem with js and css and i don't know what to do
As you see it cant load css and js, apliacation works normalyy but without css, id did deploy and other things from this forum that i found
1
vote
1
answer
74
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.
0
votes
1
answer
56
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()->...
0
votes
1
answer
52
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?
0
votes
1
answer
443
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' ...
0
votes
2
answers
67
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 ...
0
votes
2
answers
20
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(...
0
votes
0
answers
35
views
Magento 2.4.1 + Elasticsearch 7 does not index
I am working on an existing M2 installation with tons of data (products, orders, etc).
This installation is using elasticsearch7 and admin configuration is okay.
When I try to reindex with bin/magento ...
0
votes
1
answer
69
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 ...
0
votes
1
answer
38
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 ...
0
votes
1
answer
55
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":[],"...
0
votes
0
answers
34
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() ...
0
votes
0
answers
16
views
Critical error in system.log - Error occurred when creating object
Error found in System.log only in Production, not in Developer Mode:
[2022-01-25 12:15:26] main.CRITICAL: Type Error occurred when creating object: Amasty\PageSpeedTools\Model\Output\PageType\...
1
vote
0
answers
29
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 ...
0
votes
0
answers
89
views
magento 2 custom admin grid filters not working for custom attributes
magento 2 custom admin grid filters not working for custom attributes.
I loaded the table into a grid. based on id I get the customer email into the grid, but customer email is not filtering in my ...
0
votes
0
answers
37
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 ...
0
votes
1
answer
150
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\...
0
votes
1
answer
75
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
0
votes
0
answers
8
views
Getting Unkonw entity_id id error when update category name from admin on magento cloud version 2.4.1
Column not found: 1054 Unknown column 'entity_id' in 'where clause', query was: SELECT catalog_category_entity_varchar.store_id, catalog_category_entity_varchar.value FROM ...
0
votes
0
answers
12
views
Migration of Ofbiz to Magento 2 Commerce
I want to perform Migration of Ofbiz to Magento 2 Commerce. Did anyone have any idea on how to start or to perform steps?
I have no knowledge about ofbiz environment. Rather I had done an upgrade in ...
1
vote
1
answer
87
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
0
votes
0
answers
12
views
Magento 2.4.1 - Product is not showing as per page count
I'm using Magento EE 2.4.1 and facing an issue in PLP pagination. I have set product per page as 12,24,36 in both grid and list view. On the product list first page I can see 12 products and on the ...
0
votes
0
answers
32
views
Add custom field on Magento Company Registration Form
I want to add a custom field i.e. pwd/confirm PWD in the Magento company register form i.e. B2B Register form.
I will not send an email to the customer for a password.
Can anyone give me an idea to do ...
1
vote
1
answer
49
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 ...
0
votes
0
answers
124
views
Add Captcha to widget with Custom Form
I have added a widget to a custom extension that includes a form. The form needs to have a Captcha on it. I cannot figure out what I am missing to get it to display on the form.
The form opens in a ...
0
votes
0
answers
36
views
Magento 2.4.1 remember me not working
Using Magento 2.4.1
Enabled remember functionality.
Tried with different configuration but when customer logged out and again visit the sign in page, its not showing the user name and password auto ...
0
votes
0
answers
277
views
main.CRITICAL: Connection to Redis 127.0.0.1:6379 failed after 2 failures
I installed Magento version 2.4.1. Installed Redis and configured it as Default Caching and for Session Storage.
The website goes down after every few hours with the below exception errors and works ...
0
votes
1
answer
63
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.
0
votes
0
answers
19
views
How to get the pending orders reward points in magento2
How to get the pending orders reward points list in magento2.
after order completed reward points are coming. I need Pending orders reward points.
Thanks
0
votes
0
answers
163
views
how do I override a lib/web/jquery/ui-modules/slider.js function with a mixin?
I'm having some issue making a mixin for slider.js,
I have created my module with the following structure,
.
├── composer.json
├── etc
│ └── module.xml
├── registration.php
└── view
└── frontend
...
0
votes
0
answers
21
views
How to display only enable products on search page or auto suggest in magento 2 using search-criteria
Find the below code for your reference but it's showing both enable and disable products. I want to display only enable products.
//Code for fetch products based on search term.
$this->...
0
votes
0
answers
86
views
Magento 2.4.1 pagebuilder - missing mobile viewport
I'm a developer and just starting out with Magento and I am learning how to create responsive templates, that the client can use with little to no effort. The problem I have is the mobile viewport is ...
0
votes
0
answers
39
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 &...
0
votes
1
answer
114
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
0
votes
1
answer
99
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 ...
0
votes
0
answers
85
views
Magento 2 Mirasvit Search doesn't return any results
I have Magento 2.4.1 and the latest version: 2.0.39 of the mirasvit/module-search-ultimate module. Also I am using Elasticsearch 7.
Issue description:
The ajax request made on the search result: ...
0
votes
1
answer
377
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 ...
0
votes
1
answer
47
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 ...
0
votes
2
answers
87
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 ...
0
votes
2
answers
265
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($...
0
votes
0
answers
50
views
Magento 2.4 Admin Page not found 404 after SSL cert
I have an error 404 not found admin page after installed SSL and configured all of tutorial but nothing.
https://www.street34.com/admin
What I did ;
I installed letsencrpty with certbot on ubuntu and ...
0
votes
1
answer
29
views
magentodockermagento241_redis_1 Cannot start service redis
I have try to install PWASacndi them in my local server.
But when I run dc up -d --remove-orphans command.
Error is shown like below the screen short so can you please help me and please say me how to ...
0
votes
0
answers
40
views
After disabling MSI modules in magento2.4.1
My Magento store is throwing this error:
Error: Cannot instantiate interface Magento\InventorySalesApi\Api\IsProductSalableInterface
I am using Magento 2.4.1
0
votes
1
answer
80
views
Can we disable all salable quantity modules in mganeto2.4.1
We manage our stock in another system and update the quantity field as orders come in. This is causing issues as suddenly the salable quantities are lowering, and never reset.
Is there a way to reset ...
0
votes
1
answer
40
views
Magento 2 avoid customer direct login after click confirmation email
Now my customer directly login after click confirm the email, i want if customer click the
confirmation mail after need to login.