Skip to main content
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
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
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 not deleted user 18792

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.

1 vote

Change about routers between Magento 2.0.0-rc and Magento 2.0.0-rc2

Make sure Your/Module/etc/frontend/routes.xml looks something like this: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento …
Javier Villanueva's user avatar
0 votes
Accepted

Magento 2 : Limit to recently viewed products

The problem is that, I assume, you're adding the widget in a Static Block then adding this block in your layout so when you add the setLimit method you are technically adding the limit to this block i …
Javier Villanueva's user avatar
0 votes

Add order data to custom template on Admin magento 2

In my case it was related to xdebug, I was getting a "Maximum function nesting level of '256' reached, aborting!" error however you can only see this when you inspect the source code of the empty page …
Javier Villanueva's user avatar
2 votes

Want to trigger some event on swatch click in catalog page

You can use regular JS event listeners to bind to the swatch element. One of the least intrusive ways you can do this by doing something like this in your custom theme: requirejs-config.js var conf …
Javier Villanueva's user avatar
4 votes
Accepted

Magento 2 CE : Add child navigation items to navigation menu

Well, if you have a look at the default template for catalog.topnav block you can see that it's setup to render any child block after the menu: <nav class="navigation" data-action="navigation"> < …
Javier Villanueva's user avatar
2 votes
Accepted

Extends constructor

This class constructor can be extended like any other PHP class constructor, just make sure to pass the same parameters that the extended \Magento\Customer\Block\Account\Dashboard\Info class is using. …
Javier Villanueva's user avatar
1 vote

How to get processed email template using template id in Magento 2?

To do the equivalent in Magento 2 you need to use the \Magento\Framework\Mail\Template\TransportBuilder class, as a very simplified example: class Email { protected $_storeManager; protected …
Javier Villanueva's user avatar
2 votes

How to show session messages at front end in magento 2 beta

Have you tried returning your last line of the code? return $resultRedirect->setPath($base_path); The actual addError function looks fine unless the $SomeMessage variable is empty, have you checked …
Javier Villanueva's user avatar
1 vote
Accepted

Remove childrens and items via Observer

As Amit mentioned, checkout blocks are not regular Magento blocks but Ui Components so the way to remove them is different. The easiest way would be to use a layout xml file, so removing the "progres …
Javier Villanueva's user avatar