You may also like
Installed several time for 246 and 245 also. The M2 installation and DB was cleared before every time. Just 46 products in […]
public function getProductCollection() { $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $filterableAttributes = $objectManager->create(MagentoCatalogModelLayerCategoryFilterableAttributeList::class); $attributes = $filterableAttributes->getList(); $price=$this->getRequest()->getParam(‘price’); $cat=$this->getRequest()->getParam(‘cat’); $sortby=$this->getRequest()->getParam(‘product_list_order’); if (empty($sortby)) { $sortby=’position’; } $listdesc=$this->getRequest()->getParam(‘product_list_dir’); […]
I created a new template var using email_order_set_template_vars_before observer and it works when I send email new order through the Magento admin. […]
Does anyone have complete knowledge about magento design patterns with their examples if yes kindly share the reference?