In Magento, how does a Pool differ from a Collection?

Adding a Modifier for the adminhtml Product page is done by adding it’s class to the list of Modifiers. “` // di.xml <virtualType name=”%YourNamespaceYourModuleDataProviderModifierPool%” type=”MagentoUiDataProviderModifierPool”> “` Why are these Modifies using a Pool, instead of a Collection? What is the fundamental difference between a Pool and a Collection here? It seems that the PoolInterface is …

Why use a DI virtualType without an explicit type?

From the Customize using a modifier class tutorial: <virtualType name=”MagentoCatalogUiDataProviderProductFormModifierPool”> <arguments> <argument name=”modifiers” xsi:type=”array”> <item name=”advancedInventory” xsi:type=”array”> <item name=”class” xsi:type=”string”>MagentoCatalogInventoryUiDataProviderProductFormModifierAdvancedInventory</item> <item name=”sortOrder” xsi:type=”number”>20</item> </item> </argument> </arguments> </virtualType> Why does the <virtualType> element not have a type attribute? Is it mistakenly omitted? Should the authors of that tutorial used a <type> element instead of a <virtualType> …

Malware – how to find the offending files

A client’s site apparently has js/spy.banker.kj malware on its basket/cart page. I found some code in View Source that matches code that is highlighted elsewhere as being the dodgy code – https://forum.eset.com/topic/35067-help-detecting-the-threat-jsspybankerkj-trojan/ I do not have a copy of the site locally and it is taking a while to download – I don’t have access …

dev enviroment: windows wsl2 ubuntu docker vs vmware player 17 ubuntu docker

Just a quick post as maybe you are setting up a dev enviroment for Magento 2, it always takes some time. To save someone the trouble here is my quick experience in a nutshell: use vmware player 17 ubuntu docker if you don’t want lagginess in Windows 11 and memory leaks: https://github.com/microsoft/WSL/issues/8725 For more details …

Alternative Magento Page Builder ⛳

Hi folks, Would like to share with you a alternative Page Builder Magento module, which I believe will get rid the headache of working with Magento Builder, It’s free and compatible with all stores, GitHub: https://github.com/Goomento/PageBuilder/ Feel free to use it and leave me a feedback if possible,☺️ submitted by /u/haihv433 [link] [comments]