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
2,932
questions with no upvoted or accepted answers
8
votes
1
answer
1k
views
Magento 2 layered navigation no results
I have a problem with the Layered Navigation from Magento 2 in the sense that it doesn`t show me results when applying certain atribute filters. the only filter that shows me results is the price.
I ...
8
votes
2
answers
792
views
Magento 2.2.0 - fails to add bundle product
I have tried to add product with bundle type that time getting error like below.
Could not save child: "Unknown entity type: Magento\Bundle\Model\Selection\Interceptor requested"
7
votes
1
answer
1k
views
What cause Magento Cloud CLI account login keep on failing?
I set up new environment on a new computer and installed magento cloud cli. And try to login to cloud account by running magento-cloud login but the link for http://127.0.0.1:5000 always return
This ...
7
votes
2
answers
1k
views
Apply custom promo rule using observer in Magento 2
I have created new table in Magento 2, for storing custom promorules, now I have created observer for event controller_action_predispatch_checkout_cart_couponPost and inside that observer I want to ...
7
votes
4
answers
3k
views
Magento2 : Update category, URL key already exists error
I have created a new category and its not visible in navigation menu as of now.
I am adding products to it via code and its working.
Now i am editing the category to show in navigation menu, it ...
7
votes
1
answer
2k
views
Allow PDF and/or ZIP Files in Wysiwyg Editor in Magento 2
Is it possible to allow upload and link PDF/ZIP-files in wysiwyg editor in Magento 2? I found many solutions for Magento 1.x but not for Magento 2.
6
votes
0
answers
334
views
How to get mageinferno/magento2-docker-compose setup to install an extension?
Using the docker compose playbook here, I cannot figure how to then use the admin panel to install an extension.
We have the auth.json file present in our user's ~/.compose/auth.json file, and is ...
6
votes
0
answers
2k
views
Cannot debug phtml-files in Magento2 (xdebug and PhpStorm)
For a while I switched over to Magento 2, and now I came across a strange problem:
Problem:
The phtml-files are not being debugged: If I set a breakpoint at any line, the debugger does not stop ...
5
votes
1
answer
2k
views
Magento 2 - mixin for mixin
How to build mixin for already existing mixin? Is it possible at all?
I need to override a function in Vendor_Module:js/checkout-mixin that is already a mixin for Magento_Checkout:js/something
I ...
5
votes
5
answers
8k
views
Magento 2 : Display Loader While Ajax call on Column row action?
Grid xml column:
<column name='actions' class='My\Test\Ui\Component\Listing\Columns\Feeds\AdvancedActions'>
<argument name='data' xsi:type='array'>
<item name='config' ...
5
votes
1
answer
10k
views
Magento 2 custom address attribute not loading in address book in checkout page
I created a Magento Module to 2.2.4 and 2.2.3 version that add a custom attribute in Shipping Address and Customer Address. The attribute works fine when new address is created in checkout page show ...
5
votes
1
answer
6k
views
Magento2 Exception "No such entity with cartId = " on checkout when the customer is logged out
I'm developing a custom theme for Magento2 based on Luma.
So, when I open the checkout page without a customer logged I receive this exception.
Exception #0 (Magento\Framework\Exception\...
5
votes
2
answers
5k
views
Get Order List Using Customer Token - Magento 2 Rest Api
I am trying to get the order list using the below url,
GET METHOD - http://magento.local/index.php/rest/V1/orders?searchCriteria
Header: Authorization: Bearer TOKEN(Customer Token)
But its giving ...
5
votes
1
answer
3k
views
Magento 2 Rest Api - Associative Array In Request Param
I am trying to create custom Api in magneto2. Its a POST CALL, in which i am trying to send associative array like below,
{
"data": {
"testData": {
"title": "Test 01", ...
5
votes
0
answers
895
views
Magento 2 Custom Module and Webservice returns blank array
I am a newbie to magento 2x. However I tried to create a custom module and a webservice to check a customer email is exist or not. But as a result I am getting just a blank array. Here is what I have ...