Questions tagged [magento2]

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 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 "...
user avatar
0 votes
0 answers
3 views

Is there any way to upload video from ui component in magento2

I am working on a custom requirement where a user can upload video from a custom UI component but I can't find any way for that. if there any way to do this in magento2?
user avatar
  • 21
0 votes
1 answer
11 views

Magento 2 - Add column to a table by using the declarative schema

I try to add two columns to the sales_order_grid table by following the declarative schema. Attempt: <?xml version="1.0"?> <schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
user avatar
  • 2,380
0 votes
1 answer
14 views

Magento2 How to optimize data of custom tab on product details page?

Magento2 I have too many tabs on product details page + some tabs has too many data. How can we optimize this? We used ajax to load data in this tabs but this is removing the success/error message.
user avatar
  • 3,426
0 votes
1 answer
19 views

How to get product collection without special price and tier price?

I'm using Magento v2.4, i want to retrieve a product collection that does not have special price (special price is not active or null) and tier price, currently i load the product collection like this:...
user avatar
  • 64
0 votes
0 answers
11 views

Magento 2.4: Display COD payment method if not applicable with text message

I have cart price rule condition that does not allow for COD payment method to be used and I want the method to be shown but not selectable, with a custom message and link. Any help would be ...
user avatar
0 votes
0 answers
13 views

Magento2 Can we reterive success message or error message if exists after product Add to cart

Magento2 reterive success message or error message if exists after product Add to cart as I need to show it after 1 ajax that I am triggering after Add to cart Triggering Ajax after add to cart is ...
user avatar
  • 3,426
0 votes
0 answers
9 views

Magento2.4: Customer Logger creation for change in admin product edits?

How to create a custom logger file for changes in admin panel product edits? Thanks in advance.
user avatar
0 votes
0 answers
22 views

Custom Collection Admin ui Grid

is it possible to use a collection with a filter for Admin Ui grid. I tried this https://webkul.com/blog/display-a-modified-collection-in-grid-using-ui_component-magento-2/ but it does not seem to ...
user avatar
0 votes
0 answers
19 views

Error while trying to load site

I wanted to add multilanguage support to a website I am creating, thus I followed a guide to do so. After completing the steps, I tried to refresh the site and got the following error 1 exception(s): ...
user avatar
0 votes
5 answers
48 views

Magento 2.4.x: How to pass custom variable from controller to phtml file?

Is there a way to pass a variable from controller to a phtml file without using registry? I tried this: Magento 2 pass data from Controller to Block and display in Template but it is not working.
user avatar
0 votes
0 answers
12 views

Magento + docker Internet not able to connect OS linux mint

Suddenly yesterday docker resist to my system to connect with internet, We are using dockergento for magento projects any one have idea or solution for that? I am using lnuxmint as OS. Any help or ...
user avatar
  • 1,443
0 votes
0 answers
9 views

How to install 2 different magento2 instance with same server and same database

I want to install 2 magento2.4.4 on my server and connect with single database .
user avatar
  • 11
0 votes
0 answers
9 views

Related : declarative schema using XML file in magento2

Basically, i have 3 files under Setup folder (installSchema.php , UpdateSchema.php , uninstall.php). now, my question is that ... i want to convert these files into XML. Also ,i followed some steps ...
user avatar
0 votes
1 answer
22 views

Moving Magento core modules from app/code to vendor?

Magento 2.4.3 I need to move the Magento core files which were installed in app/code/Magento by accident to the vendor folder so they can be updated with composer. Any advice on how to do that? Could ...
user avatar
0 votes
0 answers
17 views

DB query to delete configurable product images

I am trying to delete the images of configurable products using DB query and delete the product images from the table catalog_product_entity_media_gallery, but images in the back office were not ...
user avatar
  • 1
0 votes
0 answers
12 views

What LAMP docker image is good for installing Magento 2.4?

I have tried installing from other images but I get a message stating the php version must be 7.3 or newer.
user avatar
0 votes
0 answers
9 views

Magento 2: Convert SOAP XML Response into array

I am getting below XML as a response, how can I convert it to an array? I have tried almost all the think available in internet but always getting this error: Decoding failed: Syntax error <soap-...
user avatar
  • 1,009
0 votes
0 answers
8 views

Unable to perform start operation Export start for elasticsearch - bitnami

I am using Google cloud with my first Magento project, the website is getting an error and does not work I tracked the issue and I reached that the bitnami does not work, and I had this error message.
user avatar
0 votes
0 answers
7 views

How to check order Magento 2 order status delivered using UPS service?

How to I pull the delivered status from the UPS carrier tracking. Please advise me how to achieve in the Magento 2?
user avatar
0 votes
1 answer
25 views

Unable to Set Custom Price or Quantity in Admin Orders

I have a Magento 2.4.3-p2 instance running on apache2. When I create an order using the admin backend, I cannot customize the prices and quantities of the products I have added to the order. The ...
user avatar
0 votes
2 answers
18 views

Shipment Created but not showing under order Information Magento 2.4.2 p-2

I added a shipment information against that particular order. after added message i will check in shipment section. no shipment found on that Tab. Last week its working fine but still not able to see.
user avatar
  • 101
0 votes
1 answer
10 views

Magento 2 contribution automated tests

I've started to contribute on Magento Open Source project on Github. I did my first commit and opened a pull request. I added/replaced some lines of code in a JS file, trying to follow all the guide ...
user avatar
0 votes
0 answers
17 views

Reorder checkout shipping address form fields

I would like to reorder the checkout form fields in following order First Name Last Name Email Phone number Custom field - opt-in and then the rest of the fields. I can reorder other fields in ...
user avatar
  • 1,973
0 votes
1 answer
25 views

Magento 2 Order Processing Rest API Error

I got this error when I try to generate Quote ID using Order Processing API. "message": "The quote can't be created.", How to fix this ?
user avatar
0 votes
0 answers
10 views

Owl Carsouel in Magento2

I am creating owl carsouel for compare products <div class="main-padding"> <div class="message-container"> </div> <div class="compare-inner-block "&...
user avatar
0 votes
1 answer
33 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 ...
user avatar
  • 29
0 votes
0 answers
18 views

get result from phtml file to html

I have below code (which is at .phtml page) which echo store view selected and i want to take that value which is echo by below code and display it in an html page. please help how to do that. thanks. ...
user avatar
0 votes
2 answers
36 views

Magento 2.4.2: observer class not getting invoked on event layout_load_before

My objective is to set NO INDEX, NO FOLLOW to a specific category page in an observer class. Below is my event.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
user avatar
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 ...
user avatar
  • 29
1 vote
1 answer
20 views

Klavio Vendor File Override on Magento 2.3.3

Hi guys I want to override klavio php file. My main purpose is make it checkbox default as checked. Now is default False. Current File: vendor>klavio>magento2-extention>Plugin>...
user avatar
  • 11
0 votes
1 answer
29 views

Magento 2.4.2: How to find out if it is category page in the observer class?

My objective is to set a specific category to NO INDEX, NO FOLLOW in an observer class. Below is my event.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
user avatar
0 votes
0 answers
15 views

How to save custom shipping address on quote?

I am trying to save custom shipping address to quote. I've made a plugin for Magento\Checkout\Api\ShippingInformationManagementInterface on before saveAddressInformation method, and the new values ...
user avatar
  • 1
0 votes
1 answer
32 views

How i can pass js variable to php file?

i need to pass a variable from file.js to my model.php with rest API in particular get method
user avatar
  • 3
0 votes
0 answers
9 views

Magenot 2 PWA app session time

I have a website, for which we are using PWA app, but the thing is ,I am unable to keep user logged in even after he close app. how to achieve this goal?
user avatar
0 votes
2 answers
20 views

There has been an error processing your request: Error log record number: d11d948cb3596b359566fa162df65dbf6baef2446fe384f4476057675f3dd95f

Exception printing is disabled by default for security reasons. Error log record number: d11d948cb3596b359566fa162df65dbf6baef2446fe384f4476057675f3dd95f i run the record log number in putty this what ...
user avatar
0 votes
0 answers
7 views

How to get attributes based on attribute set in dynamic row?

I have created dynamic rows and there I have two fields. 1st field is I am listing out the attribute sets and in the 2nd field I need to show the attributes based on the attribute set. How can I set ...
user avatar
  • 470
0 votes
1 answer
13 views

How to hide my custome shipment method based on custom product attributes in Magento2?

I'm a very new to Magento2. I'm stuck with display the new shipment option show/hide. I have created a new shipment method programmatically and name it "Same Day Delivery" and also I have ...
user avatar
0 votes
0 answers
11 views

Failed to load the "Magento_PageBuilder/js/form/element/wysiwyg" component in admin?

Magento 2.4.3 The pagebuilder in admin is not loading at all, I am getting Failed to load the "Magento_PageBuilder/js/form/element/wysiwyg" component as error in the browser console ...
user avatar
0 votes
0 answers
8 views

How to connect Magento with GCP?

Is there any way to connect Magento with Google Cloud Platform(GCP). I have referred google but not getting the solution which I am looking for. In Google, when I search for connecting the Magento ...
user avatar
  • 470
1 vote
1 answer
24 views

Related : get current store_view_id (scope_id) in magento2

so, i want to reset configuration value from admin form,based on current selected store_view. for that i need to get current store_view_id (scope_id). your help will be appreciated!
user avatar
0 votes
0 answers
7 views

Mapping URL to files loaded (Magento2)

Is there an easy (or at least systematic) way to work out all the PHP files loaded in response to a particular URL being accessed? This would be in aid of finding malcode that intercepts customer data ...
user avatar
  • 1
0 votes
0 answers
12 views

I'm getting the follwing error when trying to Connect an API to magento - org.springframework.web.client.HttpClientErrorException: 400 Bad Request

This is the entire error below - any help I would deeply appreciate it! Request failed and calling request again:noOfApiRequests 0 org.springframework.web.client.HttpClientErrorException: 400 Bad ...
user avatar
0 votes
0 answers
13 views

Magento 2 + ACL for Customer Group dropdown

Is it possible to create an ACL rule for Group dropdown on Customer's profile? I've seen some code for Customer Groups: src\vendor\magento\module-customer\etc\acl.xml But, disabling this permission ...
user avatar
  • 1
0 votes
2 answers
6 views

Importing products. 3rd party or native?

I'm wondering if the magento 2 import is worth using. Back in M1 this process was just horrible and I remember only a couple thousand products taking over a half hour and then timing out partway ...
user avatar
1 vote
0 answers
29 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.
user avatar
0 votes
0 answers
3 views

are there any free reviews reminder configurations?

Are there any good configurations that can remind the customer by emailing them to leave a review on their purchase?
user avatar
  • 1
1 vote
0 answers
8 views

Customize frontend and backend magento2 using js without using phtml file

Just to explain in simple words. I want to use the js file in the frontend and backend of magento2 but without using the PHTML file.Just directly usage by getting field name, or id or something.
user avatar
0 votes
0 answers
16 views

Virtual category products using Smile Elasticsuite

I need all virtual category products using Smile \ Elasticsuite. I have searched on other sites but cannot find a working solution or similar example. Below I am attaching the code as I tried but it ...
user avatar
0 votes
1 answer
27 views

Magento2.4: Category page , if salable qty is 0 , show label on product

How to display a label on a product if the saleable quantity is zero with the code?
user avatar

1
2 3 4 5
910