skip to Main Content

Magento 2 use custom block in extended template

I want to use a block in order to get some data in a template, but it's not working. Here is my block class Question extends MagentoFrameworkViewElementAbstractBlock { protected $customerSession; public function __construct( TemplateContext $context, MagentoCustomerModelSession $customerSession ) { $this->customerSession…

VIEW QUESTION
Back To Top
Search