Skip to content

magento man

Magento 2 + Add inlineEdit feature in related products grid on admin product edit page

I want to add an inlineEdit feature same as admin customer grid, in related products grid on admin product edit page. For that I extended MagentoCatalogUiDataProviderProductFormModifierRelated class and overridden getGrid() function in following way: <?php class DisplayProductLinksAdmin extends MagentoCatalogUiDataProviderProductFormModifierRelated {… Read More »Magento 2 + Add inlineEdit feature in related products grid on admin product edit page

How to print custom attribute on Product listing page?

my catalog_category_view.xml </body> my custom_attribte.phtml getProduct(); $attrData = $product->getData(‘feature’); $blockTitle = $this->getData(‘title’); if ($attrData !== “”) : ?> <div class=”product-full-width-section”> <h2 class=”product-section-title”><?= $blockTitle; ?></h2> <?php echo $attrData; ?> </div>

Below code for PLP page Sort-By Price Low-High & High-Low working properly in M2.3.6 EE but not in M2.4.5 EE , any solution?

Lokesh/CatalogExtended/etc/di.xml <?xml version=”1.0″ ?> <type name=”MagentoCatalogBlockProductProductListToolbar”> <plugin disabled=”false” name=”Lokesh_CatalogExtended_Block_Toolbar” sortOrder=”10″ type=”LokeshCatalogExtendedPluginCatalogBlockToolbar”/> </type> <type name=”MagentoCatalogModelConfig”> <plugin disabled=”false” name=”Lokesh_CatalogExtended_Model_Config” sortOrder=”11″ type=”LokeshCatalogExtendedPluginCatalogModelConfig”/> </type> </config> Lokesh/CatalogExtended/Plugin/Catalog/Block/Toolbar.php namespace LokeshCatalogExtendedPluginCatalogBlock; class Toolbar { public function aroundSetCollection( MagentoCatalogBlockProductProductListToolbar $subject, Closure $proceed, $collection ) { $currentOrder = $subject->getCurrentOrder();… Read More »Below code for PLP page Sort-By Price Low-High & High-Low working properly in M2.3.6 EE but not in M2.4.5 EE , any solution?

Automatically create Integration

is there a “new” way to create integrations automatically? Since my modul is gonna be tested in different environments/systems, creating integrations automatically is kind of crucial. check my code below with minor changes from https://devdocs.magento.com/guides/v2.3/get-started/create-integration.html <?php namespace VendorModulSetup; use MagentoFrameworkSetupModuleContextInterface;… Read More »Automatically create Integration