Skip to content

magento man

Upgrade to Magento 2.4.7 error in module-payment-services-base

After upgrading from Magento 2.4.6 to 2.4.7 I receive the following error, everytime I try to access to payment method configuration (Stores -> Configuration -> Sales -> Payment Methods): Exception: Warning: Undefined array key “children” in /var/www/html/vendor/magento/module-payment-services-base/Plugin/MovePaymentMethods.php on line 66… Read More »Upgrade to Magento 2.4.7 error in module-payment-services-base

switcherConfig not working with tab layout but works with collapsible

I am trying to add a switcherConfig on one of my ui component field. Its a simple show/hide rule based on value of one field. <settings> <switcherConfig> <rules> <rule name=”0″> <value>0</value> <actions> <action name=”0″> <target>my_form.my_form.fieldset.target_field</target> <callback>hide</callback> </action> </actions> </rule> <rule… Read More »switcherConfig not working with tab layout but works with collapsible

magento246: getting wrong permission for category?

I have set category permission to deny for non-logged-in users and in the database values are saved accordingly. but when I search product on front end it shows the wrong permission. MagentoCatalogPermissionsObserverApplyProductPermissionOnCollectionAfterLoadObserver any idea?

Magento 2 render custom template same as Magento_CatalogWidget::product/widget/content/grid.phtml by from ajax controller

I’m trying to render products the same as Magento_CatalogWidget::product/widget/content/grid.phtml displaying. I have created a custom ajax controller. $productCollection->addAttributeToSelect(‘*’); $productCollection->setPageSize(10); $productCollection->load(); $block = $layout->createBlock(‘VendorModuleBlockProductProductsList’)->setTemplate(‘Vendor_Module::product/widget/content/grid.phtml’) ->setProductCollection($productCollection); $html = $block->toHtml(); $result = $this->resultFactory->create(MagentoFrameworkControllerResultFactory::TYPE_RAW); $result->setContents($html); return $result; In Ajax response, I get the below… Read More »Magento 2 render custom template same as Magento_CatalogWidget::product/widget/content/grid.phtml by from ajax controller