skip to Main Content

Is there a way to fetch custom filters for a particular category in Magento 2 using Rest api?

I am using the url below to fetch the products in a particular category and it works fine. /rest/default/V1/products?searchCriteria[filterGroups][0][filters][0][field]=category_id&searchCriteria[filterGroups][0][filters][0][value]=262&searchCriteria[filterGroups][0][filters][0][conditionType]=eq&searchCriteria[filterGroups][1][filters][0][field]=visibility&searchCriteria[filterGroups][1][filters][0][value]=4&searchCriteria[filterGroups][1][filters][0][conditionType]=eq&searchCriteria[pageSize]=10&searchCriteria[currentPage]=0 The only issue is that I would like to show filters based on the categories selected. For eg a price filter…

VIEW QUESTION

I get the error when run "composer update" in Magento ver. 2.3.3, PHP 7.3.15

I get the error when run "composer update" in Magento ver. 2.3.3, PHP 7.3.15 Fatal error: Uncaught TypeError: Return value of MagentoInventoryComposerInstallerPlugin::initModuleDeployment() must be an instance of MagentoInventoryComposerInstallervoid, none returned in /home/jesperpu/public_html/vendor/magento/inventory-composer-installer/src/Plugin.php:69 Stack trace: 0 [internal function]: MagentoInventoryComposerInstallerPlugin->initModuleDeployment(Object(ComposerScriptEvent)) 1 phar:///home/jesperpu/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php(164):…

VIEW QUESTION
Back To Top
Search