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
1 vote
1 answer
76 views

Mage-messages cookie is not getting clear in specific store in magento setup

I am facing a strange issue with cookies in the Magento store. The problem is that the "mage-messages" cookie is not being cleared in the US store. In Magento, we have a setting as shown in ...
Mansi Raja's user avatar
0 votes
0 answers
29 views

How to show custom video preview in admin form in magento 2?

I have create a custom module for video upload from admin form using ui_component but problem is that how to show custom video preview in admin form using ui_component in magento 2 ? Please tell me if ...
VishalSingh's user avatar
0 votes
0 answers
19 views

docker redis running out of memory with magento 2

My docker redis instance is running out of memory constantly and my website drops with the message that redis is loading the dataset in memory I have set up my docker container with max 10GB and in ...
gabtzi's user avatar
  • 656
0 votes
0 answers
26 views

Error while uploading category image

When I try to upload an image in a category I am getting below error. The issue I found is that the function in the file 'vendor\magento\module-catalog\Model\ImageUploader.php' public function ...
Akhilesh's user avatar
  • 209
0 votes
3 answers
41 views

Magento2: Sharing link from our site, shows the og:name of an old site we had

I have 2 Magento websites in one Magento 2.4 backend. Until recently, we had another website in the same backend, but we deactivated it. When I share a link from 1 of the remaining active sites in ...
Rob's user avatar
  • 1
0 votes
1 answer
39 views

Is it possible to override type configuration in the di.xml of a module in Magento2?

I want to override the file "Fooman\EmailAttachments\Observer\AbstractSendInvoiceObserver". Here is the code in the di.xml. <!-- module introduced preferences --> <preference for=&...
Jancy Abraham's user avatar
0 votes
1 answer
80 views

Magento2: How to add a custom extra field for product options, such as an image upload, in the select option type

I want to add custom field for image upload in custom option value like given in image. I tried following Magento 2 add new custom option image upload field but it add earlier while i need it with ...
Mufaddal Dhansurawala's user avatar
0 votes
1 answer
15 views

Getting html page in response during get token using admin credentials in magento2

I tried to get an access token from Postman but received an HTML page in response. Here, the Magento base URL is https://www.qualityforms.com/. I don't know what settings need to be configured in the ...
Ranjeet Singh's user avatar
0 votes
0 answers
17 views

Moving from working prod Magento 2 install to local docker all white screens everywhere. No errors anywhere

We have a working prod version of Magento running at Nexcess. We are trying to debug an integration and want to get it running locally. We've pulled down all the production files and db and have them ...
John W.'s user avatar
0 votes
1 answer
26 views

How to filter customer collection by custom field added by db_schema xml file to customer_entity table in Magento 2?

I added 'custom_field' to 'customer_entity' table by using 'db_schema.xml' file and need to save 'some value' in it then I wanted to filter the collection by 'custom_field' value. How can I achieve ...
shankar boss's user avatar
  • 1,453
0 votes
0 answers
7 views

MFTF with protected files

I am doing an MFTF for the product page on a test environment with htpasswd (apache file protection), I enter the htpasswd credentials in the url in order to bypass the test. ex: https://test:test@dev....
Mohammed Alrefai's user avatar
0 votes
0 answers
13 views

No mapping found for [added_on_value.sort_added_on] in order to sort on

I am trying to create new product attribute of type datetime. Attribute is created successfully and also there is no error while reindexing. Note - I am able to save the attribute value from admin ...
Deepak Mankotia's user avatar
0 votes
0 answers
28 views

Minicart QTY & Total not updated, after remove item programmatically from RequisitionListManagement Plugin

Created the following plugin of RequisitionList list: <type name="Magento\RequisitionList\Model\RequisitionListManagement"> After add item to Requisition-list, require to remove one ...
Mahesh Dave's user avatar
2 votes
1 answer
48 views

How to Display Prices in Dropdown for Configurable Product

I want to display the prices in dropdown for configurable product , Like this : https://prnt.sc/XEfmjtI4Dni4 can anyone guide me step by step how can I do so ? Thank you.
Jantar Mantar's user avatar
0 votes
1 answer
20 views

Magezon blog sharing image

Does anybody know how to change the image of the link when sharing a blog using magezon? for the image of the blog user
Félix Gagné's user avatar
0 votes
2 answers
60 views

How can I set the value of a Yes/No Config field based on the value selected in another yes/no field in Magento 2 system.xml

I have a system.xml which has 2 yes/no fields. <field id="popup" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite=&...
nickcobb's user avatar
0 votes
1 answer
32 views

How to get all orders with a specific SKU using the REST API?

I’m trying to figure out if a product was bought and when, but other than looping over all orders I don’t see how I can do that. I saw this question but I need to do it through the REST API. Any idea?
bfontaine's user avatar
  • 167
0 votes
0 answers
31 views

Magento 2 Mailchimp Guest customer fields are not sync on Mailchimp after order placed

Magento 2 Mailchimp Guest customer fields are not synced with Mailchimp after the order is placed. We are using Magento 2.4.5-p1 version and the Mailchimp version is 103.4.50 Except for Guest email ...
sumeet bajaj's user avatar
  • 1,286
0 votes
2 answers
72 views

Magento2: How to make ajax based newsletter subscription & move success message just below subscription field

I have subscription block before my footer links and after successful subscription the message appears on the top of main part, but I want to show it below subscription input.Of course there should be ...
Veronika Petkeviča's user avatar
0 votes
1 answer
21 views

Getting order extension attributes from Swissup Firecheckout?

I tried getting the checkout fields attributes which are included with the Swissup Firecheckout ... the developer said its possible with $order->getExtensionAttributes();. So I created some throw ...
user4095519's user avatar
0 votes
1 answer
41 views

Magento2: Product import is not working (Static attribute)

I'm trying to update some products using the import file. I Realized that one attribute is not updating. I noticed this attributes is backend_type = static. This is related to the problem or can be ...
Camilo Torres's user avatar
0 votes
1 answer
46 views

Add custom textbox after shipping method if freeshipping selected with validation

i've added textbox field if shipping method is freeshipping based on the shipping method textbox functionality working fine. but i want to make that field required which is not working here is my code ...
Ronak's user avatar
  • 456
0 votes
0 answers
17 views

Magento 2.3.5 Advanced Reporting access issue

Our Magento advanced reporting was working fine but recently we cannot access into it! Kindly check below image: Advanced reporting has been enabled for years and it was working: The "magento ...
Armi_Raz's user avatar
0 votes
0 answers
25 views

List products including out of stock products in custom module (without listing out of stock products on the whole shop!)

I’m having a custom route in a custom module where I’d like to list a subset of products for a specific search criteria. I’d like to include here just for this action the out of stock products. BUT I ...
denis's user avatar
  • 101
0 votes
1 answer
36 views

Magento2: How to update/change Welcome/Subscription email?

Where I can change my welcome email or subscription email? And also I need to translate them to different languages. Maybe you can send tutorials how to do that.
Veronika Petkeviča's user avatar
0 votes
1 answer
51 views

Magento2: Create orders grid replica and add custom columns

I want to replicate the order grid, add custom columns in it and fetch that columns data from the API.
Rana Zain's user avatar
  • 642
0 votes
0 answers
9 views

"Invalid Template File" CRIT once a day for system built in templates . Do I worry or ignore it?

Every day at the same time I get a whole ream of CRIT alerts for invalid template files [2024-01-25T02:40:23.971560+00:00] main.CRITICAL: Invalid template file: 'widget/static_block/default.phtml' in ...
iphigenie's user avatar
  • 1,719
0 votes
1 answer
28 views

Magento2: Add a size attribute to the frontend Wishlist

Hi I am very new to magento and i want to add a variable that is the size variable that i know exist when you look in the minicart but for some reason I cant seem to find the variable anywhere in the ...
Fahost's user avatar
  • 1
0 votes
1 answer
21 views

Send another email after order confirmation email

Can someone advise what is the best approach or give me some points on how can I send another order confirmation email (Second Email is configured in Marketing->Email templates in Admin panel). ...
Siri's user avatar
  • 115
0 votes
0 answers
24 views

Magento ui component trigger visibility

in a magento 2.3.4 site we have a firecheckout module with registration on checkout enabled. Password fields visibility is managed by a checkbox field which triggers visibility. We'd want to trigger ...
Matteo Rossi's user avatar
0 votes
0 answers
17 views

Apply Discount to Grouped Product

I want to apply discount on the grouped products. The associated products are visible, so when i use cart price rule, the discount is applicable to them as well. Please suggest me an alternate way to ...
surbhi agr's user avatar
0 votes
4 answers
126 views

In Magento 2, how do I remove the YouTube icon button for product video on the product detail page?

In Magento 2, how do I remove the YouTube icon button on product video on product detail page? I also need to remove the copy link and subtitles/closed captions. Please tell me if anyone knows.
VishalSingh's user avatar
0 votes
0 answers
20 views

How to use web3.0 node_modules in Magento2?

when I use like web3, etc. get the problem is those js packages require lots of all other js from node_modules. So I think it's impossible to create a symbolic link for all of those js.I have used the ...
mohit vamja's user avatar
0 votes
0 answers
41 views

Magento2 Getting Error: The invoice can't be saved at this time. Please try again later

Steps to replicate the problem: Create Order by user Press invoice by admin Cannot Submit invoice Error: The invoice can't be saved at this time. Please try again later. Can you please suggest how I ...
SuSu Dev's user avatar
0 votes
1 answer
36 views

Phone based Checkout

Can anyone recommends any extension which converts the checkout from email to phone OR what the possibilites of customizing the checkout to remove the email/password field. I know the limitations of ...
Abdul Rafay's user avatar
2 votes
1 answer
32 views

How to optimize the config save on Adobe Commerce 2.4.7?

I have Adobe Commerce 2.4.7, with 500 stores, and my store configs take almost a minute to save the configs due to the huge traffic and large database. I heard that I could optimize it on 2.4.7. How ...
Rafael Corrêa Gomes's user avatar
2 votes
2 answers
80 views

Where does Magento 2 save session?

Where does Magento 2 save session files? According to the documentation, it is possible to save in the database, in redis, in memcache or in files, but in the default installation it looks like this. ...
Bruno Depieri Barduchi's user avatar
0 votes
3 answers
91 views

How to hide admin product form tabs for specific admin user?

I want to have an admin user who would only be able to view the 'Images And Videos' and 'Search Engine Optimiation' in the admin product edit form. I tried the following. Created app/code/Vendor/...
Aniruddha Ray's user avatar
0 votes
0 answers
21 views

Magento 2 admin page menu and buttons didnt work after speed optimization

After we enable javascript bundling and minify javascript files, admin left menu and buttons didnt work. Also in our website we could add products to the basket. Thank you for your help.
Mabita's user avatar
  • 1
0 votes
0 answers
15 views

Magento 2 Add custom test into Order Confirmation Email

In our requirement we've simple & grouped product, we need to add a product custom attribute in order confirmation email. I've followed https://community.magento.com/t5/Magento-2-x-Programming/...
senthil's user avatar
  • 1,729
0 votes
1 answer
26 views

Magento2 | Category links are incorrect in search autocomplete

My site is with Magento 2.4.4 multilingual and I use the ElasticSuite search module. Every time I go to edit a category for each store view and try to search for that edited category in the ...
Jackom's user avatar
  • 473
0 votes
1 answer
33 views

How to remove or disable empty cart button confirmation popup in Magento2 - 2.4.5

We've recently updated a customer Magento2 to 2.4.5-p5, now the cart page added a confirmation popup when clicking the empty cart button: Magento_Checkout/js/shopping-cart.js _confirmClearCart:...
SantiBM's user avatar
  • 1,351
0 votes
0 answers
42 views

Magento 2 How To Create File Upload Controller in Ui Component Form

I have created one custom extension that creates one grid using UI component so now, on this create one control file upload type, and using this control I want to upload one PDF file and save it on ...
Keval Chauhan's user avatar
0 votes
0 answers
22 views

PHP Xdebug Setup in Docker-Warden for Vs Code on MacOS

I'm currently working as an Adobe Commerce Cloud developer and have recently transitioned to MacOS. I've successfully set up my Adobe Commerce project in Docker using Warden and I'm using Vs Code as ...
Bhagyashri Pawar's user avatar
0 votes
1 answer
39 views

How to Pragmatically Check an Input Option in an Admin Form

I am fetching data and populating radioset options for an admin form. I can populate the options but I want to have them checked based on the fetched data. I tried putting 'checked' attribute but was ...
Joseph Haan's user avatar
0 votes
0 answers
11 views

magento2 verifies the order before it is generated

magento2.4.5 CE Before generating the order, I need to call the erp third-party system to verify whether the inventory is satisfied and whether the product is removed from the shelves. How should I ...
sq y's user avatar
  • 127
0 votes
0 answers
9 views

How can I modify the Vue Storefront API code so that it can receive a link to an mp4 video?

I have Vue Storefront system + Magento 2. I need to get links to videos that are on the Magento side. The file code that I attach below is responsible for getting the images. How can it be modified so ...
WhoYou's user avatar
  • 53
0 votes
0 answers
23 views

Unable to get to step 2 of checkout cart in Magneto 2

I am having a problem with the checkout cart where I cannot get to the second step of the checkout process. When I click on the "Review and Payments" button nothing happens as shown in the ...
Jack's user avatar
  • 3
0 votes
1 answer
46 views

Can anyone please help me to solve the magento 2.4.6 Add Custom Order Attribute To Order API

I have tried to insert additional order attribute through API /rest/V1/orders I have already created module to insert additional attribute ref taken from https://www.ulmod.com/blog/add-custom-order-...
Rina Bhbabak's user avatar
1 vote
0 answers
21 views

Mobile browser not loading new css styles

I have the Sign Static Files setting on in Magento settings. I have verified that deployed_versio.txt has a new version number after setting up static files with setup:static-content:deploy. However ...
Webninja's user avatar
  • 1,591