Questions tagged [magento2]
Magento 2 is an eCommerce project facilitating the improvement of Magento Core products. Written in PHP-Zend Framework. Available under both open-source and commercial licenses via Adobe Commerce.
magento2
5,090
questions
0
votes
0
answers
5
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 ...
0
votes
0
answers
16
views
Docker Container for MariaDB, I am getting "bind: address already in use" error message [duplicate]
I am trying to setup a new Magento 2 local environment with Docker and the MariaDB container will not start and I get the following message.
"Error response from daemon: Ports are not available: ...
0
votes
2
answers
38
views
Magento 2: override .phtml file in a custome module
I am new to Magento 2 and I'm not quite understand its structure yet. I'm using its sample data to investigate code. I want to override a .phtml file by using a custome module. The file I want to ...
0
votes
1
answer
25
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 ...
0
votes
1
answer
39
views
after upgrade scripts on checkout not loading
After I upgrade to magento 2.4.7-p1, on checkout page scripts are not loading.
On any other page the url from requirejs is
https://app.exampleproject.test/static/frontend/Mgs/claue_child/pl_PL/jquery....
0
votes
0
answers
13
views
Issue with tests generating (magento. mftf)
mftf is new experience for me and sry if this question is to lamer
When i execute the following command
vendor/bin/mftf generate:tests
the following result is appears:
Warning: DOMXPath::query(): ...
0
votes
0
answers
65
views
Magento 2.4.5-p8 with CSP on scripts inserted by Google Tag Manager
We're updating our Magento from 2.4.5-p7 to 2.4.5-p8.
As you know, in Magento 2.4.5-p8 the CSP on the checkout page is now restrict mode instead of report-only.
We know now that the scripts inserted ...
0
votes
2
answers
36
views
Magento 2 after upgrade
I have upgraded magento from 2.4.3-p2 to 2.4.7-p1.
I did it on local machine using docker/warden instance.
I use opensearch and admin shows that I`m connected.
I did
s:up,c:c,c:f, static:content:...
0
votes
0
answers
7
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 ...
0
votes
0
answers
13
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`.`...
0
votes
0
answers
36
views
Disable customer shipping adresses if it not belong from US magento2
I want to Disable shipping adresses if it's not matched with usa country or shipping origin country on checkout page magento2
I want to know how we can overwrite knockout file related to this task in ...
0
votes
1
answer
27
views
How to display item count in menu of magento2 admin?
in the magento2 admin side, I want to display the records count if I have 5 records in operations the 5 will be displayed in order in the menu, I have multiple items in the menu. Each record will show ...
-1
votes
0
answers
28
views
Add id href to url to Magento 2 php attribute
in Magento 2 I am getting a product link from an attribute like so
<?= $_product->getData('ecc_related_documents_synced') ? '<a href='.$_product->getData('ecc_related_documents_synced').' &...
0
votes
1
answer
38
views
Magento deprecated \Magento\Framework\App\Action\Action
Magento 2.4 deprecates class \Magento\Framework\App\Action\Action
and suggests using \Magento\Framework\App\ActionInterface.
But what about dispatch() method?
I need to do some checks in controller (e....
0
votes
0
answers
20
views
venia-ui- Magento PWA
I was asked to update venia/ui in my project.
I saw that there are lots of error in the move from version 7 to newest version so I decided to update for version 9.2.0 which is a version I have in ...