Questions tagged [magento2.4.2]
Marks questions related to Magento 2.4.2 version
344
questions
0
votes
0
answers
7
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
1
answer
23
views
How to attach pdf in mail in Magento 2.4
I have custom form with add file button. Once user submit the form i need to sent form details with pdf in mail.
I tried different solutions.
and i follow this - Magento 2.4.2 How to attched PDF in ...
0
votes
0
answers
39
views
how to attach pdf to mail in magento 2.4
what are the files needs to be changed to work mail with pdf attachment in magento 2.4 and above.
I go through lots of resources but nothing works for magento 2.4.
this is what i tried - How to add ...
0
votes
0
answers
18
views
How to attach pdf to mail in magento 2.4 and above
I have a form with upload file button. Once the customer submit the form i need to send mail to admin with user attached pdf.I tried different sollutions but nothing works.
How to add Attachment is ...
0
votes
1
answer
12
views
Magento 2 run model before Payment Method
I have a problem that I can't solve, I need to stop the execution of the payment process, if my model returns false
i have:
app\code\vendor\Sales\etc\webapi_rest\events.xml
<?xml version="1.0&...
0
votes
1
answer
29
views
How to add upload file button in custom form and send form details through Mail in magento 2
lI created a custom form and sending mail once submit the form.Now i need to add upload file button and send all form details through mail. i added input file tag in form but i have no idea how to ...
2
votes
1
answer
32
views
Magento 2.4.4 upgrade after credit memo grid gives requested store wasn't found error?
i have upgrade magento 2.3.3 to 2.4.4, all other things are working fine, i have also check credit memo created successfully, but credit memo grid gives "The store that was requested wasn't found....
0
votes
0
answers
17
views
Magento 2.4.2 Success page
I have a problem with my store's success page,
it is being called by the module Magento_InventoryInStorePickupFrontend,
How do I go back to the original checkout module? (Magento_Checkout)
0
votes
1
answer
42
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
27
views
We can't find products matching the selection - M2.4.2
In my website some times category page shows "We can't find products matching the selection." When i run "indexer:reindex"
it shows
Catalog Search index exception: Could not ping ...
0
votes
0
answers
13
views
Critical violated apdex_below_0.6 incident issu using New Relic with magento2.4 cloud
I am getting Critical violated apdex_below_0.6 incident issue on daily basis and I have checked my issue transaction and getting most time consuming unknown CRONs, I didn't find unknown crons names on ...
1
vote
4
answers
631
views
What is the process of upgrade magento 2.4.2 to 2.4.4?
What is the process of upgrading Magento from Magento 2.4.2 to Magento 2.4.4.
As I have checked 2.4.2 is not working with PHP 8.1 so we can not upgrade PHP version first.
And if we upgrade with the ...
0
votes
1
answer
11
views
Create Partial shipment in Magento2
I am getting error on creating an shipment
TypeError: Argument 2 passed to
Magento\Sales\Model\Order\Validation\ShipOrder::Magento\Sales\Model\Order\Validation\
{closure}() must be an instance of ...
0
votes
0
answers
13
views
ShipperHQ extension "shipperhq/module-shipper" upgrade issue in Magento 2.4.3 -p2
Currently I have upgraded a Magento 2.3.5 -p1 store to Magento 2.4.3 -p2 but after updating "shipperhq/module-shipper" extension while running Setup:upgrade it showing error.
The error is -
...
0
votes
1
answer
16
views
Magento 2.4.2 System configuration pdf disallowed
MagestyApps/module-web-images https://github.com/MagestyApps/module-web-images module Upload SVG and WebP images in conflict System configuration pdf disallowed facing issue.
1
vote
2
answers
42
views
Form validation is not working in my custom form in Magento 2
<div id="popup-modal">
<div class="contact-form-popup" style="display:none;">
<form class="form contact"
action="<?= $...
0
votes
0
answers
8
views
Magento2.4.2. Magento Cron frequency
Every minute (default recommendation in Magento docs)
Seems quite a strange decision. Our server is experiencing freezes on front and back that can last for about one full minute. My main suspect is ...
1
vote
0
answers
84
views
Load specific scope configuration data in Multi site
I have three websites in the single Magento 2.4.2 application. When I load any one of the website it will load all the websites configurations data in the configuration cache. I'm looking for a way to ...
0
votes
0
answers
13
views
Magento2.4.2 Coupon issue
Coupon works only with about half of customers. Could be a native bug as this version of Magento has other native bugs with coupons.
0
votes
0
answers
21
views
New order first in customer dashboard Graphql magento2
In my Magento2.4.2, customer dashboard I need to display new orders first under order history and recent orders using graphql customer query.
Below is the query I used to fetch all order data of the ...
0
votes
1
answer
50
views
No alive nodes found in your cluster
I'm using a centos 7 server where I've installed nginx, php, mysql, elsaticsearch and ceated a magento setup.
In the magento admin > stores > Configuration > catalog > Catalog > ...
0
votes
0
answers
12
views
Add Progress Bar at admin side Magento 2
I am adding HTML via the backend.
I want to show a progress bar when users visit on particular PDP. Check the attached screenshot. I want the values to be increased when user visit on PDP
Does anyone ...
0
votes
0
answers
13
views
Invalid Document Element 'section': Missing child element(s). Expected is one of ( label, class, tab, header_css, resource, group, frontend_model )
Kindly help me i am stuck in this error i cannot know what is this error kindly tell me if anybody know about this Thanks..
Invalid Document
Element 'section': Missing child element(s). Expected is ...
0
votes
0
answers
30
views
Add Custom Checkbox & dropdown on Cart Page Magento 2
I want to add a custom checkbox & dropdown(with multiple values) on the Cart page.
If that particular checkbox is checked then only a dropdown will populate else it will remain unchecked.
Anyone ...
0
votes
2
answers
45
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
51
views
Can Crypt Key in env.php Magento 2 take 2 parameters?
and if so, how should the separator be like ? Should it be a carriage return ?
0
votes
1
answer
41
views
How to implement reCAPTCH V3 in custom form in Magento 2
By using Magento default functionality i am able to implement reCAPTCHA V3 in login form and registration form.But i also need that in one of my custom form. Is there any way to implement reCAPTCHA v3 ...
0
votes
0
answers
31
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
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
32
views
Magento2.4.2-p2 on Elasticsearch automatically stop Ionos plesk server and after product are not appear?
I found error on exception log in 'no alive nodes found in your cluster elasticsearch' and elasticsearch server automatically stop. any idea?
0
votes
1
answer
71
views
Product query is suddenly really slow, because wrong index is being selected in MySql
Issue suddenly started to occur on our live site, dev site has the same database, but just with older data and same query is running completely fine there. I've also tried dumping those three tables ...
0
votes
1
answer
23
views
How do I get how many times a product has been sold from X date to Y date?
I would like to simply display how many times a product has been sold from X date to Y date.
I'll manually enter the date as '2022-02-24' for example. I just need to echo that value on a .phtml page.
...
0
votes
0
answers
17
views
Magento 2.4 how to upload image for spcific node in hierarchy
Does anyone have experience how to upload an image for each individual node?
I added the added input field via the plugin to the form. I would also be very grateful if anyone could have a solution for ...
0
votes
0
answers
19
views
How to override Thard party extension menu.xml file and layout files
How to override Third party extension etc/adminhtml/menu.xml file and layout files in my custom module.
0
votes
1
answer
18
views
Klaro consent manager in Magento 2.4.2
I tried to integrate Klaro consent in Magento 2.4.2 using two phtml-files that are loaded in the right order. In a test html-file the cookie consent is shown properly.
Both js-files are loaded in ...
0
votes
1
answer
26
views
Custom Options deleted after saving products programatically
In Magento 2.4.2, when i am going to update products programmatically, it's removed customizable options automatically
Below code for your reference:
$objectManager = \Magento\Framework\App\...
0
votes
1
answer
67
views
Magento2.4.2 Too many password reset requests
About to migrate. I get this issue for Admins. I need to disable this so my team (18 people) can choose their own passwords.
Can I disable this ? If only for an hour or so.
0
votes
2
answers
34
views
How to override media.phtml file magento 2
I want to resize the image on PLP but doing so is adding white space. For the same I got one solution to override the media.phtml file & then set keepFrame to false.
I am not able to locate the ...
0
votes
0
answers
43
views
Advanced Search Pagination not working after applying Attribute set filters
I am trying to add "Attribute Set" as Filter (and others as well) in Advanced Search Results. It is giving proper products in results but pagination does not seem to be working properly. My ...
1
vote
1
answer
24
views
Search term grid: add date column with date-time picker
In Magento 2.4, we want to display date column in grid as a filterable option with date-time picker. Can anybody please suggest a solution?
Thank you
0
votes
1
answer
35
views
How to display products' categories instead of products on search result
I'm creating magento 2 store for pre-owned goods.
Even though, in reality, two pre-owned items may be absolutely identical in sense of brand, model, technical specification and so on, I can't display ...
0
votes
2
answers
25
views
Magento2 Product image not getting displayed in search result & cart page
Magento2.4.2 Cloud. I uploaded a product image from Admin for 1 product, but the issue is that the image gets displayed on the product details page & mini-cart, but it is not getting displayed on ...
1
vote
1
answer
18
views
Magento2 Ui Form: image preview is not working for store specific Role user
Preview image is getting properly on Ui Edit form with other fields data when it was accessed by Administrator Role user. But when its comes to Other Role users which has limited access (i.e. Access ...
0
votes
0
answers
8
views
Magento 2.4.2 in admin product edit Advanced pricing in Customer Group Price missing how to create this?
Magento 2.4.2 in admin product edit Advanced pricing in Customer Group Price missing how to create this?
Please guide me how to add this fields?
0
votes
2
answers
70
views
Display Custom attribute value on PDP Magento 2
I want to display custom product attribute value on PDP Page just below the product name. How that can be achieved, please guide.
Rashi
1
vote
0
answers
24
views
Magento 2.4.2 :- In list page compare link make as a checkbox
In List page compare link make as a checkbox.To start the checkbox empty, and only fill it in when selected in List page compare link
0
votes
1
answer
12
views
Exception with SessionHandler in magento242
The problem appeared on the site dump, on the front page
Exception: Warning: SessionHandler::read():
open(/var/cpanel/php/sessions/ea-php73/sess_otpvdk0an5tso42ofv0df1f359,
O_RDWR) failed: No such ...
0
votes
0
answers
21
views
Magento 2: color picker is not working in ui custom form
it's show like this and I define its field name
in XML file
0
votes
1
answer
35
views
Magento 2.4 how to get first n characters from CMS page content
I want to display certain CMS pages on categories and products, which the administrator assigns to the category or product. They would appear as cards. Somehow first the title of the CMS page and then ...
0
votes
1
answer
116
views
How to sync custom columns from sales_order to sales_order_grid in magento 2?
I create 2 custom columns in sales_order table and sales_order_grid tables.
As far as I know columns will be sync by cron job if name of both tables are same.
So I run a cron but data from sales_order ...