Skip to content

magento man

Magento 2.4.6. Unable to output multiple data in json format

Unfortunately, I unable to output multiple objects when I send a request to my API endpoint. Here’s my code: appcodeDevRestApiModelApiProductRepository.php <?php namespace DevRestApiModelApi; use DevRestApiApiProductRepositoryInterface; use DevRestApiApiDataProductInterface; use MagentoCatalogModelResourceModelProductCollectionFactory; use MagentoStoreModelStoreManagerInterface; use MagentoFrameworkAppConfigScopeConfigInterface; use MagentoFrameworkAppRequestInterface; use MagentoFrameworkControllerResultJsonFactory; /** * Class… Read More »Magento 2.4.6. Unable to output multiple data in json format

How to show category image?

The category image is not visible on the description page. How can I display it on the page? appdesignfrontend[base][theme]Magento_Catalogtemplatescategorydescription.phtml

Magento 2 InsertForm component in to the UI form component not show form buttons

I added form to admin modal with InsertForm UI component based on documentation. https://developer.adobe.com/commerce/frontend-core/ui-components/components/insert-form/ Unfortunately this not show the form buttons. If I change the InsertForm component’s renderUrl param to mui/index/render_handle as writes the documentation, the form not show. VendorOrderMapviewadminhtmlui_componentorder_map_form.xml… Read More »Magento 2 InsertForm component in to the UI form component not show form buttons