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 48282

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.

3 votes

How to get price html in magento 2

Block do not longer have method getPriceHtml. You have to pass by another block to render a price, here the doc. As you can see you have to make the following call into your block or template: $this …
Scorsi's user avatar
  • 73
1 vote
1 answer
369 views

Magento2 - Can't get Orders from Block

I'm trying to extract some datas from magento. Here, the orders. I search on the net and I don't understand why I always got null orders. I have a Block like this: namespace TATA\TOTO\Block\Extracti …
Scorsi's user avatar
  • 73
2 votes
Accepted

Magento2 - Impossible to get widget configuration

Ok, I found the error. It's not possible to reach _data from the constructor (even if you execute the parent before). So you have to create a function wich will initialize your widget options and cal …
Scorsi's user avatar
  • 73
1 vote
1 answer
4k views

Magento2 - Impossible to get widget configuration

I'm developing a module with a widget. I make my own widget.xml following some differents guide in the net. But, I've configured the widget from the back-office and I can't retrieve the widget data. …
Scorsi's user avatar
  • 73