Skip to content

magento man

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