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

Preference in Mysql resultset – Magento

While executing the below query in Mysql I am getting multiple records. SELECT * FROM catalog_product_entity_int WHERE attribute_id = 99 and row_id = 378050 +----------+--------------+----------+--------+-------+ | value_id | attribute_id | store_id | row_id | value | +----------+--------------+----------+--------+-------+ | 12101931 |…

VIEW QUESTION
Back To Top
Search