Questions tagged [magento2]
Magento 2 is an eCommerce R&D project facilitating the improvement of Magento Core products. Written in PHP-Zend Framework. Available under both open-source and commercial licenses.
4,867
questions
-2
votes
0
answers
6
views
I want to change the submenu title without changing the menu title, is it possible?
I want to change the submenu title(Viha) without changing the menu title(VIHA), is it possible???
0
votes
0
answers
10
views
Magento 2 How to remove custom attribute at time of uninstalling the module using data patch?
Using data patch, created one product attribute. I wants to remove that attribute when extension is unstalled. Generally we are using Uninstall.php but my question was that, how can we uninstall it by ...
0
votes
0
answers
14
views
Magento 2 : Create a button for change the customer email
I need to create a button in the info.phtml template on Magento 2, which allows to modify the user's email address. I need after clicking on the button that the table field becomes an input with a ...
0
votes
0
answers
11
views
Whay I'm getting error message "Wrong parameter attribute_code"
Go to Admin >> Stores >> Attributes >> Product select price or any other attributes
Make any/or no changes
Click "Save Attribute"
Changes are not saved and get error "...
0
votes
0
answers
9
views
Magento 2 : Different section dependency not working in system.xml
I'm using magento 2.4.3 In system configuration, I want to do apply dependency.
But, both Section and fields are different. It's working in same Section. But, I can't get output for different Section.
...
0
votes
0
answers
15
views
How to show field in custom sales rule form based on value of another field
I want to display my custom field in sales rule form only if field simple_data (label Apply) is set to value by_percent. I added this xml in my module:
<?xml version="1.0" encoding="...
0
votes
0
answers
18
views
ui-select optgroup filter dropdown in Magento 2 Grid
I am trying to group the option using optgroup for ui-select component in magento2 grid, but facing some issue.
It is working fine with the [label,value] options not with optgroup.
What i am trying to ...
0
votes
0
answers
8
views
Magento 2 update invoice state through REST API giving error
I am having project in magento enterprise version :2.3.7-p3
I'm trying to update Magento 2 invoice state via Rest API call : {{magento_api_url}}/V1/invoices/ and method is post below are payload for ...
0
votes
1
answer
14
views
Magento 2 "out of stock label" on product page
I need to add “out of stock” string next to product option when product are out of stock on this list. Can someone help me? Link to img ->1
0
votes
0
answers
12
views
Magento 2 integration with bloom reach [closed]
What is bloom reach? How to integrate magento 2 with bloom reach? I'm using magento 2.4.3 open source Will someone help me for integration.
-1
votes
0
answers
6
views
signout link is not showing after installing magento 2.4.4 in customer panel
signout link is not showing after installing magento 2.4.4 customer panel after installation. please help me to solve this problem. Signout link Screenshot URL
-2
votes
0
answers
16
views
Search \ in Regex [closed]
I have a string:
{{Widget type="Magento\CatalogWidget\Block\Product\ProductList" ...}}
How can I search, replace "Magento\CatalogWidget\Block\Product\ProductList" in this string ...
0
votes
0
answers
14
views
Require Local Composer Dependency for Magento 2
I am attempting to install ScandiPWA as a theme for my Magento 2.4.3 backend hosted using Nexcess Cloud. I successfully created the ScandiPWA theme inside the root/localmodules folder. Per Scandi's ...
0
votes
0
answers
11
views
How to pass .phtml file variable to another module .phtml file in magento2
I am new in the magento. If anyone have idea how to do this then please let me know.
I have two files in different module in in that two .phtml file will be there.
From First .phtml file to another ....
-1
votes
0
answers
15
views
Public In RSS Feed - Cart Rule - Magento2
When I disable the "Public in rss feed", even with the coupon active, when I want to insert the coupon in a sale it doesn't appear.
Does anyone know how I can validate, fix??
0
votes
0
answers
8
views
Get parent configurable products from product SKU/Id Magento API
I have a simple product's SKU/ID and I want to get all the configurable products that are linked to this product. What is the best way to do this through the API? I don't have access to the code.
I am ...
0
votes
1
answer
15
views
How to get customer address in transaction.phtml in magento2
I want to fetch customer address into the transaction.phtml but i am not getting how to do this . I am trying below but not getting success
Below is the file path where my transaction.phtml file wiil ...
-2
votes
0
answers
30
views
How to Fix compile issue in magento 2 [closed]
i am facing this issue during compilation. We are using many of the third party extensions.
0
votes
0
answers
12
views
Put dynamic after_save event on my own table for any new record Magento 2
We have created a module in Magento 2 which has defined some it's own tables in database and it is related to customer wallet .
Now what I want is => I want to for each record that inserts in that ...
-2
votes
0
answers
25
views
Mailhog not receiving mail with Warden/Magento2 setup
I followed the steps at https://docs.warden.dev/environments/magento2.html to setup a magento2 environment and followed the instructions exactly. However, I'm not seeing any emails come through to ...
0
votes
0
answers
29
views
Magento 2 - Theme Type Automatically change, 0:physical, to 1:virtual
Sometimes on staging and production autmatically theme value changed,as table theme with field name 'type' changed 0 to 1.
Expected result
type field to stay at 0 (TYPE_PHYSICAL)
Actual result
type ...
-3
votes
0
answers
36
views
How to show available data first, then based on dropdown selection show specific div [closed]
<script type="text/javascript">
require(['jquery'], function($) {
$(document).ready(function() {
$("select").on('change', function() {
...
0
votes
0
answers
20
views
Upgrade to Magento 2.3 to Magento 2.4.4 with Peral theme
I am a beginner on magento (I have no experience)
I'm switching from magento 2.3 to magento 2.4, I used this link for the update: https://blog.magezon.com/magento-2-3-to-2-4-upgrade/
when I compile or ...
0
votes
0
answers
5
views
Backup & Restore Catalog Products and Attribute sets from Magento 2.2 to 2.4
I have Magento 2.2.4 store. I would like to upgrade it version 2.4. I am able to upgrade but my old theme is not supporting version 2.4 very well.
I purchased a new theme that is better than old one ...
0
votes
1
answer
10
views
Magento Attribute-Codes with Uppercase Letters need to work
Hello Guys,
is there any possibility to make the Magento 2 Import-Module uppercase insensitive?
I have attribute-codes like "ColorName" or "BaseColor" and I need them to be working....
-1
votes
0
answers
12
views
Compile error Impossible to process constructor argument Parameter #1
I use bitnami Magento 2.4.2, I got this error when running the
compile from ssh
0
votes
0
answers
7
views
"magento/module-new-relic-reporting" not installed after upgrade
So, I did a lot of research and tried a lot of ideas to solve this but without luck. That's why I'm asking.
I'm trying to upgrade magento from 2.3.3 to 2.4.4 . I stacked on a problem that "...
0
votes
0
answers
24
views
How to get customer details with address details using graph ql magento 2
I have a graph ql query which will show customer details and but I have facing issue with getting the address details of the customer.
I must get customer details with address details as well using ...
0
votes
1
answer
10
views
Shipment Information not Showing in Magento 2.4.2 p-2
I created shipment against particular Order. but, cannot showing under shipment list. My Magento Version 2.4.2 p-2.
0
votes
0
answers
13
views
Magento 2 knockout.js:3381 Uncaught TypeError: Unable to process binding "scope: function(){return 'notification_area.notification_area' }"
After I updated the DB of my local instance using the DB of production, admin menu stopped working except for DASHBOARD and FIND PARTNERS & EXTENSIONS.. Did not see any errors from command line, ...
-1
votes
1
answer
19
views
Magento2 hide custom shipping method based on product attribute
I am new to Magento2.
I have created a new shipment method programmatically and name it "Same Day Delivery".
Also, I have created a product attribute programmatically and name it "Same ...
0
votes
0
answers
5
views
The requested package amzn/amazon-pay-sdk-php 3.5.0 is satisfiable by amzn/amazon-pay-sdk-php[3.5.0] but these conflict with your requirements
while im trying to install composer for my magento project, i got this error
The requested package amzn/amazon-pay-sdk-php 3.5.0 is satisfiable by amzn/amazon-pay-sdk-php[3.5.0] but these conflict ...
0
votes
0
answers
11
views
Create return(RMA) is not working(Magento 2.4.3-p2)
I have upgraded Magento from 2.4.3-p1 to 2.4.3-p2. After upgrading the magento version, I am trying to create returns but getting the broken page. I checked the logs files and found the following ...
0
votes
1
answer
14
views
how to call graphql in reactjs component (magento 2 pwa)
I'm not familiar with reactjs, i'm try to create a new custom react js componet in magento 2 pwa studio to call a custom graphql and write out the response, the following it my trial.
import React ...
0
votes
0
answers
16
views
Invalid Value provided for RegionId field in Magento 2
I am getting this error while the controller run -'Invalid value of "491" provided for the regionId field.'. I want to transfer the telephone number from the billing address to the customer ...
0
votes
1
answer
36
views
illegal_argument_exception","reason":"Unknown filter type [phonetic] for [phonetic]
I got an error in the elastic search indexer module.i have installed elasticsearch version 7.9 with magento2.
{"error":{"root_cause":[{"type":"...
0
votes
1
answer
20
views
I need to replace white space and special characters from within magento2 var/import/images folder
I have hundreds of images imported into var/import/images folder that have special characters and white spaces in them I need the special characters removed and white spaces replaced with a dash.
I ...
0
votes
0
answers
16
views
Timeout error when sending email in magento 2
Im triggerring scheduled import through script. If I have more than 2 files for processing, first 2 times its working fine and getting email. But third time script execution fails and getting error.
&...
1
vote
0
answers
20
views
How to Add jquery on Checkout page in payment method secction
I want to hide the custom section in payment method is called "Order Insurance" on checkout page as per shipping method. I mean "order insurance" will shown only for paid delivery ...
0
votes
0
answers
24
views
Magento 2 - how to change sorting by ID to sorting by name in custom grid column which has values as names from another collection
I have a custom grid which has parent_company_id stored in its table, and in the grid list I have displayed parent_company_name by using join the current table with company table using the ID.
When I ...
0
votes
0
answers
22
views
UPS Method title is not visible for US Address in magento 2.4.3-p1
UPS method title is not visible for US address meanwhile it is visible for Canada address.
See Image
-2
votes
0
answers
22
views
I was trying to login into magento admin panel I got the fatal error how to solve this
i got this-
I want to login into magento but got the fatal error. Is there any way to get out of it .I have tried several methods but can't get out of it.
Fatal error: Uncaught Exception: Invalid ...
0
votes
0
answers
46
views
Unable to Login to Magento 2.4 Admin Page in localhost
As the title states, I am unable to log in to the default admin user in Magento 2.4 after installation using composer.
I have tried changing the password through PHPMyAdmin using the following command:...
-1
votes
0
answers
23
views
Magento Website That Can't be Scraped Using Xpath?
I've been trying to set up a dashboard for kissusa.com (Magento) but two people on Upwork said the site can't be scraped. One of them wanted admin access to change some code but wouldn't specify what ...
1
vote
0
answers
7
views
Magento new created user can't add products - loads forever
In Magento 2.4.3 I created a new user role Content Creator (Where it has access only to Catalog - add/edit products), assigned it to a user.
When adding a product as a Content Creator user and saving ...
0
votes
0
answers
17
views
How to fix this problem Ce site est inaccessibleharry.magento.com in magento 2?
enter image description here
Ce site est inaccessibleharry.magento.com n'autorise pas la connexion.
Voici quelques conseils :
Vérifier la connexion
Vérifier le proxy et le pare-feu
...
0
votes
1
answer
30
views
Magento 2 cron notaction - comma separated values
I'm trying to set up a cron job to run on last Sunday of each month at 4:00PM.
I came up with this:
https://crontab.guru/#00_16_/25,/26,/27,/28,/29,/30,/31__7
00 16 */25,*/26,*/27,*/28,*/29,*/30,*/31 *...
0
votes
0
answers
21
views
Magento when enabling log through command line getting error
In my Magento application when I try to enable logging in command line using below code
# bin/magento setup:config:set –enable-debug-logging=true
I am getting the error
PHP Fatal error: Declaration ...
1
vote
1
answer
115
views
Update Magento2 version 2.4.3-p2 to 2.4.4
I have an issue with the upgrade of Magento from 2.4.3-p2 to 2.4.4.
Here my steps to reproduce:
composer require magento/product-community-edition 2.4.4 --no-update
composer update php-amqplib/php-...
0
votes
0
answers
12
views
Static signed url contains "default" instead of language "en_US"
I've enabled signed content in my Magento 2.4 configuration
I have the following @font-faces in my sass file:
@font-face {
font-family: 'Avenir LT Std';
src: url('../../fonts/AvenirLTStd-Roman.woff2') ...