Skip to main content

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
0 votes
0 answers
4 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
68 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
0 answers
7 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: ...
1 vote
2 answers
2k views

Magento2 extension: add link to product grid

I'm developing extension for magento 2.1.3 ce. I want to add a link to each product in the products grid in admin-panel: I want to have a link in this column, how to change my extension to have a ...
0 votes
2 answers
41 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 ...
1 vote
2 answers
778 views

How do I send multiple query parameters to the api?

I'm calling the API to get a list of shipments but I can't seem to page through the results. The API call is successful with only one query parameter but when I call it with two query parameters, I ...
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 ...
1 vote
2 answers
2k views

Is there any way to refresh customer access tokens in magento 2

In Magento 2, customer tokens expire after an hour and the user is forced to login again. Is there a way to refresh the token? The docomentation of mangeto does not specify such a mechanism. I am ...
0 votes
1 answer
6k views

Magento 2 after apply coupon code does not apply other cart rules

I am using Magento 2 with the Amasty_Promo module. And this module allow to add some promo/free gifts in the cart against some cart rules.Test case is like this If my cart have some free/promo items ...
0 votes
1 answer
41 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
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
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
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
2 answers
825 views

Override _prepareSpecificInformation method of \Magento\Payment\Block\Info\Cc class

I want to override _prepareSpecificInformation method of the Magento\Payment\Block\Info\Cc class This is Core class. vendor/magento/module-payment/Block/Info/Cc.php <?php namespace Magento\Payment\...

15 30 50 per page
1
2 3 4 5
340