Joined March 2021
57 Photos and videos
Did you know it's possible to show additional content to Admin users by using ACL resource ? 👇 #Magento #AdobeCommerce
1
1
5
Add aclResource property to your XML like below.
2
What is Modifier Class ? 🧵 Modifier class used when static declaration in XML configuration files are not suitable or sufficient for tasks. It’s done in three easy steps 👇
1
1
3⃣ Create a modifier Pool for your DataProvider To use your modifier, add a dependency on \Magento\Ui\DataProvider\Modifier\PoolInterface  to your UI component data provider.
1
Here is how to apply Quality Patches 👐 #Magento #AdobeCommerce
1
4
You can see quality patches here devdocs.magento.com/quality-…

1
Inheritance in controllers should be avoided in favor of composition #Magento #AdobeCommerce
1
1
10
Magento now. recommends OpenSearch instead Elasticsearch 👇 ". Adobe Commerce and Magento Open Source versions 2.4.4, 2.4.3-p2, and 2.3.7-p3 support the OpenSearch service" devdocs.magento.com/cloud/pr…

2
Product sorting logic changes depends on whether search attribute is used on #Magento #GraphQL requests. Check following example 👇
1
1
4
👀 Products query sort attribute devdocs devdocs.magento.com/guides/v…

i18n 🔄 Magento 2 has a command to collect translations phrases to a csv file so you don't miss any translations. Let's see how i18n:collect-phrases command is used 👇
2
#Magento uses #GraphQL inline fragments to use specific values for particular types. `... on {TypeName}` syntax is used for inline fragments. You can see the example below.
1
2
This #GraphQL request returns specific values in case product type is ConfigurableProduct.
1
GraphQL allows you to request __typename, a meta field, at any point in a query to get the name of the object type at that point.
1
📨MessageManager lets you do use your own template on your messages. Follow the steps : - addComplexSuccessMessage - use MessageConfigurationsPool in di.xml - add your phtml template file
1
5
💿When a module removed/installed via composer it's automatically removed from /added to config.php after setup upgrade command. 'bin/magento module:enable' is not needed. #DailyMagentoTips #Magento #AdobeCommerce
1
1
2
Daily Magento Tips retweeted
Use these methods where you to retrieve config 🟠 isSetFlag is to retrieve boolean config values 🟠 getValue to retrieve any value (returns mixed)
1