Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Magento 2, Make Email Address Field in Checkout Page as Optional

Magento 2, Make Email Address Field in Checkout Page as Optional Custom Module to make checkout page email address field as a optional, if not add default email Id in checkout email address field. ...
Ram Prashanth's user avatar
0 votes
1 answer
62 views

Customer grid uiComponent in slide out modal (Admin)

I want to open a modal in the backend when i click on a button in the admin bar above in the page. In this modal a customer grid uiComponent needs to be shown. The uiComponent is getting loaded ...
P. Sopacua's user avatar
1 vote
1 answer
45 views

Is it possible for a magento 2 plugin to display a html written warning based on certain conditions?

These are two files i'm using to print a warning: extra.html(https://i.sstatic.net/IYo7wvWk.png) data.html(https://i.sstatic.net/TMabfFrJ.png) This is what i'm getting but it's static, i want it to be ...
Santiago Gutierrez's user avatar
0 votes
1 answer
51 views

Make city address attribute as optional per website | Magento 2

By default customer address attribute "city" is set as required. I would like to make "city" address attribute optional per website. When I access configuration page in magento ...
Denis2310's user avatar
  • 1,208
0 votes
0 answers
18 views

override the core acl without overriding any of core file

<type name="Magento\PurchaseOrderGraphQl\Model\Filters\CompanyPurchaseOrders"> <arguments> <argument name="allowedResources" xsi:type="array"&...
ravichandra's user avatar
0 votes
0 answers
78 views

Magento Cache is getting bigger and bigger after upgrade to 2.4.6-p6

I upgraded from Magento community editon 2.4.6-p3 to -> p4 -> p5 -> p6 (one after another on one day). Since then I see that the cache is getting bigger and bigger. For example I made a tar ...
Anton Ulrich's user avatar
0 votes
1 answer
75 views

Magento 2 | Default shipping address not selected after shipping methods reload

Version: 2.4.6-p6 After accessing checkout shipping step, after page is loaded, my default shipping address is preselected which is fine. Right after that, shipping methods are gets reloaded (loader ...
Denis2310's user avatar
  • 1,208
0 votes
0 answers
35 views

How to add Adalyser tracking tag in GTM for Magento 2

How we can integrate adalyser tracking code in GTM for magento 2. and they are mentioning, These tags must be sequenced to fire after the all pages tag in order to function. any one can offer any ...
Mani's user avatar
  • 113
0 votes
0 answers
24 views

Magento 2 - layered navigation filter missing (when attribute value is not set on at least 1 product)?

I have noticed that if attribute value is not set on at least 1 product then filter for that attribute wont be shown in magento 2 layered navigation? If I have 1000 products and there is 1 where I ...
Denis2310's user avatar
  • 1,208
0 votes
0 answers
29 views

Magento 2.4.6 select query consuming all resource cron jobs

We have a select statement that we cannot trace and keeps being run multiple times `SELECT `e`.*, IF(at_status.value_id > 0, at_status.value, at_status_default.value) AS `status`, `at_visibility`.`...
Craig Blackman's user avatar
0 votes
0 answers
159 views

Magento 2 | Smile Elasticsuite search results get all - "*"

In Magento 2 when I search for "*" in search field, all products are shown. I noticed that this is because of Smile Elasticsuite extension. Without that it wont work. Does anyone knows how ...
Denis2310's user avatar
  • 1,208
0 votes
0 answers
67 views

Magento DB Downgrade 2.4.3 EE to 2.4.6 CE

I am downgrading Magento 2.4.3 Enterprise edition to 2.4.6 community edition. While downgrading I am following few already available modules and blogs like below https://github.com/opengento/magento2-...
Mohit verma's user avatar
0 votes
0 answers
130 views

Magento 2 API: 401 Unauthorized for Salesrule calls with Admin Bearer Token

I am using the Magento 2 API to convert quotes (from custom made laravel project) to orders. I use an administrator bearer token, which works successfully for other API calls such as: Create guest ...
rubinjo13's user avatar
0 votes
0 answers
27 views

Magento 2.4 product details page my custom form submit then get errror

i am created custom module as per requirement.my details page add custom button when click then open popup and submit data. at time my data is save database and admin grid but email not send. i will ...
mohit vamja's user avatar
0 votes
0 answers
47 views

Magento 2 - Filterable product attribute in layered navigation visibility?

Is filterable product attribute visible in layered navigation in magento ONLY when all products have value set for that attribute? I have filterable select attribute which is not required and it is ...
Denis2310's user avatar
  • 1,208
0 votes
0 answers
22 views

Magento 2 - Custom product select attribute is not shown in layered navigation

I have created custom product attribute input type select with configuration below in code sample that is provided. After creating attribute I assigned added options to that attribute in magento admin ...
Denis2310's user avatar
  • 1,208
0 votes
0 answers
168 views

magento cloud version upgrade to 2.4.7 completed but getting failed to load component error on checkout page for all custom modules

magento cloud version upgrade to 2.4.7 completed but getting failed to load component error on checkout page for all custom modules. there are lots of error related to system upgrade / compatibility ...
Roshan Rakesh Yadav's user avatar
0 votes
0 answers
320 views

cache-control: no-store, no-cache, must-revalidate, max-age=0 response is given

For Magento 2.4 project i runned command Curl -IL Domain in terminal and cache-control: no-store, no-cache, must-revalidate, max-age = 0 response is given . I talked to support of cloudways but they ...
girish's user avatar
  • 1
0 votes
1 answer
524 views

Magento 2.4 Issue: The coupon code isn't valid. Verify the code and try again

I'm using the magento 2.4. I have created the auto generated coupon but which is not worked. Here, I've attached the images.Could you help me? Initally I make sure the from & to date. Then, I ...
GManikandan-Dev's user avatar
0 votes
1 answer
169 views

get list of items from sku magento 2 programatically

I want to fetch items from skus. Can anyone suggest me how to do. The code I am following - The sku i am getting in the variable $productSkus. private function fetchProducts(array $orderItems): array {...
rashi's user avatar
  • 137
0 votes
0 answers
208 views

How to setdata of custom dynamicrows ui component from category_form.xml in magento 2

I want to save the data in of a custom dynamic-rows field. which i added on admin category page.Now I don't know why the value is not passing. my custom_form.xml: <?xml version="1.0"?> ...
section_active's user avatar
0 votes
0 answers
138 views

setup:di:compile error after upgrading to Magento 2.4.6

After upgrading from 2.4.5 to 2.4.6 I amd getting this error when running setup:di:compile #1 /home/wp11246/public_html/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/wp11246/...
nickcobb's user avatar
0 votes
1 answer
169 views

Problem with child product in Magento 2.4.6 Cart

I have a problem with the cart section. When I add multiple times the same child product from a configurable product, in the cart it's shows as a different products not as the same with more qtys. ...
Ddweb's user avatar
  • 21
0 votes
0 answers
66 views

An error with Magento 2 Admin panel page/Unable to access the admin page - Rest of the site is still fine

When logging into my admin panel it's throwing the error below, causing me to be unable to access the admin panel. 1 exception(s): Exception #0 (InvalidArgumentException): Item with identifier ...
David Gupta's user avatar
0 votes
0 answers
22 views

How do i successfully install magento2?

I'm getting this error message when I copy and paste the final code block enter image description here Steps taken (1) I've tried rewritting the line of code. (2) Tried 127.0.0.1 instead of localhost ...
Robert Willis's user avatar
0 votes
0 answers
47 views

When adding prefix in media URL category image upload gets affected in Magento 2.4

When I add prefix fs_ in media URL of s3 bucket then getting issue with category image save. When I select image for category image and custom image for first time it gets saved. In ...
Amit Kumar's user avatar
0 votes
1 answer
297 views

Magento 2: The newly added column does not appear in the product export csv file

When we export Magento products, in the CSV there is one column related_skus. I have added one column with the same name, accessories_skus. But when I export to the staging server on the live server, &...
nikhil ajani's user avatar
0 votes
0 answers
33 views

How can use Redis Client cache on afterGetList function in Magento 2

I have created plugin for afterGetList() to added extension attribute data in searchCriteria. But I want to add searchCriteria in cache, How can we implement this? I if searchCriteria parameter change ...
sandip.B's user avatar
0 votes
0 answers
142 views

How can i add multiple products to cart with quantity at same time in magento2?

My currunt url: http://viva-wireless.local/apple/iphone.html# I want to add all product to cart with quantity who has quantity value is more then 0 while i click on "Add All To Cart" button. ...
Ronit Zinzuvadiya's user avatar
0 votes
0 answers
267 views

Magento 2.4.5 pdf downloaded using mpdf not showing logo image

Hi I'm using mpdf(in mageplaza module) to download my invoices as pdf in my magento 2.4.5 project and I get this issue of logo image not visible in downloaded pdf files recently. Earlier it was ...
Sahan Thilakarathna's user avatar
0 votes
1 answer
170 views

Magent2: shell execute command from observer

I want to execute shell command from magento observer but getting below error. Command returned non-zero exit code: sudo php -dmemory_limit=5G bin/magento cache:disable 2>&1 I am using below ...
Ram Sharma's user avatar
  • 8,809
0 votes
1 answer
189 views

How to redirect to wishlist controller for adding product in magento2

I have a problem that keeps me blocked, i need help about it! By using knockoutJs and a controller in order to get a form_key i was trying to get redirected to the wishlist in order to add the product ...
Oscar R. Gamboa A.'s user avatar
0 votes
2 answers
1k views

Installed magento 2.4.6-p1 & added a few products then tried to add a product to cart and got the below error. Any help will be much appreciated

[2023-08-07T02:38:55.058044+00:00] main.DEBUG: URI '/checkout/cart/add/uenc/aHR0cHM6Ly93d3cuYmVzdWlnZW5lcmlzLmNvbS92MjQ2djEvYi1jLWluc3BpcmUtZTE1MC5odG1s/product/1/'' cannot be accessed with GET method ...
Alaldin's user avatar
0 votes
1 answer
173 views

Magento 2 - Uncaught Error: Class "DOMDocument"

I am using magento commerce cloud, and when I try to execute selected command below: vendor/bin/mftf generate:tests Then this error is shown in console: Uncaught Error: Class "DOMDocument" ...
Denis2310's user avatar
  • 1,208
0 votes
1 answer
669 views

I'm using Magento 2.4.6 and want to allow customers to log in permanently as long as I don't hit the logout button

I am trying to achieve a login duration of 2 days or (a period of time) for customers in Magento 2.4.6. I tried adjusting the "Online Session Lifetime" value to control the duration of ...
abd qam's user avatar
0 votes
1 answer
280 views

Magento 2 Checkout_module JS structure

I have been learning magento since past 2 months but i have been stuck at a point in learning . What i can't understand is Why there are 3 folders in JS of checkout_module VIEW,ACTION,MODEL are they ...
Abhishek's user avatar
0 votes
2 answers
526 views

How to check which files are changed in magento 2 patch?

I applied this magento 2 patch: https://experienceleague.adobe.com/docs/commerce-knowledge-base/kb/support-tools/patches/v1-1-18/acsd-46146-two-order-confirmation-emails-are-sent-after-placing-order-...
Denis2310's user avatar
  • 1,208
0 votes
2 answers
590 views

Issues with custom import of orders in Magento 2.4.6 (Adobe Commerce)

I am following the tutorial Create a custom import entity . However, instead of importing learning courses as shown in the tutorial, I'm attempting to import orders. To adapt the tutorial for orders, ...
yahyaBdd's user avatar
0 votes
1 answer
550 views

Magento 2 product detail page non cacheable

I am facing an issue with PFC and varnish for the product detail pages. I get the following: X-Magento-Cache-Control:max-age=0, must-revalidate, no-cache, no-store X-Magento-Cache-Debug: MISS One of ...
archigrafix's user avatar
0 votes
1 answer
93 views

What is the impact of Universal analytics deprecation on Magento 2

To send ecommerce data from Magento 2 to analytics, we have out of the box configuration in admin Magento 2. In which we are adding universal tracking ID (UA-XXXXXXX-1), then its starts sending ...
Mani's user avatar
  • 113
1 vote
1 answer
2k views

Magento 2: Static file path is wrong, should be pub/static/.... instead of static/

So i just installed magento2 on my linux localhost using php 8.2 and magento 2.4 on ubuntu. but once i load it up there is no css or js, and the filepaths to said stuff is wrong (see images) i have ...
EasyEden's user avatar
0 votes
1 answer
716 views

Uncheck "Use Default Value" Check in the Website Scope Magento 2

In the Magento Backend I want to implement the logic i.e. I have one custom module at the location Stores > Configuration > Custom Module I can see I have multiple websites and stores. I want to ...
rashi's user avatar
  • 137
1 vote
2 answers
592 views

Magento 2 - Scheduled changes of block is not reflecting in the front end side

I am trying to scheduled the block content changes in the blocks. After the scheduled time, it was executed successfully and the content was reflected on the block content section in MBO side. But the ...
Ravichandran Jothi's user avatar
0 votes
1 answer
3k views

Magento 2 - Message queue stopped working after update to Magento 2.4.5-p1

Since we've updated from Magento 2.4.4 to Magento 2.4.5-p1 the message queue (we're using RabbitMQ) stopped working. For example when we update products in bulk, the message is still 'Message added to ...
user1393817's user avatar
0 votes
2 answers
443 views

Magento help: Install Magento 2 through composer

I try to install Magento 2.4.5 through composer but showing an error "Could not find package project-community-edition with version 2.4.5." I used cmd:composer create-project --repository-...
Kumar Anand's user avatar
0 votes
1 answer
495 views

In magento 2 Not show the value after ajax response in UI Component

i am trying to get shipping amount in seller wise in checkout summary i got the amount from ajax i render the data in html but it is not showing after ajax without ajax it is working Magento_Checkout\...
hari prasath's user avatar
0 votes
0 answers
163 views

while running the installation command to install magento2.4.5 it say "Search engine 'elasticsearch7. is not an available search engine."

Image of the error enter image description here Elasticsearch is already running but still shows this error
farhan's user avatar
  • 1
1 vote
0 answers
524 views

Connection timed out Issue When hits API Magento 2.4.2

Magento showing the below error when it hits the apis, because of this its increase the api response time. Due to that, site becomes slow and sometime site is not loading properly. [2023-01-30 18:17:...
PRINCE KUMAR's user avatar
1 vote
1 answer
1k views

Magento 2 - SQLSTATE[42S02]: Base table or view not found when running a reindex

I am getting the following error on terminal when running bin/magento indexer:reindex: ***SQLSTATE[42S02]: Base table or view not found: 1146 Table 'catalog_product_index_price_cfg_opt_temp' doesn't ...
Harris Alam's user avatar
0 votes
1 answer
1k views

How to Hide or Show Custom attribute based on another custom attribute in Product detail/edit page from Adminpanel Magento 2.4.x?

I have created the Product's custom attributes programmaticaly (Setup->Installdata.php). ` class InstallData implements InstallDataInterface { private $eavSetupFactory; public function ...
Nihal Shantha's user avatar