Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 353

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

14
votes
3answers
I was wondering why it's not possible to create plugins for protected methods. There's this piece of code in the Magento\Framework\Interception\Code\Generator\Interceptor: protected function _getCla …
asked Jul 18 '16 by Bartosz Górski
1
vote
1answer
I'm trying to create new categories. My code, which is called in the admin panel, looks this way: /** @var \Magento\Catalog\Api\Data\CategoryInterface $parentCategory */ /** @var \Magento\Catalog\Api …
asked Aug 31 '16 by Bartosz Górski
1
vote
0answers
I'm trying to add a <meta name="robots" content="noindex, nofollow" /> tag on selected products. In Magento 1, this is what the custom layout update on the product edit is for, so I could just referen …
asked Dec 23 '16 by Bartosz Górski
6
votes
1answer
I created a grid using an uiComponent xml file, and for the dataProvider I provided a collection which is using JOINs with some additional tables. Because of that, I'm getting the following error whil …
asked Oct 20 '16 by Bartosz Górski
2
votes
Figured that out already. The following code needs to be placed before the code that creates a category: $this->storeManager->setCurrentStore('admin'); In case someone else has the same problem and …
answered Sep 1 '16 by Bartosz Górski
1
vote
1answer
I have a problem with product images. Although they're displaying correctly in the admin panel and on product page, for some reason they fail to load on category page. It looks like Magento can't gene …
asked May 2 '17 by Bartosz Górski
3
votes
1answer
I'm trying to intercept a controller returning a JSON object of Magento\Framework\Controller\Result\Json class. The problem is that no matter if I use a plugin or a preference to "catch" the controlle …
asked Nov 1 '15 by Bartosz Górski
0
votes
If your Full Page Cache is set to use Varnish, check if your app/etc/env.php has http_cache_hosts defined correctly. For testing purposes you can switch your Full Page Cache (on your local env, never …
answered Oct 2 '17 by Bartosz Górski