Skip to main content

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.

54 questions from the last 30 days
Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Magento Adobe Commerce + Live Search

I am using Live Search in my project, and the configuration has been completed. Live Search is now working perfectly on the site. However, I need to update the data when syncing the product feed using ...
Ravi Soni's user avatar
  • 1,819
0 votes
0 answers
8 views

Magento 2 I tried to retrieve the custom column field value in the product grid using a renderer data is not psot edit time

$this->addColumn( 'customer_price', [ 'header' => __('Customer Price'), 'type' => 'number', 'currency_code' => $store->...
milan's user avatar
  • 51
0 votes
1 answer
17 views

How to install Magento 2 on Macbook Air M1, running Ventura?

I tried manually installing magento 2 using the command: php bin/magento setup:install \ --base-url=http://localhost/m2/ \ --db-host=localhost \ --db-name=m2 \ --db-user=root \ --db-password=root \ --...
Vladimir Despotovic's user avatar
0 votes
0 answers
15 views

Magento2 page size not working on custom attribute

I have created custom product widget and it was working fine in 2.4.6 and I recently upgraded the version to 2.4.7-p3 and page size stopped working. Working code without custom attribute release_date: ...
Arunendra's user avatar
  • 7,458
0 votes
0 answers
14 views

In Magento 2, I used the Magento 2 TaxCloud extension, but after placing an order, the tax shows as a random amount or sometimes as 0

<?php /** * Taxcloud_Magento2 * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It ...
milan's user avatar
  • 51
0 votes
1 answer
30 views

After Upgrade Form Not Submitting In Safari

I recently updated the site from Magento 2.4.3 to 2.4.6. Since then a custom form (that works in other browsers, e.g. Chrome and Firefox) is redirecting to the homepage upon Submit in Safari. In the ...
Sara Fuerst's user avatar
0 votes
1 answer
29 views

Magento 2 - Logout not possible, because controller request is cached on client

I am unable to logout on one of my projects. The customer/account/logout/ controller request, is getting cached. The image showing that the Cache-Control Header is set to max-age=86400, public, s-...
Black's user avatar
  • 3,431
0 votes
0 answers
33 views

Magento 2.4.7 How to open mini-search input field slow? (transition delay)

I can't find to edit the time to open the mini-search input field. All classes I added transition, does not have any effect. The default opening effect is so baaaam and I want to open it slow. I also ...
SoEgal's user avatar
  • 1
0 votes
0 answers
24 views

How can i fix Amasty Custom form can't view file a attachments Magento 2 [closed]

Submitted Data in Amasty Custom form And when i click file attachments
SuSu Dev's user avatar
0 votes
0 answers
36 views

Telephone error on Magento 2

when I purchase at checkout in my magento the purchase does not occur and the following error appears "Please verify the shipping address information. Phone is a required field." Validating ...
Jpenailillo's user avatar
0 votes
1 answer
29 views

Magento: How to ignore linked products in a grouped product with layered filter

I have a question. I have a filter and its name is "System" and I can select whether I want AP or UP, but when I select the filter AP it also shows some UP grouped products which have ...
Vale Bell's user avatar
0 votes
1 answer
14 views

Physical themes Magento changes to virtual theme when you change branch on git

Physical themes Magento changes to virtual theme when you change branch on git it is at 1 on the database it should be set to 0. /** * Checks all physical themes that they were not deleted * * @...
Quentin Plion's user avatar
0 votes
0 answers
19 views

magento2 i have to try to product grid custom column data pass

define([ 'mage/adminhtml/grid' ], function () { 'use strict'; return function (config) { var selectedProducts = config.selectedProducts, categoryProducts = $H(...
milan's user avatar
  • 51
0 votes
2 answers
33 views

Csp whitelisting in magento2.4.7-p3

In Checkout Page, I cant clear the csp console error: How can I resolve these console errors using the csp_whitelist.xml file? I have added csp_whitelist.xml file in custom module and added the ...
Preethi's user avatar
0 votes
0 answers
15 views

Magento2.4: How to show custom dropdown of configurable product size swatch?

I'm trying to create a custom dropdown for the size swatch of configurable products. I was getting an error on my iPhone which doesn't show the size attribute on mobile so I was converting the size ...
Afzel Arshad's user avatar
0 votes
0 answers
18 views

403 Forbidden when switching store views

On specific categories (not all of them), when switching between store views for products, I am getting 403 Forbidden (Nginx). This only happens for products, not categories. Following the debugging ...
mg244-0r's user avatar
0 votes
0 answers
11 views

Implementing an Amazon/Flipkart-like search in Magento 2

i want to make search like below image in Magento2 please guide me When we click All button on left of the input field , it will list categories we can use feature like search in category
Hemil's user avatar
  • 101
0 votes
0 answers
14 views

Magneto2.4.7 -p3 Click Admin Stores Configuration shows console errors

legacy-build.min.js:12 Uncaught TypeError: $(...).removeClassName is not a function legacy-build.min.js:12 Uncaught TypeError: $(...).removeClassName is not a function legacy-build.min.js:12 Uncaught ...
milan's user avatar
  • 51
0 votes
0 answers
39 views

Apply patch for Cosmicsting vulnerabillity

We are trying to apply the security patch for the Cosmicsting vulnerabillty. The Magento version is 2.4.6 (Open Source). We have downloaded the patch For versions 2.4.6, 2.4.6-p1, 2.4.6-p2, 2.4.6-p3, ...
Dimitra's user avatar
0 votes
0 answers
10 views

Magento 2 UI Form. How can I manipulate all fields data within one js file?

Does UI Form component has access to all its fields data? Where? Thanks!
valir's user avatar
  • 99
-1 votes
0 answers
13 views

Magento 2 UI component form and fields. Can you suggest some detailed documentation or books?

I did not find detailed documentation on this topic. Can anyone suggest something? Detailed explanation of xml and how data is processing between components. Thanks!
valir's user avatar
  • 99
0 votes
1 answer
44 views

In Magento 2, I used a renderer, but after using the renderer, the text box is not editable

$this->addColumn( 'customer_price', [ 'header' => __('Customer Price'), 'type' => 'input', 'currency_code' => $store->getBaseCurrency(...
milan's user avatar
  • 51
0 votes
1 answer
20 views

Magento 2 custom product grid, I posted the data with two custom columns, but the customer_special_price is missing from the post data when saving

<?php namespace Bliss\PricePerCustomer\Block\Adminhtml\Tab; use Magento\Catalog\Model\Product\Visibility; use Magento\Framework\App\ObjectManager; use Magento\Store\Model\Store; use Magento\...
milan's user avatar
  • 51
0 votes
0 answers
24 views

How to integrate Magento 2 native CAPTCHA into a custom frontend form?

I’m working on Magento 2.4.x and I want to integrate Magento's native CAPTCHA functionality into a custom frontend form for better security. I’ve seen CAPTCHA being used on the customer login and ...
M2 Dev's user avatar
  • 558
0 votes
1 answer
28 views

How to save products in bulk using API?

I am new bee in API development and need to save bulk products in my Magento using API. Do I need to create custom API module or is there any default API to save the products in magneto2? What are the ...
Nimita Patel's user avatar
0 votes
0 answers
26 views

razorpay for magento 2 facing issue on live website

from yesterday, suddently we are facing the issue due to razorpay payment gateway in magento2. (function anonymous( ) { debugger }) checkout got messedup and had to disable it? Any solution?
Gaurav Jain's user avatar
0 votes
1 answer
36 views

How to add groups fieldset with add row in admin block in magento 2

I need to add groups fieldset or bundle fieldset with "Add Row" section. like - $form = $this->_formFactory->create(); $form->setHtmlIdPrefix('custom_'); $customerId = $...
Rubel Parvaz's user avatar
0 votes
1 answer
20 views

How to change background-color from search autocomplete onmouseover? Magento2

I want to change the background-color from the input field, that works. Also for the .search-autocomplete. But if I go onmousover or click at mobile it will be shown with white background and I can't ...
SoEgal's user avatar
  • 1
0 votes
1 answer
21 views

magento 2 how to save custom field in sales order grid table?

I have created custom column in sales_order_grid table if I save data in that column not saved but it was saved in sales_order table
kanidhaya's user avatar
  • 182
0 votes
1 answer
19 views

magento2 custom tab add product grid filter issue

I have faced an issue with the below code. I have removed the below code, and then the working filter is fine, but the page reloads. protected function _construct() { parent::_construct(); $...
milan's user avatar
  • 51
0 votes
1 answer
16 views

Magento 2.4.7 the additional column in ordered items table in admin not showing

Magento 2.4.7 the additional column in ordered items table in admin not showing I have already tried the extend the sales_order_view.xml but still not working. Reference file path is app/code/Vendor/...
Rina Bhbabak's user avatar
0 votes
0 answers
20 views

Cache gets deleted and has to be rebuild

Magento 2.4.7-p3 My store deletes the cache (Varnish or any other 3rd party cache) multiple times a day by itself, it has to be rebuild afterwards. Any idea where and how to start looking for that ...
user4095519's user avatar
0 votes
1 answer
57 views

How to add customer Attribute inside custom tab section insted of "Account Information" in magento 2 customer attribute

I have created setup patch data using the attribute please check the below code and block using add custom tab <?php namespace Bliss\PricePerCustomer\Setup\Patch\Data; use Magento\Customer\Model\...
milan's user avatar
  • 51
0 votes
0 answers
30 views

Orders Merging Issue - New Order Products Adding to Old Completed Orders

I'm facing a critical issue with order creation in my Magento2.4.6 store. Sometimes, when customers place new orders using credit limit payment method, instead of creating a new order, the products ...
user115918's user avatar
0 votes
0 answers
27 views

Override files in Magento\Framework\Filesystem\Directory\

In my local dev system I need to symlink modules into the /vendor folder. Unfortunately magento checks if any included file actually resides inside magento's root folder. Files from outside that scope ...
omsta's user avatar
  • 698
0 votes
0 answers
41 views

Iframe not loading on a CMS page

We are trying to embed a Magento 2 website's page on another Magento CMS page using iframe, but the iframe is not working. When I checked the browser console I found an error. This is my csp_whilist....
R J's user avatar
  • 5
0 votes
0 answers
28 views

How can i switch between Multiple Magento2 Websites in PWA Studios?

We use PWA Studios as the "headless" frontend for our B2B website. We need to create a new website, this time B2C, with a shared magento 2 backend while keeping the same domain in between ...
coder23456's user avatar
0 votes
0 answers
19 views

Foreign key constraint while saving Configurable Product in Magento 2

We are Saving Configurable Products using Pim(pimcore) through a custom Module in Magento, while saving configurable Products,we are getting this below Foreign key constraint Erorr, SQLSTATE[23000]: ...
Chandra Sekhar's user avatar
0 votes
1 answer
25 views

Issue when updating customer email in Admin Panel with ö and .swiss domain

I'm encountering an issue when trying to change a customer's email address in the Admin Panel (Account Information) in Magento Version 2.4.5-p10 and 2.4.6-p7. Steps to Reproduce: Go to the Admin ...
Chris's user avatar
  • 1
0 votes
1 answer
31 views

Magento 2 revert an applied patch from Adobe commerce Cloud Environment

I applied a patch locally (adding the ‘QUALITY_PATCHES’ variable to the .magento.env.yaml file and listing the required patches underneath), and it was pushed to staging, where it was applied ...
Jancy Abraham's user avatar
0 votes
1 answer
24 views

Magento New Order Email Payment Method Address Alignment

M2 sales related transactional emails Magento use variable {{var payment_html|raw}} to add information and this information is added using HTML tag <dl><dt><dd></dd></dt>...
ishaq's user avatar
  • 305
-1 votes
1 answer
82 views

Checkout Page Fails to Load After Magento 2.4.7-p3 Upgrade with CSP Enabled

I recently upgraded my Magento store to version 2.4.7-p3 and encountered an issue where the checkout page fails to load. I am using Mageplaza's One Step Checkout extension. After some investigation, I ...
Vikas Sharma's user avatar
0 votes
1 answer
37 views

Magento 2: updateCustomerV2 graphQl

when i am passing value to taxvat variable NULL i am getting syntax error and if i am paasing value to it, it working proper but my requirement is accept the null value as well when i am checking the ...
Ronak's user avatar
  • 476
0 votes
1 answer
37 views

Add a new filter in sort "Available for purchase" in magento 2.4.6

I want to add a new filter added in "Sort" that will show all items that you are able to add to your cart and purchase.we have a good amount of items that can not be purchased online be we ...
Tisha Jhanwar's user avatar
0 votes
1 answer
36 views

How to apply multiple coupons in Magento 2.4.7

As per magento 2.4.7 multiple coupon codes feature available for REST Api, GraphQL. If we want to make it work for storefont, how can we achieve this? Thank you.
Mani's user avatar
  • 392
0 votes
1 answer
56 views

Sessions Conflict on Magento 2 StoreFront

I am using ScandiPwa as storefront and Third party Marketplace Module with Vendor Dashboard Scandipwa is using JWT token based login while Marketplace module is using Magento Customer Session to login ...
Waqar Ali's user avatar
  • 2,348
0 votes
0 answers
26 views

Duplicae images

I have a problem with duplicate images when ever I create POST request for the same product. I tried to change store configuration for Media Gallery, but failed to resolve the problem. Magento version ...
Stevan Inić's user avatar
0 votes
0 answers
44 views

You haven't provided your Magento authentication keys

I'm new in using Magento. Ok, I use Mage-OS. All is very difficult and sometimes no way to found a valide answer for questions. So I'm happy to find these forum and hope of your help. I want to ...
SoEgal's user avatar
  • 1
-1 votes
1 answer
19 views

Refactor code create cron Magento 2.4.3 to 2.4.7

Old Code: <?php /** * Copyright © All rights reserved. * See COPYING.txt for license details. */ namespace Module\Coord\Cron; class GenerateShipping { protected \Psr\Log\LoggerInterface $...
César Robledo's user avatar
-1 votes
1 answer
20 views

Magento 2.4.7-p3 Deprecate class Action\Action and constructor parent::__construct($context);

<?php declare(strict_types=1); namespace Module\Coord\Controller\Index; class Index extends \Magento\Framework\App\Action\Action { protected $resultPageFactory; /** * Constructor ...
César Robledo's user avatar