Skip to content

Configure Debug Logging Type

As Magento throws info into system.log and debug.log I can see 3 different types Is it possible to disable main.INFO and main.DEBUG while keeping main.CRITICAL to avoid large file size for logging files.

how to enable/disable custom attribute showing on product page

I created an attribute switch, but how do I get it to work? Also I created an attribute – which I want enable/disable <?php namespace ivanProductAtrrSetupPatchData; use MagentoCatalogModelProduct; use MagentoCatalogSetupCategorySetup; use MagentoEavModelEntityAttributeScopedAttributeInterface; use MagentoFrameworkSetupPatchDataPatchInterface; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoCatalogSetupCategorySetupFactory; class AddProductAtrrEnableAttribute… Read More »how to enable/disable custom attribute showing on product page

No grouped items on OrderRepositoryInterface

I try to get all products items from MagentoSalesApiOrderRepositoryInterface but i get simples products instead of grouped product. Everything is right with configurables $criteria = $this->searchCriteriaBuilder ->addFilter(‘created_at’, $from, ‘gteq’) ->addFilter(‘created_at’, $to, ‘lteq’) ->addFilter(‘store_id’, $storeId,’eq’) ->addFilter(‘status’, $status,’eq’) ->create(); $orderResult = $this->orderRepository->getList($criteria);… Read More »No grouped items on OrderRepositoryInterface