Skip to content

magento man

Magento 2 – Rest API error – The consumer isn’t authorized to access %resources

I am following the document to create a Rest API: https://developer.adobe.com/commerce/php/tutorials/backend/create-custom-rest-api/ and defined user roles: Generate Admin Access Token: If i try with the following API, i am getting an error: http://magento2.local/rest/V1/rest_dev/getProduct/1 Postman: What is the error? I created admin… Read More »Magento 2 – Rest API error – The consumer isn’t authorized to access %resources

Live search in frotnend ‘Your search returned no results’ and in the Admin no Unable to load data issue

I’ve installed the live search and added the API keys of Sandbox & production from the Magento My Account. Also the feed is generating without any issue below command used to generate the feeds. bin/magento saas:resync –feed productattributes bin/magento saas:resync… Read More »Live search in frotnend ‘Your search returned no results’ and in the Admin no Unable to load data issue

Magento2.4.6: Why Custom validation rule not working anymore?

In the previous Magento version, it was working Here is the code PyarayCheckoutPluginCheckoutLayoutProcessorPlugin.php <?php declare(strict_types=1); namespace PyarayCheckoutPluginCheckout; use MagentoCheckoutBlockCheckoutLayoutProcessor; use PyarayCheckoutHelperData; class LayoutProcessorPlugin { private Data $helper; public function __construct( Data $helper ) { $this->helper = $helper; } public function… Read More »Magento2.4.6: Why Custom validation rule not working anymore?