37,481 questions
0
votes
1
answer
22
views
Custom logs message in gtag.js
On checkout, I suddenly saw this message on my console, and it made me worried. When I looked it up, it was coming from the gtag.js file. Is it okay for this kind of log in the console, or should I ...
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.
...
0
votes
1
answer
25
views
Alpinejs xtext performance in magento project
I’m new to working on a Magento project with Hyvä Theme and Alpine.js.
On the product page, I have a JSON containing product models that I’ll receive from Typesense. My plan is to use PHP for the ...
1
vote
1
answer
19
views
I want to display a CMS page in Magento 2
I have a CMS page named WIB whose identifier is wib_home_page_content. I have to fetch the cms page and then using the page layout system. I am able to fetch the CMS block. But now I have to return it ...
0
votes
0
answers
40
views
Magento 2 - After upgrde getting net::ERR_INSUFFICIENT_RESOURCES in admin category page
We upgraded Magento from version 2.4.5 to 2.4.7-p3. After that, we checked the admin category page and encountered the following errors:
POST https://yourdomain.com/admin/catalog/category/...
0
votes
0
answers
9
views
Is mangento 2 support module excluding from JS bundling (like stripe)
I recently enabled JS bundling for my store, which caused the Stripe module not to load in my browser, resulting in the payment button not appearing on my page. Although I updated both the Stripe ...
0
votes
0
answers
22
views
My custom magento section isn't injected into local storage cache
In my understanding, magento store private customer data in a local storage under the mage-cache-storage key. Therefore, I'm trying to create a custom section in the local storage to store my own ...
0
votes
0
answers
23
views
Magento 2 Magento\Catalog\Model\layer getProductCollection()
I'm trying to update the collection in Magento\Catalog\Model\Layer::getProductCollection() to update de attributes in the layered navigation according with my custom collection.
First of all, when I ...
0
votes
1
answer
46
views
404 Error Not found after successful installation Magento
I am an aspiring Magento developer. As a beginner I had to install Magento 2 on my local machine using MAMP, and the composer in VSCODE.
I have just succesfully install Mangeto using the composer.
...
0
votes
1
answer
33
views
How to Manage HTTP Response Headers in Apache for a Magento Site?
I want to update headers like Cache-Control, Expires, and Pragma, but I'm facing issues even after making changes in my .htaccess file.
Current Configuration:
I've added the following to my .htaccess ...
0
votes
1
answer
22
views
Group Product going "Out of Stock"
I have created a grouped product with 5 simple products attached to it. Each of those has a QTY of 15. However, at random, the grouped product turns Out of Stock without any reason. There have not ...
0
votes
0
answers
17
views
How to Install an Older Version of Magento PWA that Supports Magento 2.4.6?
I'm currently working on a project that uses Magento 2.4.6, and I need to install a compatible version of Magento PWA. However, I'm having trouble finding the right version that supports this specific ...
0
votes
0
answers
21
views
Uncaught Error: Mismatched anonymous define() module error Magento 2.4.6 - Only Chrome browser
Uncaught Error: Mismatched anonymous define() module error on chrome browser,on Mozilla is working fine on magento .2.4.7. How can find the error on production server because error only coming on ...
0
votes
0
answers
23
views
Issue creating configurable product using bulk import via web API
I am trying to import products using Magentos web api. Specifically the bulk import endpoints.
I have no issue creating and editing the products, my issue however is when I try to add the options to ...
0
votes
0
answers
32
views
Magento in Kubernetes and Docker not working
I'm trying to deploy Magento2 application in Kubernetes. This is how my Dockerfile looks like.
FROM php:8.1-fpm
RUN apt-get update && apt-get install -y \
nginx \
zip \
unzip \
...
0
votes
0
answers
37
views
Magento graphQl product query (width, height, weight)
I have a store on Magento 2. I don't have much experience with graphQL, so I'm asking for help, tips on how to formulate a graphQL query.
I need to get the dimensions of the product, i.e. length, ...
0
votes
0
answers
62
views
jquery/fileUploader issue in magento after upgrading to Magento 2.4.7
If you're encountering this issue and unable to find a solution, try removing the following entry from your composer.json file
"blueimp/jquery-file-upload": "lib/web/jquery/fileUploader&...
0
votes
0
answers
22
views
Out-of-stock product details not showing in magento 2.4.5 GraphQl
out-of-stock products in productSearch query in magento 2.4.5 is not showing. The below query i am using --
{ products(filter: { category_id: { eq: "3" } }) { items { name sku url_key ...
0
votes
0
answers
28
views
How to remove $_GET timestamp from Magento AJAX Requests
Magento 2 adds a $_GET timestamp to every AJAX request URL to prevent browser caching. Since such requests or the result is PHP generated for me it doesn't make sense to prevent browser caching if the ...
-1
votes
2
answers
32
views
I want to display the "No Images" products at the end of a category listings. How can we achieve this sorting with best magento 2 practices?
In magento 2.4.x Category listing page. I want to move all the products which have NO IMAGES at the end OR you can say at the last page. What is the best practice of magento 2 to achieve this ...
0
votes
1
answer
47
views
Webscrapping magento website. API calls with 200 empty response when no timestamp specified
Help on magento website for scrapping purpose
I’m kinda new so sorry if some terms seem weird.
I am trying for a personnal context to scrap data from the website Prolians https://www.prolians.fr/ ...
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 ...
0
votes
0
answers
12
views
Install Kafka in Magento1.x
I need to install the Kafka on Magento1.x to push some information via Kafka from Magento1.x website.
Please share the sample code to publish the message from Magento1.x
1
vote
0
answers
24
views
I'm having troubles migrating my company's data from Magento to Django Rest Framework [closed]
I observed that the SQL tables were not organised enough for a typical migration, so I decided to work on a new lighter DB and utilise Django because of its stability to handle the seeding of the new ...
0
votes
0
answers
27
views
Missing required argument $name of SaaSExportLogger getting this while running magento command(2.4.7-p2)
Missing required argument $name of SaaSExportLogger getting this while running magento command(2.4.7-p2)
try to add name in di.xml but getting same issue facing. Similar issue faced for the data ...
0
votes
0
answers
38
views
MySQL query with pagination gets slower with every next page [duplicate]
I doing export so execute a lot of queries and in every call PDOStatement->execute is slower. This is same sql, only diff is offset. If that matter this is query:
SELECT `main_table`.*,
`p`.`...
0
votes
1
answer
24
views
Can we create a custom module for: Stock available qty range silder filter in layered navigation
I am seeking for module for magento 2.4.5 need to create : Stock available qty range silder filter in layered navigation like price range slider. which one use for price range slider as well.
Can ...
0
votes
0
answers
25
views
Request timeout in magento site
top - 13:10:35 up 8:37, 1 user, load average: 14.94, 14.73, 14.82
Tasks: 290 total, 15 running, 274 sleeping, 0 stopped, 1 zombie
Cpu(s): 93.6%us, 5.2%sy, 0.6%ni, 0.0%id, 0.0%wa, 0.0%hi, ...
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 ...
0
votes
0
answers
22
views
How to find when was redis cache last cleared | Magento domain
How to find when was redis cache last cleared | Magento domain
is there way to find the details?
Checked redis info details, is the uptime info is linked with cache clearing. How often redis will ...
0
votes
0
answers
30
views
How to use Mandrill templates for transactional emails in Magento 2?
I am working in magneto 2 and want to use Mandrill templates for transactional emails. So emails sent through Mandrill use the templates I have set up in my Mandrill account instead of magento ...
0
votes
0
answers
27
views
How to pass product dimensions (width, height, length) to DHL in Magento 2.4?
I am using Magento 2.4.6. I want to pass the dimensions of my products (width, height, length) to DHL. Actually only weight is passed to DHL.
Is there a way to achieve this in Magento 2.4? I've ...
0
votes
0
answers
73
views
Issues with Mobile Responsive Design in Magento 2 PageBuilder
I’m experiencing a problem with Magento 2’s PageBuilder while creating CMS pages. The mobile view displayed in the PageBuilder editor looks correct, but the pages don’t appear as expected on actual ...
-1
votes
1
answer
275
views
Exception #0 (ReflectionException): Class "Auth" does not exist
i am upgrading magento 2.4.6-p3 to 2.4.7-p2
php version 8.2
on frontend iam facing:
1 exception(s):
Exception #0 (ReflectionException): Class "Auth" does not exist
Exception #0 (...
0
votes
0
answers
19
views
More than 1000 color product attribute options Issue on Page Performance - Magento 2
I need some advice on how to optimize the 1000 product attribute options in our store. For example, we have 1000 color options, but according to Magento 2, we can only assign a maximum of 100. ...
0
votes
0
answers
20
views
oauth post request is not working and getting signature invalid error
OAuth post request is not working and getting a signature invalid error.
I'm trying to create a Magento provider for airflow.
from __future__ import annotations
import base64
import hashlib
import ...
-1
votes
0
answers
19
views
Infinite Scroll Error: Syntax error, unrecognized expression
enter image description here
in this line $itemContainer = $(this.itemsContainerSelector, data).eq(0);
enter image description here
i did try to parse Html, JSON.parse(data), clean ...
0
votes
0
answers
66
views
CSP Module Issue in patch upgrade magento version 2.4.6-p6
ISSUE: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src assets.adobedtm.com *.adobe.com data: www.googleadservices.com www.google-...
-1
votes
1
answer
138
views
How do I change my DocumentRoot when using the Homebrew Apache/httpd?
I'm using the Homebrew version of Apache/httpd. I've disabled the Mac OOTB version.
If I disable/comment the following, my localhost correctly brings up index.html from /Users/lamba/www/index.html.
...
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 ...
-1
votes
1
answer
257
views
Connect PhpStorm debugger to Xdebug with Warden
I'm getting an old Magento 1 project up and running, and am hitting issues getting the debugger working. Everything is run on Docker, using Warden to manage the different containers. I've followed the ...
0
votes
0
answers
17
views
How to Implement noindex tags at scale in Magento (particularly with Wildcards)
Good afternoon,
I am wondering if there is a way to implement no index tags at scale in magento, much like you would in robots.txt with wildcard selectors. Example:
example.com/catalogsearch/*
Whereby ...
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 ...
0
votes
1
answer
19
views
Is it possible to find out when a product category was created and/or modified and which user modified and/or created it?
I've searched on the admin backend of Magento, but obviously this information is not listed. I was wondering if it perhaps exists in the log files or whether a custom module needs to be added to track ...
1
vote
1
answer
158
views
Magento 2.4.7-p1 Checkout Blank
Have a strange issue.
Upgraded to 2.4.7-p1 and the checkout is now blank. /checkout I have disabled all the modules just keeping the default modues there, changed the theme to the Magento Blank. Its ...
0
votes
1
answer
300
views
AlpineJS submit a form without refreshing the page
I am working with Hyva theme with AlpineJs on Magento and using a <form> with the needed inputs to add a product to the shopping cart.
This is part of the form code:
<form method="...
0
votes
1
answer
82
views
PHP Curl Seems to Block Server Response Resulting in a Timeout
I've been chasing my tail on this one all day. I have an instance of Adobe Commerce (formerly Magento 2) running on an AWS server. I'm using Adobe Commerce's Curl adapter to make a server-to-server ...
0
votes
1
answer
91
views
In magento how to add paypal pay button in every product page
"I've enabled the 'Display on Product Details Page' option for PayPal in the admin portal (Store -> Configuration -> Sales -> Payment Methods -> PayPal), but the PayPal Pay button is ...
0
votes
1
answer
37
views
Magento 2 | Smile_Elasticsuite standard_edge_ngram analyzer issue
I have a product with name "Rotational". Product name attribute is set to use standard_edge_ngram analyzer. But I am not getting result for all substring from rotational.
As far as I ...
0
votes
1
answer
34
views
Setting Different Maximum Quantities for B2B and B2C Customers in Magento2
Is there a way to set different maximum quantity limits for B2B and B2C customers in Magento? For example, can B2C customers have a maximum limit of 20 items, while B2B customers have a limit of 100 ...